@digigov/react-modules 1.2.0-87b6232d → 1.2.0-a32ad9b2

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.
@@ -0,0 +1 @@
1
+ export {};
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Digigov v1.2.0-87b6232d
1
+ /** @license Digigov v1.2.0-a32ad9b2
2
2
  *
3
3
  * This source code is licensed under the BSD-2-Clause license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@digigov/react-modules",
3
- "version": "1.2.0-87b6232d",
3
+ "version": "1.2.0-a32ad9b2",
4
4
  "description": "@digigov patterns based on ui components",
5
5
  "main": "./cjs/index.js",
6
6
  "module": "./index.js",
7
7
  "dependencies": {
8
- "@digigov/react-icons": "2.0.0-87b6232d",
9
- "@digigov/form": "2.0.0-87b6232d",
10
- "@digigov/ui": "2.0.0-87b6232d",
8
+ "@digigov/react-icons": "2.0.0-a32ad9b2",
9
+ "@digigov/form": "2.0.0-a32ad9b2",
10
+ "@digigov/ui": "2.0.0-a32ad9b2",
11
11
  "dompurify": "3.0.6"
12
12
  },
13
13
  "peerDependencies": {
14
14
  "react-query": "2.26.4",
15
15
  "clsx": "1.1.1",
16
- "react": ">=16.8.0 <19.0.0",
17
- "react-dom": ">=16.8.0 <19.0.0",
18
- "@digigov/react-core": "2.0.0-87b6232d",
19
- "@digigov/css": "2.0.0-87b6232d"
16
+ "react": "^18.3.0 || ^19.1.0",
17
+ "react-dom": "^18.3.0 || ^19.1.0",
18
+ "@digigov/react-core": "2.0.0-a32ad9b2",
19
+ "@digigov/css": "2.0.0-a32ad9b2"
20
20
  },
21
21
  "private": false,
22
22
  "typings": "./index.d.ts"
@@ -14,6 +14,10 @@ test('renders the All Faq variants', async ({ mount, page }) => {
14
14
  )
15
15
  await page.evaluate(() => document.fonts.ready);
16
16
 
17
+ // Move the mouse to the top-left corner to avoid random hover issues
18
+ await page.mouse.move(0, 0);
19
+
20
+
17
21
  const screenshot = await page.screenshot({ fullPage: true, animations: 'disabled' });
18
22
  expect(screenshot).toMatchSnapshot();
19
23
  });
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { test, expect } from '@playwright/experimental-ct-react';
3
+
4
+ import { Default } from '@digigov/react-modules/Faq/__stories__/Default';
5
+
6
+ test('renders the Default', async ({ mount, page }) => {
7
+ await mount(
8
+ <Default />
9
+ )
10
+ await page.evaluate(() => document.fonts.ready);
11
+
12
+ // Move the mouse to the top-left corner to avoid random hover issues
13
+ await page.mouse.move(0, 0);
14
+
15
+
16
+ const screenshot = await page.screenshot({ fullPage: true, animations: 'disabled' });
17
+ expect(screenshot).toMatchSnapshot();
18
+ });
19
+