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

@storybook/addon-docs

Package Overview
Dependencies
Maintainers
12
Versions
1796
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storybook/addon-docs - npm Package Compare versions

Comparing version 0.0.0-pr-30162-sha-fc2610f4 to 0.0.0-pr-30181-sha-2fdb0bfe

2

dist/manager.js

@@ -1,1 +0,1 @@

"use strict";var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var import_react=__toESM(require("react")),import_components=require("storybook/internal/components"),import_docs_tools=require("storybook/internal/docs-tools"),import_manager_api=require("storybook/internal/manager-api"),import_blocks=require("@storybook/blocks");import_manager_api.addons.register(import_docs_tools.ADDON_ID,api=>{import_manager_api.addons.add(import_docs_tools.PANEL_ID,{title:"Code",type:import_manager_api.types.PANEL,paramKey:import_docs_tools.PARAM_KEY,disabled:parameters=>!!parameters&&typeof parameters[import_docs_tools.PARAM_KEY]=="object"&&parameters[import_docs_tools.PARAM_KEY].codePanel===!1,match:({viewMode})=>viewMode==="story",render:({active})=>{let[codeSnippet,setSourceCode]=(0,import_manager_api.useAddonState)(import_docs_tools.ADDON_ID,{source:"",format:"html"});return(0,import_manager_api.useChannel)({[import_docs_tools.SNIPPET_RENDERED]:({source,format})=>{setSourceCode({source,format})}}),import_react.default.createElement(import_components.AddonPanel,{active:!!active},import_react.default.createElement(import_blocks.Source,{code:codeSnippet.source,format:codeSnippet.format,dark:!0}))}})});
"use strict";var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));var import_react=__toESM(require("react")),import_components=require("storybook/internal/components"),import_docs_tools=require("storybook/internal/docs-tools"),import_manager_api=require("storybook/internal/manager-api"),import_blocks=require("@storybook/blocks");import_manager_api.addons.register(import_docs_tools.ADDON_ID,api=>{import_manager_api.addons.add(import_docs_tools.PANEL_ID,{title:"Code",type:import_manager_api.types.PANEL,paramKey:import_docs_tools.PARAM_KEY,disabled:parameters=>!parameters?.docs?.codePanel,match:({viewMode})=>viewMode==="story",render:({active})=>{let[codeSnippet,setSourceCode]=(0,import_manager_api.useAddonState)(import_docs_tools.ADDON_ID,{source:"",format:"html"});return(0,import_manager_api.useChannel)({[import_docs_tools.SNIPPET_RENDERED]:({source,format})=>{setSourceCode({source,format})}}),import_react.default.createElement(import_components.AddonPanel,{active:!!active},import_react.default.createElement(import_blocks.Source,{code:codeSnippet.source,format:codeSnippet.format,dark:!0}))}})});
{
"name": "@storybook/addon-docs",
"version": "0.0.0-pr-30162-sha-fc2610f4",
"version": "0.0.0-pr-30181-sha-2fdb0bfe",
"description": "Document component usage and properties in Markdown",

@@ -106,5 +106,5 @@ "keywords": [

"@mdx-js/react": "^3.0.0",
"@storybook/blocks": "0.0.0-pr-30162-sha-fc2610f4",
"@storybook/csf-plugin": "0.0.0-pr-30162-sha-fc2610f4",
"@storybook/react-dom-shim": "0.0.0-pr-30162-sha-fc2610f4",
"@storybook/blocks": "0.0.0-pr-30181-sha-2fdb0bfe",
"@storybook/csf-plugin": "0.0.0-pr-30181-sha-2fdb0bfe",
"@storybook/react-dom-shim": "0.0.0-pr-30181-sha-2fdb0bfe",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",

@@ -126,3 +126,3 @@ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",

"peerDependencies": {
"storybook": "^0.0.0-pr-30162-sha-fc2610f4"
"storybook": "^0.0.0-pr-30181-sha-2fdb0bfe"
},

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

Sorry, the diff of this file is not supported yet

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