@mrshmllw/smores-react 13.21.2 → 13.21.3

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.
@@ -3,4 +3,5 @@ import { RenderOptions } from '@testing-library/react';
3
3
  declare const customRender: (ui: ReactElement, options?: Omit<RenderOptions, "wrapper">) => import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>;
4
4
  export * from '@testing-library/react';
5
5
  export * from '@testing-library/jest-dom/vitest';
6
+ export * from 'jest-styled-components';
6
7
  export { customRender as render };
@@ -7,5 +7,6 @@ const Providers = ({ children }) => {
7
7
  const customRender = (ui, options) => render(ui, { wrapper: Providers, ...options });
8
8
  export * from '@testing-library/react';
9
9
  export * from '@testing-library/jest-dom/vitest';
10
+ export * from 'jest-styled-components';
10
11
  export { customRender as render };
11
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/testUtils/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuB,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,MAAM,EAAiB,MAAM,wBAAwB,CAAA;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAA;AAEpE,MAAM,SAAS,GAAG,CAAC,EAAE,QAAQ,EAAiC,EAAE,EAAE;IAChE,OAAO,oBAAC,mBAAmB,QAAE,QAAQ,CAAuB,CAAA;AAC9D,CAAC,CAAA;AAED,MAAM,YAAY,GAAG,CACnB,EAAgB,EAChB,OAAwC,EACxC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,OAAO,EAAE,CAAC,CAAA;AAEnD,cAAc,wBAAwB,CAAA;AACtC,cAAc,kCAAkC,CAAA;AAEhD,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,CAAA","sourcesContent":["import React, { ReactElement } from 'react'\nimport { render, RenderOptions } from '@testing-library/react'\nimport { SmoresThemeProvider } from '../ThemeProvider/ThemeProvider'\n\nconst Providers = ({ children }: { children: React.ReactNode }) => {\n return <SmoresThemeProvider>{children}</SmoresThemeProvider>\n}\n\nconst customRender = (\n ui: ReactElement,\n options?: Omit<RenderOptions, 'wrapper'>,\n) => render(ui, { wrapper: Providers, ...options })\n\nexport * from '@testing-library/react'\nexport * from '@testing-library/jest-dom/vitest'\n\nexport { customRender as render }\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/testUtils/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuB,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,MAAM,EAAiB,MAAM,wBAAwB,CAAA;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAA;AAEpE,MAAM,SAAS,GAAG,CAAC,EAAE,QAAQ,EAAiC,EAAE,EAAE;IAChE,OAAO,oBAAC,mBAAmB,QAAE,QAAQ,CAAuB,CAAA;AAC9D,CAAC,CAAA;AAED,MAAM,YAAY,GAAG,CACnB,EAAgB,EAChB,OAAwC,EACxC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,OAAO,EAAE,CAAC,CAAA;AAEnD,cAAc,wBAAwB,CAAA;AACtC,cAAc,kCAAkC,CAAA;AAChD,cAAc,wBAAwB,CAAA;AAEtC,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,CAAA","sourcesContent":["import React, { ReactElement } from 'react'\nimport { render, RenderOptions } from '@testing-library/react'\nimport { SmoresThemeProvider } from '../ThemeProvider/ThemeProvider'\n\nconst Providers = ({ children }: { children: React.ReactNode }) => {\n return <SmoresThemeProvider>{children}</SmoresThemeProvider>\n}\n\nconst customRender = (\n ui: ReactElement,\n options?: Omit<RenderOptions, 'wrapper'>,\n) => render(ui, { wrapper: Providers, ...options })\n\nexport * from '@testing-library/react'\nexport * from '@testing-library/jest-dom/vitest'\nexport * from 'jest-styled-components'\n\nexport { customRender as render }\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrshmllw/smores-react",
3
- "version": "13.21.2",
3
+ "version": "13.21.3",
4
4
  "main": "./dist/index.js",
5
5
  "description": "Collection of React components used by Marshmallow Technology",
6
6
  "type": "module",
@@ -63,6 +63,7 @@
63
63
  "eslint-plugin-react": "^7.37.5",
64
64
  "eslint-plugin-react-hooks": "^5.2.0",
65
65
  "husky": "^9.1.7",
66
+ "jest-styled-components": "^7.2.0",
66
67
  "jsdom": "^26.1.0",
67
68
  "lint-staged": "^16.1.2",
68
69
  "playwright": "^1.56.1",