@storybook/addon-docs
Advanced tools
Comparing version 0.0.0-pr-30162-sha-fc2610f4 to 0.0.0-pr-30181-sha-2fdb0bfe
@@ -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"&¶meters[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
2198758
12378
+ Added@storybook/blocks@0.0.0-pr-30181-sha-2fdb0bfe(transitive)
+ Added@storybook/csf-plugin@0.0.0-pr-30181-sha-2fdb0bfe(transitive)
+ Added@storybook/react-dom-shim@0.0.0-pr-30181-sha-2fdb0bfe(transitive)
- Removed@storybook/blocks@0.0.0-pr-30162-sha-fc2610f4(transitive)
- Removed@storybook/csf-plugin@0.0.0-pr-30162-sha-fc2610f4(transitive)
- Removed@storybook/react-dom-shim@0.0.0-pr-30162-sha-fc2610f4(transitive)
Updated@storybook/react-dom-shim@0.0.0-pr-30181-sha-2fdb0bfe