@cappa/plugin-storybook 0.10.0 → 0.10.1

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.
@@ -320,7 +320,7 @@ const cappaPluginStorybook = (options) => {
320
320
  const variantsWithUrls = [];
321
321
  const variantExtrasEntries = [];
322
322
  for (const variant of variantParameters) {
323
- const variantFilename = variant.filename || screenshotTool.getVariantFilename(filename, {
323
+ const variantFilename = screenshotTool.getVariantFilename(filename, {
324
324
  id: variant.id,
325
325
  label: variant.label,
326
326
  filename: variant.filename
@@ -320,7 +320,7 @@ const cappaPluginStorybook = (options) => {
320
320
  const variantsWithUrls = [];
321
321
  const variantExtrasEntries = [];
322
322
  for (const variant of variantParameters) {
323
- const variantFilename = variant.filename || screenshotTool.getVariantFilename(filename, {
323
+ const variantFilename = screenshotTool.getVariantFilename(filename, {
324
324
  id: variant.id,
325
325
  label: variant.label,
326
326
  filename: variant.filename
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cappa/plugin-storybook",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Storybook plugin for Cappa - takes screenshots of Storybook stories",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -76,7 +76,7 @@
76
76
  }
77
77
  },
78
78
  "dependencies": {
79
- "@cappa/core": "0.13.0",
79
+ "@cappa/core": "0.13.1",
80
80
  "@cappa/logger": "0.0.12",
81
81
  "@swc/core": "^1.16.2",
82
82
  "chalk": "^6.0.0"