{"_id":"@alexgorbatchev/storybook-parameters","_rev":"11-243749da074dd09ffd71f814c1950b4c","name":"@alexgorbatchev/storybook-parameters","dist-tags":{"latest":"10.0.0"},"versions":{"1.0.0":{"name":"@alexgorbatchev/storybook-parameters","version":"1.0.0","keywords":["storybook","parameters","test"],"license":"MIT","_id":"@alexgorbatchev/storybook-parameters@1.0.0","maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"homepage":"https://github.com/alexgorbatchev/storybook-parameters#readme","bugs":{"url":"https://github.com/alexgorbatchev/storybook-parameters/issues"},"dist":{"shasum":"14990c7b8b8e8b6ca1100770e0e48f221b72751d","tarball":"https://registry.npmjs.org/@alexgorbatchev/storybook-parameters/-/storybook-parameters-1.0.0.tgz","fileCount":11,"integrity":"sha512-mGH4VrQJEnMwoVCxRLQ0bfkzDayrKNHmUbOco5qM01FCX4bLuYeyOtHbeDQ23wJWy2g1CDTf9w0VUk98fapePQ==","signatures":[{"sig":"MEUCIHyZxtYIQuaGHZlGV8dwYTGCk/najbogqULa5g9DKMMmAiEAsi6+TaMIo9l8ty8JcFDJgGunJr+TwtU/xsBKVAd9O0Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5881},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","authors":["Alex Gorbatchev <alex.gorbatchev@gmail.com>"],"gitHead":"113095f477e4f85b019ed94976614e0ec6035df6","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","storybook":"NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"repository":{"url":"git+https://github.com/alexgorbatchev/storybook-parameters.git","type":"git"},"_npmVersion":"9.5.1","description":"TypeScript typings for Storybook parameters","directories":{},"_nodeVersion":"18.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"auto":"^11.0.4","react":"^18.2.0","prettier":"^3.1.0","react-dom":"^18.2.0","@babel/cli":"^7.23.4","typescript":"^5.3.2","@babel/core":"^7.23.3","babel-loader":"^9.1.3","concurrently":"^8.2.2","@storybook/react":"^6.4.0","@babel/preset-env":"^7.23.3","@babel/preset-react":"^7.23.3","@babel/preset-typescript":"^7.23.3","@storybook/addon-essentials":"^6.4.0"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0","react-dom":"^16.8.0 || ^17.0.0 || ^18.0.0","@storybook/react":">= 6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-parameters_1.0.0_1701214080046_0.9723300045065688","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@alexgorbatchev/storybook-parameters","version":"2.0.0","keywords":["storybook","parameters","test"],"license":"MIT","_id":"@alexgorbatchev/storybook-parameters@2.0.0","maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"homepage":"https://github.com/alexgorbatchev/storybook-parameters#readme","bugs":{"url":"https://github.com/alexgorbatchev/storybook-parameters/issues"},"dist":{"shasum":"fc62a67e1ed11411a1ec8301f9f348446afe8234","tarball":"https://registry.npmjs.org/@alexgorbatchev/storybook-parameters/-/storybook-parameters-2.0.0.tgz","fileCount":11,"integrity":"sha512-Qw9kjhuo22Aq9DGxDJohS26hRofzfnPukLL3aZZXthH8iH1hdKN+zlkN2mThhrgJmgimmpPCAdcpriBe7VOIIg==","signatures":[{"sig":"MEYCIQC3UElXLvCQoacGRom4WYF574oYzXGVqqkHJPvfG7DBbQIhAMLcdI4Q6PWtc/yfgKrjT69AXYwDdEqkkJOMYiqyCJCp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6045},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","authors":["Alex Gorbatchev <alex.gorbatchev@gmail.com>"],"gitHead":"0330d782823fc30114cac0d829f66df50e559e2b","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","storybook":"NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"repository":{"url":"git+https://github.com/alexgorbatchev/storybook-parameters.git","type":"git"},"_npmVersion":"9.5.1","description":"TypeScript typings for Storybook parameters","directories":{},"_nodeVersion":"18.16.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"auto":"^11.1.6","react":"^18.3.1","prettier":"^3.2.5","react-dom":"^18.3.1","@babel/cli":"^7.24.6","typescript":"^5.4.5","@babel/core":"^7.24.6","babel-loader":"^9.1.3","concurrently":"^8.2.2","@storybook/react":"^8.1.5","@babel/preset-env":"^7.24.6","@babel/preset-react":"^7.24.6","@babel/preset-typescript":"^7.24.6","@storybook/addon-essentials":"^8.1.5"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0","react-dom":"^16.8.0 || ^17.0.0 || ^18.0.0","@storybook/react":">= 8.0.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"@storybook/react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-parameters_2.0.0_1717096396497_0.24163567102004269","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@alexgorbatchev/storybook-parameters","version":"2.1.0","keywords":["storybook","parameters","test"],"license":"MIT","_id":"@alexgorbatchev/storybook-parameters@2.1.0","maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"homepage":"https://github.com/alexgorbatchev/storybook-parameters#readme","bugs":{"url":"https://github.com/alexgorbatchev/storybook-parameters/issues"},"dist":{"shasum":"d67b76be7479b2af6b3e37f6b5eee42392acc310","tarball":"https://registry.npmjs.org/@alexgorbatchev/storybook-parameters/-/storybook-parameters-2.1.0.tgz","fileCount":14,"integrity":"sha512-xeGvC+jiATxz7xaNtfTFgYCnnf77/yKjIj2m80UW8Cm6+F3IroarrZQD4vlvDWhgy0ndYoAlqiBVhnoV9gOeeA==","signatures":[{"sig":"MEUCIEC+cXC2XJrIywrX0S4Ke27y4pdE9VM12CIXazviYBOCAiEAwj+x796o9eZvnU4/4e904Xp8FUFKW2kg2XHx/o1xWy8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11504},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","authors":["Alex Gorbatchev <alex.gorbatchev@gmail.com>"],"gitHead":"8cc41ade997e64fdbe5839a3d1127a88727477a2","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","storybook":"NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"repository":{"url":"git+https://github.com/alexgorbatchev/storybook-parameters.git","type":"git"},"_npmVersion":"9.5.1","description":"TypeScript typings for Storybook parameters","directories":{},"_nodeVersion":"18.16.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"auto":"^11.1.6","react":"^18.3.1","prettier":"^3.2.5","react-dom":"^18.3.1","@babel/cli":"^7.24.6","typescript":"^5.4.5","@babel/core":"^7.24.6","babel-loader":"^9.1.3","concurrently":"^8.2.2","@storybook/react":"^8.1.5","@babel/preset-env":"^7.24.6","@babel/preset-react":"^7.24.6","@babel/preset-typescript":"^7.24.6","@storybook/addon-essentials":"^8.1.5"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0","react-dom":"^16.8.0 || ^17.0.0 || ^18.0.0","@storybook/react":">= 8.0.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"@storybook/react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-parameters_2.1.0_1717114364284_0.5211850920070522","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@alexgorbatchev/storybook-parameters","version":"3.0.0","keywords":["storybook","parameters","react","typescript"],"license":"MIT","_id":"@alexgorbatchev/storybook-parameters@3.0.0","maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"homepage":"https://github.com/alexgorbatchev/storybook-parameters#readme","bugs":{"url":"https://github.com/alexgorbatchev/storybook-parameters/issues"},"dist":{"shasum":"e35a4f641f7eb6c03b108524fbfe4fca5983e8e5","tarball":"https://registry.npmjs.org/@alexgorbatchev/storybook-parameters/-/storybook-parameters-3.0.0.tgz","fileCount":5,"integrity":"sha512-E2Sh+Qb46WSrj7pYV20JSXXwbDulWNqHWVd0CPyAjRh26oKMGYRcnyev9p/L1DyDu/NbMNftKtWXQdoUJMmiVQ==","signatures":[{"sig":"MEQCIHSLMB/ldNzFpAdj1PqsIb1DELrot0ohK1GgNxSFL9EJAiAUnu6ObNk3iIiGA+8NB7xS7CUDQnJQfOUis8WQKFescQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4071},"main":"dist/index.mjs","types":"dist/index.d.mts","module":"dist/index.mjs","authors":["Alex Gorbatchev <alex.gorbatchev@gmail.com>"],"exports":{".":{"types":"./dist/index.d.mts"},"./package.json":"./package.json"},"gitHead":"53e65706a627d8dbd3dcde0d39dcbbe08480aa9e","scripts":{"build":"tsup"},"_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"storybook":{"supportedFrameworks":["react"]},"repository":{"url":"git+https://github.com/alexgorbatchev/storybook-parameters.git","type":"git"},"_npmVersion":"9.5.1","description":"TypeScript helpers for strongly typed Storybook parameters","directories":{},"_nodeVersion":"18.16.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"typesVersions":{"*":{"*":["dist/index.d.mts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","react":"^18.3.1","prettier":"^3.2.5","storybook":"^8.1.5","typescript":"^5.4.5","@types/react":"^18.3.3","@storybook/react":"^8.1.5","@storybook/types":"^8.1.5"},"_npmOperationalInternal":{"tmp":"tmp/storybook-parameters_3.0.0_1717792490437_0.5531972134409235","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"@alexgorbatchev/storybook-parameters","version":"3.0.1","keywords":["storybook","parameters","react","typescript"],"license":"MIT","_id":"@alexgorbatchev/storybook-parameters@3.0.1","maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"homepage":"https://github.com/alexgorbatchev/storybook-parameters#readme","bugs":{"url":"https://github.com/alexgorbatchev/storybook-parameters/issues"},"dist":{"shasum":"78153c3f3ad98d2c709d5d484b3113f62a8097e6","tarball":"https://registry.npmjs.org/@alexgorbatchev/storybook-parameters/-/storybook-parameters-3.0.1.tgz","fileCount":5,"integrity":"sha512-juhVHJ9+LmJBEFpVG1yxbqu2mX7hqVVp3ied8Bx6ISd9bdMceletp/u8wPPr1RPwl/1jtGq6jz7ZkV3mpwGfGQ==","signatures":[{"sig":"MEQCIHwxZbFB8VCKeoxMMwrlKZXjsTxkYYH9xQBrCxbj+VY+AiArULf7fTN1S34u7qV/Xv8MExdULFxATv4dBI3Wb4ZDZA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4080},"main":"dist/index.mjs","types":"dist/index.d.mts","module":"dist/index.mjs","authors":["Alex Gorbatchev <alex.gorbatchev@gmail.com>"],"exports":{".":{"types":"./dist/index.d.mts"},"./package.json":"./package.json"},"gitHead":"d55cf152a3b36cacbe81d8c565273874924cab92","scripts":{"build":"tsup"},"_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"storybook":{"supportedFrameworks":["react"]},"repository":{"url":"git+https://github.com/alexgorbatchev/storybook-parameters.git","type":"git"},"_npmVersion":"9.5.1","description":"TypeScript helpers for strongly typed Storybook parameters","directories":{},"_nodeVersion":"18.16.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"typesVersions":{"*":{"*":["dist/index.d.mts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","react":"^18.3.1","prettier":"^3.2.5","storybook":"^8.1.5","typescript":"^5.4.5","@types/react":"^18.3.3","@storybook/react":"^8.1.5","@storybook/types":"^8.1.5"},"_npmOperationalInternal":{"tmp":"tmp/storybook-parameters_3.0.1_1717794210959_0.4738818868358732","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"@alexgorbatchev/storybook-parameters","version":"4.0.0","keywords":["storybook","parameters","typescript"],"license":"MIT","_id":"@alexgorbatchev/storybook-parameters@4.0.0","maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"homepage":"https://github.com/alexgorbatchev/storybook-parameters#readme","bugs":{"url":"https://github.com/alexgorbatchev/storybook-parameters/issues"},"dist":{"shasum":"728433bd9e39b784533a2edd3906409d911e693a","tarball":"https://registry.npmjs.org/@alexgorbatchev/storybook-parameters/-/storybook-parameters-4.0.0.tgz","fileCount":33,"integrity":"sha512-Pk11/FpMBrVuEPXyZsxjzBAyTazvjk7ftgjwkKKXRvrinaEHQrk4V4rOHXaXqoIR3oM0OAeyp6lfQlnkLM5PXg==","signatures":[{"sig":"MEYCIQCp07+7Co5DNWtAhx7dr9WG2x+tVJeKUjHxt+WDdGzsmwIhALAV2c/d/ob546MmN4nN5kKPYWbv+4L//IB4YHtpQ8qf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25058},"main":"dist/index.mjs","types":"dist/index.d.mts","module":"dist/index.mjs","authors":["Alex Gorbatchev <alex.gorbatchev@gmail.com>"],"exports":{".":{"node":"./dist/index.js","types":"./dist/index.d.mts","import":"./dist/index.mjs","require":"./dist/index.js"},"./react":{"node":"./dist/react.js","types":"./dist/react.d.mts","import":"./dist/react.mjs","require":"./dist/react.js"},"./package.json":"./package.json"},"gitHead":"219cbab0349045c3b9894196d2a52c5507a5d10a","scripts":{"build":"tsup"},"_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"repository":{"url":"git+https://github.com/alexgorbatchev/storybook-parameters.git","type":"git"},"_npmVersion":"9.5.1","description":"TypeScript helpers for strongly typed Storybook parameters","directories":{},"_nodeVersion":"18.16.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","react":"^18.3.1","prettier":"^3.2.5","@swc/core":"^1.5.27","storybook":"^8.1.5","typescript":"^5.4.5","@types/react":"^18.3.3","@storybook/react":"^8.1.5","@storybook/types":"^8.1.5"},"_npmOperationalInternal":{"tmp":"tmp/storybook-parameters_4.0.0_1718048542845_0.5075271009555935","host":"s3://npm-registry-packages"}},"4.1.0":{"name":"@alexgorbatchev/storybook-parameters","version":"4.1.0","keywords":["storybook","parameters","typescript"],"license":"MIT","_id":"@alexgorbatchev/storybook-parameters@4.1.0","maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"homepage":"https://github.com/alexgorbatchev/storybook-parameters#readme","bugs":{"url":"https://github.com/alexgorbatchev/storybook-parameters/issues"},"dist":{"shasum":"e7782b317108c4a2c9cfcdedccb328383310f54d","tarball":"https://registry.npmjs.org/@alexgorbatchev/storybook-parameters/-/storybook-parameters-4.1.0.tgz","fileCount":33,"integrity":"sha512-8+pP665i+3o5hcJAx2wY2ah4QNPUXEUCtvQYHlD34HnZxNdvd4acDZLDr7C0IBMYohxlNU4n/F7SIpqlJLyAjw==","signatures":[{"sig":"MEUCIDNCZBTkZbrKQN8Vz7BhhFJX6+tFH67EoG3rYwQ5rcaFAiEAliY8UhrsG759ASsLjRpAGgv+6ZjfMyuHtxfjpQajeII=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35830},"main":"dist/index.mjs","types":"dist/index.d.mts","module":"dist/index.mjs","authors":["Alex Gorbatchev <alex.gorbatchev@gmail.com>"],"exports":{".":{"node":"./dist/index.js","types":"./dist/index.d.mts","import":"./dist/index.mjs","require":"./dist/index.js"},"./react":{"node":"./dist/react.js","types":"./dist/react.d.mts","import":"./dist/react.mjs","require":"./dist/react.js"},"./package.json":"./package.json"},"gitHead":"3fc19415b757bccb186efe5715f487c19b098b88","scripts":{"build":"tsup"},"_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"repository":{"url":"git+https://github.com/alexgorbatchev/storybook-parameters.git","type":"git"},"_npmVersion":"9.5.1","description":"TypeScript helpers for strongly typed Storybook parameters","directories":{},"_nodeVersion":"18.16.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","react":"^18.3.1","prettier":"^3.2.5","@swc/core":"^1.5.27","storybook":"^8.1.5","typescript":"^5.4.5","@types/react":"^18.3.3","@storybook/react":"^8.1.5","@storybook/types":"^8.1.5"},"_npmOperationalInternal":{"tmp":"tmp/storybook-parameters_4.1.0_1718064454945_0.747365396551958","host":"s3://npm-registry-packages"}},"4.1.1":{"name":"@alexgorbatchev/storybook-parameters","version":"4.1.1","keywords":["storybook","parameters","typescript"],"license":"MIT","_id":"@alexgorbatchev/storybook-parameters@4.1.1","maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"homepage":"https://github.com/alexgorbatchev/storybook-parameters#readme","bugs":{"url":"https://github.com/alexgorbatchev/storybook-parameters/issues"},"dist":{"shasum":"5671a02488adab641b6a2e1f168d344e523b012f","tarball":"https://registry.npmjs.org/@alexgorbatchev/storybook-parameters/-/storybook-parameters-4.1.1.tgz","fileCount":33,"integrity":"sha512-TLTinabKMqrEhf48f3vRsK28pdPVuIrkGGxCUHEVJHtK59wVRwTGTR+LtBAC5xk3MUa7z0i89MquxP5lLuDNug==","signatures":[{"sig":"MEUCIQDo09Gy+8QaOTvCdHBOl7jUoRoOyUgdxVIep1sdc5NuTAIgZDkdTAPHrhmYfRE4/O7iy4TGYXV2lfTUNUbZKPFpjxA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37252},"main":"dist/index.mjs","types":"dist/index.d.mts","module":"dist/index.mjs","authors":["Alex Gorbatchev <alex.gorbatchev@gmail.com>"],"exports":{".":{"node":"./dist/index.js","types":"./dist/index.d.mts","import":"./dist/index.mjs","require":"./dist/index.js"},"./react":{"node":"./dist/react.js","types":"./dist/react.d.mts","import":"./dist/react.mjs","require":"./dist/react.js"},"./package.json":"./package.json"},"gitHead":"97ebd40a62129fc1b13443b2a730ebd71d22fef7","scripts":{"build":"tsup"},"_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"repository":{"url":"git+https://github.com/alexgorbatchev/storybook-parameters.git","type":"git"},"_npmVersion":"9.5.1","description":"TypeScript helpers for strongly typed Storybook parameters","directories":{},"_nodeVersion":"18.16.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","react":"^18.3.1","prettier":"^3.2.5","@swc/core":"^1.5.27","storybook":"^8.1.5","typescript":"^5.4.5","@types/react":"^18.3.3","@storybook/react":"^8.1.5","@storybook/types":"^8.1.5"},"_npmOperationalInternal":{"tmp":"tmp/storybook-parameters_4.1.1_1718133956324_0.025117992829817304","host":"s3://npm-registry-packages"}},"4.2.0":{"name":"@alexgorbatchev/storybook-parameters","version":"4.2.0","keywords":["storybook","parameters","typescript"],"license":"MIT","_id":"@alexgorbatchev/storybook-parameters@4.2.0","maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"homepage":"https://github.com/alexgorbatchev/storybook-parameters#readme","bugs":{"url":"https://github.com/alexgorbatchev/storybook-parameters/issues"},"dist":{"shasum":"1b11df255025a86a6270df68814753be7503e9db","tarball":"https://registry.npmjs.org/@alexgorbatchev/storybook-parameters/-/storybook-parameters-4.2.0.tgz","fileCount":17,"integrity":"sha512-X0VbzGA6dTpvBBWtINF24Tq4IL3cHJMSq5tFaQG9BPOVEShD+ewaH5es1/M5iWbYoInGDCmqnsC9UUTBG5zOKA==","signatures":[{"sig":"MEQCIAUzaGmfWbidgLKTDbGRUiOh3nBihnSZQHdtBCb3rM00AiBgGa7FnDoaKdlyPbVxD5bIu8NxnmG75TzcYxGGzYuQkw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30364},"main":"dist/index.mjs","types":"dist/index.d.ts","module":"dist/index.mjs","authors":["Alex Gorbatchev <alex.gorbatchev@gmail.com>"],"exports":{".":{"node":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"1626fc8cdd40e733751d258333d6afe9ef45a59d","scripts":{"build":"tsup"},"_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"repository":{"url":"git+https://github.com/alexgorbatchev/storybook-parameters.git","type":"git"},"_npmVersion":"9.5.1","description":"TypeScript helpers for strongly typed Storybook parameters","directories":{},"_nodeVersion":"18.16.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","react":"^18.3.1","prettier":"^3.2.5","@swc/core":"^1.5.27","storybook":"^8.1.5","typescript":"^5.4.5","@types/react":"^18.3.3","@storybook/react":"^8.1.5","@storybook/types":"^8.1.5"},"_npmOperationalInternal":{"tmp":"tmp/storybook-parameters_4.2.0_1718223725438_0.8678642007596409","host":"s3://npm-registry-packages"}},"4.2.1":{"name":"@alexgorbatchev/storybook-parameters","version":"4.2.1","keywords":["storybook","parameters","typescript"],"license":"MIT","_id":"@alexgorbatchev/storybook-parameters@4.2.1","maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"homepage":"https://github.com/alexgorbatchev/storybook-parameters#readme","bugs":{"url":"https://github.com/alexgorbatchev/storybook-parameters/issues"},"dist":{"shasum":"5f1986507799398d619ebf44b4f45cde89e68ca4","tarball":"https://registry.npmjs.org/@alexgorbatchev/storybook-parameters/-/storybook-parameters-4.2.1.tgz","fileCount":9,"integrity":"sha512-mtZBZmGlj3I0BH04DbxyjJbJzP44oq5nrofuhaYl8DDM7p8UazntyB3op0KHbI5JRc5i7FJTOf6GzRekOdPuTQ==","signatures":[{"sig":"MEUCIQC0Iceh1BzR+neAeDaVtv5PNPGoGlvMm7ar4pz1pFHWBgIgfC4F98mUtEBAFUBzrqdwVsutRYLkyTC9ry6iXPBhO2k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25356},"main":"dist/index.mjs","types":"dist/index.d.ts","module":"dist/index.mjs","authors":["Alex Gorbatchev <alex.gorbatchev@gmail.com>"],"exports":{".":{"node":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"76501c791b3cfc56520bcb2ec4c839e8d8f228fb","scripts":{"build":"tsup"},"_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"repository":{"url":"git+https://github.com/alexgorbatchev/storybook-parameters.git","type":"git"},"_npmVersion":"9.5.1","description":"TypeScript helpers for strongly typed Storybook parameters","directories":{},"_nodeVersion":"18.16.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","react":"^18.3.1","prettier":"^3.2.5","@swc/core":"^1.5.27","storybook":"^8.1.5","typescript":"^5.4.5","@types/react":"^18.3.3","@storybook/react":"^8.1.5","@storybook/types":"^8.1.5"},"_npmOperationalInternal":{"tmp":"tmp/storybook-parameters_4.2.1_1718227121180_0.5744133376192333","host":"s3://npm-registry-packages"}},"10.0.0":{"name":"@alexgorbatchev/storybook-parameters","version":"10.0.0","description":"TypeScript helpers for strongly typed Storybook parameters","keywords":["storybook","parameters","typescript"],"repository":{"type":"git","url":"git+https://github.com/alexgorbatchev/storybook-parameters.git"},"authors":["Alex Gorbatchev <alex.gorbatchev@gmail.com>"],"license":"MIT","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js","node":"./dist/index.js"},"./package.json":"./package.json"},"main":"dist/index.mjs","module":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"devDependencies":{"@storybook/react":"^10.2.17","@types/react":"^19.2.14","prettier":"^3.8.1","react":"^19.2.4","storybook":"^10.2.17","tsup":"^8.5.1","typescript":"^5.9.3"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"gitHead":"e120a8dc8104c1cc9de717f087425d1d72cd6b23","_id":"@alexgorbatchev/storybook-parameters@10.0.0","bugs":{"url":"https://github.com/alexgorbatchev/storybook-parameters/issues"},"homepage":"https://github.com/alexgorbatchev/storybook-parameters#readme","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-/8fm7EacCA8S9v5UXVs5s9xkJlbbKKlzt5AVqLfsvl+jtqr/Kf1GuWeSa/YQYEbaz2BHCqyEDhOsqkB/rggQ5g==","shasum":"3edaa7578b5b87fc585a4090bd390b338cd72447","tarball":"https://registry.npmjs.org/@alexgorbatchev/storybook-parameters/-/storybook-parameters-10.0.0.tgz","fileCount":9,"unpackedSize":19040285,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCV13A5iwVAbsTI9o1sqHyqbPdYnPtyWkJ1CzVoo2E8LQIgL7vRvIlpk99RQDxQYbk6LasrVljZAovzG7arH520SnI="}]},"_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"directories":{},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/storybook-parameters_10.0.0_1773181259135_0.7823020045430806"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-28T23:27:59.926Z","modified":"2026-03-10T22:20:59.653Z","1.0.0":"2023-11-28T23:28:00.266Z","2.0.0":"2024-05-30T19:13:16.660Z","2.1.0":"2024-05-31T00:12:44.433Z","3.0.0":"2024-06-07T20:34:50.611Z","3.0.1":"2024-06-07T21:03:31.106Z","4.0.0":"2024-06-10T19:42:23.011Z","4.1.0":"2024-06-11T00:07:35.083Z","4.1.1":"2024-06-11T19:25:56.484Z","4.2.0":"2024-06-12T20:22:05.629Z","4.2.1":"2024-06-12T21:18:41.322Z","10.0.0":"2026-03-10T22:20:59.524Z"},"bugs":{"url":"https://github.com/alexgorbatchev/storybook-parameters/issues"},"license":"MIT","homepage":"https://github.com/alexgorbatchev/storybook-parameters#readme","keywords":["storybook","parameters","typescript"],"repository":{"type":"git","url":"git+https://github.com/alexgorbatchev/storybook-parameters.git"},"description":"TypeScript helpers for strongly typed Storybook parameters","maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"readme":"# Strongly Typed Parameters for Storybook\n\nThis module only exports TypeScript typings to assist with making [Storybook](https://storybook.js.org/)'s `Meta.parameters`\nstrongly typed. Requires Storybook v10.\n\nWhy is this useful? For large projects that connect a number of global addons which expect own set of properties, it's very helpful to have these properties be strongly typed.\n\nCurrently only React is supported, however adding new render targets should be trivial. PRs welcome!\n\n## Install\n\n```sh\nnpm i --save-dev @alexgorbatchev/storybook-parameters\n```\n\n## Example Story\n\n```tsx\nimport { react } from '@alexgorbatchev/storybook-parameters';\n\nconst { Meta, StoryObj } = react;\n\nconst Header = () => <div>Header</div>;\n\n// These properties will be expected on the `parameters` in your stories.\ninterface StoryParameters {\n  cookies: string;\n}\n\n// Strongly typed Story\ntype Story = StoryObj<typeof Header, StoryParameters>;\n\n// Strongly typed Meta\nconst meta: Meta<typeof Header, StoryParameters> = {\n  title: 'Header',\n  component: Header,\n};\n\nexport default meta;\n\nexport const JohnLoggedIn: Story = {\n  // Will show missing `cookies` property error\n  parameters: {},\n};\n\nexport const JaneLoggedIn: Story = {\n  parameters: {\n    // strongly typed `cookies` property\n    cookies: '123',\n  },\n};\n```\n\n## Example Test\n\n```tsx\nimport * as React from 'react';\nimport { composeStories, composeStory } from '@storybook/react';\nimport { toCompose } from '@alexgorbatchev/storybook-parameters';\n\nimport * as stories from './Example.stories';\n\n// `toCompose` helper has to be used because Storybook's methods\n// don't work well with typed `parameters`.\nconst { JohnLoggedIn, JaneLoggedOut } = composeStories(toCompose(stories));\nconst JaneLoggedOutOther = composeStory(stories.JaneLoggedOut, toCompose(stories.default));\n```\n\nAlternatively this package provides shims for `composeStories` and `composeStory`:\n\n```tsx\nimport * as React from 'react';\nimport { react } from '@alexgorbatchev/storybook-parameters';\n\nimport * as stories from './Example.stories';\n\nconst { composeStories, composeStory } = react;\nconst { JohnLoggedIn, JaneLoggedOut } = composeStories(stories);\nconst JaneLoggedOutOther = composeStory(stories.JaneLoggedOut, stories.default);\n```\n\nIf you don't want to always use `react...` or `const {} = react`, you can reexport these methods locally for ease of reference. Same applies to `Meta` and `StoryObj`.\n\n```tsx\nimport { react } from '@alexgorbatchev/storybook-parameters';\nconst { composeStories, composeStory } = react;\nexport { composeStories, composeStory };\n```\n\n## Development Scripts\n\n- `npm run build` builds the `dist` folder\n- `npm run typecheck` runs `tsc --noEmit` to verify types\n","readmeFilename":"README.md"}