@remit/ui 0.0.24 → 0.0.25

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/ui",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src"
@@ -5,10 +5,10 @@ import { describe, it } from "node:test";
5
5
  import { fileURLToPath } from "node:url";
6
6
 
7
7
  /**
8
- * Storybook 9 dropped `parameters.viewport.defaultViewport` (the Storybook
9
- * 6/7 API) — it is silently ignored, so a story written against it renders
10
- * full width instead of the intended breakpoint. The replacement is a
11
- * per-story viewport global: `globals: { viewport: { value: "mobile" } }`
8
+ * Storybook 9 dropped `parameters.viewport.defaultViewport` (present through
9
+ * Storybook 8) — it is silently ignored, so a story written against it
10
+ * renders full width instead of the intended breakpoint. The replacement is
11
+ * a per-story viewport global: `globals: { viewport: { value: "mobile" } }`
12
12
  * (#67, #68).
13
13
  */
14
14
 
@@ -32,7 +32,11 @@ const storyFiles = (root: string): string[] => {
32
32
  };
33
33
 
34
34
  describe("story files use the viewport globals pattern (#68)", () => {
35
- const roots = [here, resolve(here, "../../workbench/src")];
35
+ const roots = [
36
+ here,
37
+ resolve(here, "../../workbench/src"),
38
+ resolve(here, "../../web-client/src"),
39
+ ];
36
40
 
37
41
  it("scans at least one story file", () => {
38
42
  const files = roots.flatMap((root) => storyFiles(root));