
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@class101/styled-system__edit
Advanced tools
**WIP** Debugging tool for live editing Styled System theme objects
WIP Debugging tool for live editing Styled System theme objects
Currently only works with Emotion
npm i @class101/styled-system__edit
import React from 'react'
import { ThemeProvider } from 'emotion-theming'
import { EditProvider, ThemeControls } from '@class101/styled-system__edit'
import theme from './theme'
export default props =>
<ThemeProvider theme={theme}>
<EditProvider>
{props.children}
<ThemeControls />
</EditProvider>
</ThemeProvider>
EditProvider a stateful theme provider with context for live editing – receives theme from parent contextThemeControls a full, batteries-included theme editing formFieldSet renders fields for part of a theme objectField renders a form field for a single value from the theme object// example using FieldSet
import React from 'react'
import { ThemeProvider } from 'emotion-theming'
import { EditProvider, ThemeControls } from '@class101/styled-system__edit'
import theme from './theme'
export default props =>
<ThemeProvider theme={theme}>
<EditProvider>
{props.children}
<FieldSet name='colors' />
<FieldSet name='fontSizes' />
</EditProvider>
</ThemeProvider>
// example using Field
import React from 'react'
import { ThemeProvider } from 'emotion-theming'
import { EditProvider, ThemeControls } from '@class101/styled-system__edit'
import theme from './theme'
export default props =>
<ThemeProvider theme={theme}>
<EditProvider>
{props.children}
<FieldSet name='colors.text' />
<FieldSet name='colors.background' />
</EditProvider>
</ThemeProvider>
FieldSetProps
name (string) dot-notation key path for theme objecttype (string) type prop for child Field components (see below)ignore (array) array of key names to omit from the formFieldProps
name (string) dot-notation key path for theme objecttype (string | 'number', 'select', or 'color') type of form field to renderoptions (array) array of options to render for select type fieldsrender (function) render prop for custom field UIMIT License
FAQs
**WIP** Debugging tool for live editing Styled System theme objects
The npm package @class101/styled-system__edit receives a total of 0 weekly downloads. As such, @class101/styled-system__edit popularity was classified as not popular.
We found that @class101/styled-system__edit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 17 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
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.