@storybook/core
Advanced tools
Comparing version 0.0.0-pr-29424-sha-612c2fbc to 0.0.0-pr-29434-sha-c02fe507
// ../node_modules/@storybook/global/dist/index.mjs | ||
var n = (() => { | ||
var l = (() => { | ||
let e; | ||
@@ -9,19 +9,19 @@ return typeof window < "u" ? e = window : typeof globalThis < "u" ? e = globalThis : typeof global < "u" ? e = global : typeof self < "u" ? | ||
// src/core-server/presets/common-manager.ts | ||
import { addons as d } from "@storybook/core/manager-api"; | ||
var s = "static-filter"; | ||
d.register(s, (e) => { | ||
let i = Object.entries(n.TAGS_OPTIONS ?? {}).reduce( | ||
import { addons as r } from "@storybook/core/manager-api"; | ||
var a = "tag-filters", d = "static-filter"; | ||
r.register(a, (e) => { | ||
let i = Object.entries(l.TAGS_OPTIONS ?? {}).reduce( | ||
(t, o) => { | ||
let [l, r] = o; | ||
return r.excludeFromSidebar && (t[l] = !0), t; | ||
let [s, n] = o; | ||
return n.excludeFromSidebar && (t[s] = !0), t; | ||
}, | ||
{} | ||
); | ||
e.experimental_setFilter(s, (t) => { | ||
e.experimental_setFilter(d, (t) => { | ||
let o = t.tags ?? []; | ||
return ( | ||
// we can filter out the primary story, but we still want to show autodocs | ||
(o.includes("dev") || t.type === "docs") && o.filter((l) => i[l]).length === 0 | ||
(o.includes("dev") || t.type === "docs") && o.filter((s) => i[s]).length === 0 | ||
); | ||
}); | ||
}); |
@@ -168,3 +168,3 @@ import ESM_COMPAT_Module from "node:module"; | ||
More info: https://storybook.js.org/docs/react/writing-stories#default-export | ||
More info: https://storybook.js.org/docs/writing-stories#default-export | ||
`), this.name = this.constructor.name; | ||
@@ -171,0 +171,0 @@ } |
@@ -755,5 +755,6 @@ import React, { ReactNode, FC, Component, ReactElement } from 'react'; | ||
* @param {QueryParams} input - An object containing the query parameters to set. | ||
* @param {NavigateOptions} options - Options for the navigation. | ||
* @returns {void} | ||
*/ | ||
applyQueryParams: (input: QueryParams) => void; | ||
applyQueryParams: (input: QueryParams, options?: NavigateOptions) => void; | ||
} | ||
@@ -760,0 +761,0 @@ |
@@ -1199,3 +1199,3 @@ var $t = Object.create; | ||
More info: https://storybook.js.org/docs/react/writing-stories/args#setting-args-through-the-url | ||
More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url | ||
`), o), {}); | ||
@@ -1202,0 +1202,0 @@ return (0, J.stringify)(De(n), { |
@@ -275,3 +275,3 @@ import ESM_COMPAT_Module from "node:module"; | ||
code: 1, | ||
documentation: "https://storybook.js.org/docs/react/configure/images-and-assets#serving-static-files-via-storybook-configuration", | ||
documentation: "https://storybook.js.org/docs/configure/integration/images-and-assets#serving-static-files-via-storybook-configuration", | ||
message: i.dedent` | ||
@@ -293,3 +293,3 @@ Storybook encountered a conflict when trying to serve statics. You have configured both: | ||
code: 4, | ||
documentation: "https://storybook.js.org/docs/react/faq#can-i-have-a-storybook-with-no-local-stories", | ||
documentation: "https://storybook.js.org/docs/faq#can-i-have-a-storybook-with-no-local-stories", | ||
message: i.dedent` | ||
@@ -312,3 +312,3 @@ Storybook could not index your stories. | ||
"https://webpack.js.org/configuration/stats/", | ||
"https://storybook.js.org/docs/react/builders/webpack#configure" | ||
"https://storybook.js.org/docs/builders/webpack#configure" | ||
], | ||
@@ -364,3 +364,3 @@ message: i.dedent` | ||
code: 2, | ||
documentation: "https://storybook.js.org/docs/angular/faq#error-no-angularjson-file-found", | ||
documentation: "https://storybook.js.org/docs/faq#error-no-angularjson-file-found", | ||
message: i.dedent` | ||
@@ -367,0 +367,0 @@ An angular.json file was not found in the current working directory: ${o.path} |
{ | ||
"name": "@storybook/core", | ||
"version": "0.0.0-pr-29424-sha-612c2fbc", | ||
"version": "0.0.0-pr-29434-sha-c02fe507", | ||
"description": "Storybook framework-agnostic API", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19011239
500767