New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@storybook/addon-controls

Package Overview
Dependencies
Maintainers
12
Versions
1577
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 8.6.0-alpha.5 to 8.6.0-beta.0

42

dist/index.d.ts

@@ -0,3 +1,43 @@

import * as core_dist_types from 'storybook/internal/types';
import * as core_dist_csf from 'storybook/internal/csf';
declare const PARAM_KEY: "controls";
export { PARAM_KEY };
interface ControlsParameters {
/**
* Controls configuration
*
* @see https://storybook.js.org/docs/essentials/controls#parameters-1
*/
controls: {
/** Remove the addon panel and disable the addon's behavior */
disable?: boolean;
/** Disable the ability to create or edit stories from the Controls panel */
disableSaveFromUI?: boolean;
/** Exclude specific properties from the Controls panel */
exclude?: string[] | RegExp;
/**
* Show the full documentation for each property in the Controls addon panel, including the
* description and default value.
*/
expanded?: boolean;
/** Exclude only specific properties in the Controls panel */
include?: string[] | RegExp;
/**
* Preset color swatches for the color picker control
*
* @example PresetColors: [{ color: '#ff4785', title: 'Coral' }, 'rgba(0, 159, 183, 1)',
* '#fe4a49']
*/
presetColors?: Array<string | {
color: string;
title?: string;
}>;
/** Controls sorting order */
sort?: 'none' | 'alpha' | 'requiredFirst';
};
}
declare const _default: () => core_dist_types.ProjectAnnotations<core_dist_csf.Renderer>;
export { ControlsParameters, PARAM_KEY, _default as default };
'use strict';
var PARAM_KEY="controls";
Object.defineProperty(exports, '__esModule', { value: true });
var previewApi = require('storybook/internal/preview-api');
var PARAM_KEY="controls";var src_default=()=>previewApi.definePreview({});
exports.PARAM_KEY = PARAM_KEY;
exports.default = src_default;

6

package.json
{
"name": "@storybook/addon-controls",
"version": "8.6.0-alpha.5",
"version": "8.6.0-beta.0",
"description": "Interact with component inputs dynamically in the Storybook UI",

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

"devDependencies": {
"@storybook/blocks": "8.6.0-alpha.5",
"@storybook/blocks": "8.6.0-beta.0",
"@storybook/icons": "^1.2.12",

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

"peerDependencies": {
"storybook": "^8.6.0-alpha.5"
"storybook": "^8.6.0-beta.0"
},

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

Sorry, the diff of this file is not supported yet

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