@m4l/layouts 8.0.0 → 9.0.0

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/test/utils.d.ts +6 -2
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@m4l/layouts",
3
- "version": "8.0.0",
3
+ "version": "9.0.0",
4
4
  "license": "UNLICENSED",
5
5
  "author": "M4L Team",
6
6
  "lint-staged": {
7
7
  "*.{js,ts,tsx}": "eslint --fix --max-warnings 0"
8
8
  },
9
9
  "peerDependencies": {
10
- "@m4l/components": "^8.0.0",
10
+ "@m4l/components": "^9.0.0",
11
11
  "@m4l/core": "^2.0.11",
12
12
  "@m4l/graphics": "^7.0.2",
13
13
  "@m4l/styles": "^7.0.1"
package/test/utils.d.ts CHANGED
@@ -1,4 +1,6 @@
1
- import { default as React } from 'react';
1
+ import { RenderResult } from '@testing-library/react';
2
+ import { default as userEvent } from '@testing-library/user-event';
3
+ import { ReactElement } from 'react';
2
4
  /**
3
5
  * Custom render function to wrap providers
4
6
  * @author Juan Escobar - automatic
@@ -6,7 +8,9 @@ import { default as React } from 'react';
6
8
  * @updatedAt 2024-10-09 20:00:30 - automatic
7
9
  * @updatedUser Juan Escobar - automatic
8
10
  */
9
- declare const customRender: (ui: React.ReactElement, options?: {}) => import('@testing-library/react').RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>;
11
+ declare const customRender: (ui: ReactElement, options?: {}) => RenderResult & {
12
+ user: ReturnType<typeof userEvent.setup>;
13
+ };
10
14
  export * from '@testing-library/react';
11
15
  export { default as userEvent } from '@testing-library/user-event';
12
16
  export { customRender as render };