@storybook/html 7.0.0-alpha.11 → 7.0.0-alpha.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/config.mjs CHANGED
@@ -1 +1 @@
1
- "use strict";import{a as t,b as f}from"./chunk-FVE7GUDN.mjs";import{SourceType as D}from"@storybook/docs-tools";import{SNIPPET_RENDERED as m,SourceType as a}from"@storybook/docs-tools";import{addons as i,useEffect as p}from"@storybook/addons";import{dedent as d}from"ts-dedent";function l(e){let r=e?.parameters.docs?.source,o=e?.parameters.__isArgsStory;return r?.type===a.DYNAMIC?!1:!o||r?.code||r?.type===a.CODE}t(l,"skipSourceRender");function S(e){return d(e)}t(S,"defaultTransformSource");function y(e,r){return((r.parameters.docs??{}).transformSource??S)(e,r)}t(y,"applyTransformSource");function c(e,r){let o=r?.parameters.docs?.source?.excludeDecorators?r.originalStoryFn(r.args,r):e(),s;return l(r)||(typeof o=="string"?s=o:o instanceof Element&&(s=o.outerHTML),s&&(s=y(s,r))),p(()=>{s&&i.getChannel().emit(m,r.id,s)}),o}t(c,"sourceDecorator");var g=[c],u={docs:{inlineStories:!0,transformSource:void 0,source:{type:D.DYNAMIC,language:"html",code:void 0,excludeDecorators:void 0}}};var I={framework:"html",...u};export{g as decorators,I as parameters,f as renderToDOM};
1
+ import{a as t,b as f}from"./chunk-FVE7GUDN.mjs";import{SourceType as D}from"@storybook/docs-tools";import{SNIPPET_RENDERED as m,SourceType as a}from"@storybook/docs-tools";import{addons as i,useEffect as p}from"@storybook/addons";import{dedent as d}from"ts-dedent";function l(e){let r=e?.parameters.docs?.source,o=e?.parameters.__isArgsStory;return r?.type===a.DYNAMIC?!1:!o||r?.code||r?.type===a.CODE}t(l,"skipSourceRender");function S(e){return d(e)}t(S,"defaultTransformSource");function y(e,r){return((r.parameters.docs??{}).transformSource??S)(e,r)}t(y,"applyTransformSource");function c(e,r){let o=r?.parameters.docs?.source?.excludeDecorators?r.originalStoryFn(r.args,r):e(),s;return l(r)||(typeof o=="string"?s=o:o instanceof Element&&(s=o.outerHTML),s&&(s=y(s,r))),p(()=>{s&&i.getChannel().emit(m,r.id,s)}),o}t(c,"sourceDecorator");var g=[c],u={docs:{inlineStories:!0,transformSource:void 0,source:{type:D.DYNAMIC,language:"html",code:void 0,excludeDecorators:void 0}}};var I={framework:"html",...u};export{g as decorators,I as parameters,f as renderToDOM};
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- "use strict";import{a as t,b as c}from"./chunk-FVE7GUDN.mjs";import a from"global";var{window:p}=a;p.STORYBOOK_ENV="HTML";import{start as s}from"@storybook/core-client";var n="html",o=s(c),f=t((r,i)=>o.clientApi.storiesOf(r,i).addParameters({framework:n}),"storiesOf"),x=t((...r)=>o.configure(n,...r),"configure"),A=o.clientApi.addDecorator,O=o.clientApi.addParameters,R=o.clientApi.clearDecorators,g=o.clientApi.setAddon,w=o.forceReRender,D=o.clientApi.getStorybook,b=o.clientApi.raw;module?.hot?.decline();export{A as addDecorator,O as addParameters,R as clearDecorators,x as configure,w as forceReRender,D as getStorybook,b as raw,g as setAddon,f as storiesOf};
1
+ import{a as t,b as c}from"./chunk-FVE7GUDN.mjs";import a from"global";var{window:p}=a;p.STORYBOOK_ENV="HTML";import{start as s}from"@storybook/core-client";var n="html",o=s(c),f=t((r,i)=>o.clientApi.storiesOf(r,i).addParameters({framework:n}),"storiesOf"),x=t((...r)=>o.configure(n,...r),"configure"),A=o.clientApi.addDecorator,O=o.clientApi.addParameters,R=o.clientApi.clearDecorators,g=o.clientApi.setAddon,w=o.forceReRender,D=o.clientApi.getStorybook,b=o.clientApi.raw;module?.hot?.decline();export{A as addDecorator,O as addParameters,R as clearDecorators,x as configure,w as forceReRender,D as getStorybook,b as raw,g as setAddon,f as storiesOf};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/html",
3
- "version": "7.0.0-alpha.11",
3
+ "version": "7.0.0-alpha.16",
4
4
  "description": "Storybook HTML renderer",
5
5
  "keywords": [
6
6
  "storybook"
@@ -50,12 +50,12 @@
50
50
  "prepare": "esrun ../../scripts/prepare/bundle.ts"
51
51
  },
52
52
  "dependencies": {
53
- "@storybook/addons": "7.0.0-alpha.11",
54
- "@storybook/core-client": "7.0.0-alpha.11",
53
+ "@storybook/addons": "7.0.0-alpha.16",
54
+ "@storybook/core-client": "7.0.0-alpha.16",
55
55
  "@storybook/csf": "0.0.2--canary.4566f4d.1",
56
- "@storybook/docs-tools": "7.0.0-alpha.11",
57
- "@storybook/preview-web": "7.0.0-alpha.11",
58
- "@storybook/store": "7.0.0-alpha.11",
56
+ "@storybook/docs-tools": "7.0.0-alpha.16",
57
+ "@storybook/preview-web": "7.0.0-alpha.16",
58
+ "@storybook/store": "7.0.0-alpha.16",
59
59
  "core-js": "^3.8.2",
60
60
  "global": "^4.4.0",
61
61
  "react": "16.14.0",
@@ -82,5 +82,5 @@
82
82
  ],
83
83
  "platform": "browser"
84
84
  },
85
- "gitHead": "688d338903e84a7e83cb104472e868e734399f65"
85
+ "gitHead": "df30e7db2b251418af106345e5722477f057ec36"
86
86
  }