@grantbii/design-system 1.20.0 → 1.20.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.
package/vitest.config.js CHANGED
@@ -3,9 +3,9 @@ import path from "node:path";
3
3
  import { fileURLToPath } from "node:url";
4
4
  import { defineConfig } from "vitest/config";
5
5
  import { storybookTest } from "@storybook/addon-vitest/vitest-plugin";
6
- const dirname = typeof __dirname !== "undefined"
7
- ? __dirname
8
- : path.dirname(fileURLToPath(import.meta.url));
6
+ const dirname = typeof __dirname === "undefined"
7
+ ? path.dirname(fileURLToPath(import.meta.url))
8
+ : __dirname;
9
9
  // More info at: https://storybook.js.org/docs/next/writing-tests/integrations/vitest-addon
10
10
  export default defineConfig({
11
11
  test: {
@@ -1 +1 @@
1
- {"version":3,"file":"vitest.config.js","sourceRoot":"","sources":["../vitest.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAEtE,MAAM,OAAO,GACX,OAAO,SAAS,KAAK,WAAW;IAC9B,CAAC,CAAC,SAAS;IACX,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAEnD,2FAA2F;AAC3F,eAAe,YAAY,CAAC;IAC1B,IAAI,EAAE;QACJ,QAAQ,EAAE;YACR;gBACE,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE;oBACP,6EAA6E;oBAC7E,2GAA2G;oBAC3G,aAAa,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,YAAY,CAAC,EAAE,CAAC;iBAC/D;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,OAAO,EAAE;wBACP,OAAO,EAAE,IAAI;wBACb,QAAQ,EAAE,IAAI;wBACd,QAAQ,EAAE,UAAU,EAAE;wBACtB,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;qBACrC;oBACD,UAAU,EAAE,CAAC,4BAA4B,CAAC;iBAC3C;aACF;SACF;KACF;CACF,CAAC,CAAC","sourcesContent":["import { playwright } from \"@vitest/browser-playwright\";\nimport path from \"node:path\";\nimport { fileURLToPath } from \"node:url\";\nimport { defineConfig } from \"vitest/config\";\n\nimport { storybookTest } from \"@storybook/addon-vitest/vitest-plugin\";\n\nconst dirname =\n typeof __dirname !== \"undefined\"\n ? __dirname\n : path.dirname(fileURLToPath(import.meta.url));\n\n// More info at: https://storybook.js.org/docs/next/writing-tests/integrations/vitest-addon\nexport default defineConfig({\n test: {\n projects: [\n {\n extends: true,\n plugins: [\n // The plugin will run tests for the stories defined in your Storybook config\n // See options at: https://storybook.js.org/docs/next/writing-tests/integrations/vitest-addon#storybooktest\n storybookTest({ configDir: path.join(dirname, \".storybook\") }),\n ],\n test: {\n name: \"storybook\",\n browser: {\n enabled: true,\n headless: true,\n provider: playwright(),\n instances: [{ browser: \"chromium\" }],\n },\n setupFiles: [\".storybook/vitest.setup.ts\"],\n },\n },\n ],\n },\n});\n"]}
1
+ {"version":3,"file":"vitest.config.js","sourceRoot":"","sources":["../vitest.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAEtE,MAAM,OAAO,GACX,OAAO,SAAS,KAAK,WAAW;IAC9B,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC9C,CAAC,CAAC,SAAS,CAAC;AAEhB,2FAA2F;AAC3F,eAAe,YAAY,CAAC;IAC1B,IAAI,EAAE;QACJ,QAAQ,EAAE;YACR;gBACE,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE;oBACP,6EAA6E;oBAC7E,2GAA2G;oBAC3G,aAAa,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,YAAY,CAAC,EAAE,CAAC;iBAC/D;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,OAAO,EAAE;wBACP,OAAO,EAAE,IAAI;wBACb,QAAQ,EAAE,IAAI;wBACd,QAAQ,EAAE,UAAU,EAAE;wBACtB,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;qBACrC;oBACD,UAAU,EAAE,CAAC,4BAA4B,CAAC;iBAC3C;aACF;SACF;KACF;CACF,CAAC,CAAC","sourcesContent":["import { playwright } from \"@vitest/browser-playwright\";\nimport path from \"node:path\";\nimport { fileURLToPath } from \"node:url\";\nimport { defineConfig } from \"vitest/config\";\n\nimport { storybookTest } from \"@storybook/addon-vitest/vitest-plugin\";\n\nconst dirname =\n typeof __dirname === \"undefined\"\n ? path.dirname(fileURLToPath(import.meta.url))\n : __dirname;\n\n// More info at: https://storybook.js.org/docs/next/writing-tests/integrations/vitest-addon\nexport default defineConfig({\n test: {\n projects: [\n {\n extends: true,\n plugins: [\n // The plugin will run tests for the stories defined in your Storybook config\n // See options at: https://storybook.js.org/docs/next/writing-tests/integrations/vitest-addon#storybooktest\n storybookTest({ configDir: path.join(dirname, \".storybook\") }),\n ],\n test: {\n name: \"storybook\",\n browser: {\n enabled: true,\n headless: true,\n provider: playwright(),\n instances: [{ browser: \"chromium\" }],\n },\n setupFiles: [\".storybook/vitest.setup.ts\"],\n },\n },\n ],\n },\n});\n"]}