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

@storybook/addon-controls

Package Overview
Dependencies
Maintainers
11
Versions
1452
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storybook/addon-controls - npm Package Compare versions

Comparing version 0.0.0-pr-29256-sha-cd1d83f5 to 0.0.0-pr-29267-sha-d499768c

dist/chunk-UW5BWBZO.js

8

package.json
{
"name": "@storybook/addon-controls",
"version": "0.0.0-pr-29256-sha-cd1d83f5",
"version": "0.0.0-pr-29267-sha-d499768c",
"description": "Interact with component inputs dynamically in the Storybook UI",

@@ -58,4 +58,4 @@ "keywords": [

"devDependencies": {
"@storybook/blocks": "0.0.0-pr-29256-sha-cd1d83f5",
"@storybook/icons": "^1.2.10",
"@storybook/blocks": "0.0.0-pr-29267-sha-d499768c",
"@storybook/icons": "^1.2.12",
"react": "^18.2.0",

@@ -65,3 +65,3 @@ "react-dom": "^18.2.0"

"peerDependencies": {
"storybook": "^0.0.0-pr-29256-sha-cd1d83f5"
"storybook": "^0.0.0-pr-29267-sha-d499768c"
},

@@ -68,0 +68,0 @@ "publishConfig": {

@@ -5,3 +5,3 @@ # Storybook Controls Addon

[Framework Support](https://storybook.js.org/docs/react/api/frameworks-feature-support)
[Framework Support](https://storybook.js.org/docs/configure/integration/frameworks-feature-support)

@@ -12,3 +12,3 @@ ![Screenshot](https://raw.githubusercontent.com/storybookjs/storybook/next/code/addons/controls/docs/media/addon-controls-hero.gif)

Controls is part of [essentials](https://storybook.js.org/docs/react/essentials) and so is installed in all new Storybooks by default. If you need to add it to your Storybook, you can run:
Controls is part of [essentials](https://storybook.js.org/docs/essentials) and so is installed in all new Storybooks by default. If you need to add it to your Storybook, you can run:

@@ -19,3 +19,3 @@ ```sh

Then, add following content to [`.storybook/main.js`](https://storybook.js.org/docs/react/configure/#configure-your-storybook-project):
Then, add following content to [`.storybook/main.js`](https://storybook.js.org/docs/configure#configure-your-storybook-project):

@@ -30,3 +30,3 @@ ```js

The usage is documented in the [documentation](https://storybook.js.org/docs/react/essentials/controls).
The usage is documented in the [documentation](https://storybook.js.org/docs/essentials/controls).

@@ -99,3 +99,3 @@ ## FAQs

And again, as above, this can be rewritten using [fully custom args](https://storybook.js.org/docs/react/essentials/controls#fully-custom-args):
And again, as above, this can be rewritten using [fully custom args](https://storybook.js.org/docs/essentials/controls#fully-custom-args):

@@ -131,3 +131,3 @@ ```jsx

- You're using a framework for which automatic generation [isn't supported](https://storybook.js.org/docs/react/api/frameworks-feature-support)
- You're using a framework for which automatic generation [isn't supported](https://storybook.js.org/docs/configure/integration/frameworks-feature-support)
- You're trying to generate controls for a component defined in an external library

@@ -156,3 +156,3 @@

The `argTypes` annotation (which can also be applied to individual stories if needed), gives Storybook the hints it needs to generate controls in these unsupported cases. See [control annotations](https://storybook.js.org/docs/react/essentials/controls#annotation) for a full list of control types.
The `argTypes` annotation (which can also be applied to individual stories if needed), gives Storybook the hints it needs to generate controls in these unsupported cases. See [control annotations](https://storybook.js.org/docs/essentials/controls#annotation) for a full list of control types.

@@ -182,3 +182,3 @@ It's also possible that your Storybook is misconfigured. If you think this might be the case, please search through Storybook's [Github issues](https://github.com/storybookjs/storybook/issues), and file a new issue if you don't find one that matches your use case.

Like [story parameters](https://storybook.js.org/docs/react/writing-stories/parameters), `args` and `argTypes` annotations are hierarchically merged, so story-level annotations overwrite component-level annotations.
Like [story parameters](https://storybook.js.org/docs/writing-stories/parameters), `args` and `argTypes` annotations are hierarchically merged, so story-level annotations overwrite component-level annotations.

@@ -185,0 +185,0 @@ ### How do controls work with MDX?

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