From 1e16c8b6ff9f1708f66e168a6715b63f26a8f5b4 Mon Sep 17 00:00:00 2001 From: adilallo <39313955+adilallo@users.noreply.github.com> Date: Wed, 3 Sep 2025 11:03:29 -0600 Subject: [PATCH] Run lint and prettier --- docs/iframe.html | 1190 ++++++++++++++------------- docs/index.html | 189 ++--- eslint.config.mjs | 12 +- tests/e2e/visual-regression.spec.ts | 2 +- 4 files changed, 719 insertions(+), 674 deletions(-) diff --git a/docs/iframe.html b/docs/iframe.html index e495b10..6e66832 100644 --- a/docs/iframe.html +++ b/docs/iframe.html @@ -1,56 +1,87 @@ - + + Storybook - + .sb-hidden-until-focus:focus { + opacity: 1; + } + - + - - - + + +
-
-
- -
-
-
-
-
-
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-

No Preview

-

Sorry, but you either have no stories or none are selected somehow.

- -

- If the problem persists, check the browser console, or the terminal you've run Storybook from. -

-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
-
-
-

-

- The component failed to render properly, likely due to a configuration issue in Storybook. - Here are some common causes and how you can address them: -

-
    -
  1. - Missing Context/Providers: You can use decorators to supply specific - contexts or providers, which are sometimes necessary for components to render correctly. For - detailed instructions on using decorators, please visit the - Decorators documentation. -
  2. -
  3. - Misconfigured Webpack or Vite: Verify that Storybook picks up all necessary - settings for loaders, plugins, and other relevant parameters. You can find step-by-step - guides for configuring - Webpack or - Vite - with Storybook. -
  4. -
  5. - Missing Environment Variables: Your Storybook may require specific - environment variables to function as intended. You can set up custom environment variables - as outlined in the - Environment Variables documentation. -
  6. -
-
-
-
+
+
+

No Preview

+

+ Sorry, but you either have no stories or none are selected somehow. +

+ +

+ If the problem persists, check the browser console, or the terminal + you've run Storybook from. +

+
+
+ +
+
+

+

+ The component failed to render properly, likely due to a configuration + issue in Storybook. Here are some common causes and how you can + address them: +

+
    +
  1. + Missing Context/Providers: You can use decorators + to supply specific contexts or providers, which are sometimes + necessary for components to render correctly. For detailed + instructions on using decorators, please visit the + Decorators documentation. +
  2. +
  3. + Misconfigured Webpack or Vite: Verify that + Storybook picks up all necessary settings for loaders, plugins, and + other relevant parameters. You can find step-by-step guides for + configuring + Webpack + or + Vite + with Storybook. +
  4. +
  5. + Missing Environment Variables: Your Storybook may + require specific environment variables to function as intended. You + can set up custom environment variables as outlined in the + Environment Variables documentation. +
  6. +
+
+
+
- diff --git a/eslint.config.mjs b/eslint.config.mjs index cdcb6a0..92a78fc 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -12,9 +12,13 @@ const compat = new FlatCompat({ baseDirectory: __dirname, }); -const eslintConfig = [...compat.extends("next/core-web-vitals"), { - files: ["**/*.js", "**/*.jsx", "**/*.mjs"], - ignores: ["**/*.ts", "**/*.tsx"], -}, ...storybook.configs["flat/recommended"]]; +const eslintConfig = [ + ...compat.extends("next/core-web-vitals"), + { + files: ["**/*.js", "**/*.jsx", "**/*.mjs"], + ignores: ["**/*.ts", "**/*.tsx"], + }, + ...storybook.configs["flat/recommended"], +]; export default eslintConfig; diff --git a/tests/e2e/visual-regression.spec.ts b/tests/e2e/visual-regression.spec.ts index e41d19c..0bc34b2 100644 --- a/tests/e2e/visual-regression.spec.ts +++ b/tests/e2e/visual-regression.spec.ts @@ -413,7 +413,7 @@ test.describe("Visual Regression Tests", () => { await page.evaluate(() => { document.documentElement.style.setProperty( "--prefers-reduced-motion", - "reduce" + "reduce", ); });