@codecademy/gamut-tests 5.2.21-alpha.c9bcd5.0 → 5.3.0-alpha.2f9b47.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.
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ import { setupEnzyme as setupEnzymeBase, setupRtl as setupRtlBase } from 'compon
2
2
  import * as React from 'react';
3
3
  export declare const MockGamutProvider: React.FC<{
4
4
  children?: React.ReactNode;
5
+ useLogicalProperties?: boolean;
5
6
  }>;
6
7
  /**
7
8
  * @deprecated Enzyme is no longer being maintained. Use RTL instead.
package/dist/index.js CHANGED
@@ -3,15 +3,17 @@ import { setupEnzyme as setupEnzymeBase, setupRtl as setupRtlBase } from 'compon
3
3
  import overArgs from 'lodash/overArgs';
4
4
  import * as React from 'react';
5
5
 
6
- // See https://www.notion.so/codecademy/Frontend-Unit-Tests-1cbf4e078a6647559b4583dfb6d3cb18 for more info
6
+ // See https://skillsoftdev.atlassian.net/wiki/spaces/779a16d9c7ea452eab11b39cbbe771ce/pages/4441315387/Frontend+Unit+Tests for more info
7
7
  import { jsx as _jsx } from "react/jsx-runtime";
8
8
  export const MockGamutProvider = ({
9
- children
9
+ children,
10
+ useLogicalProperties
10
11
  }) => {
11
12
  return /*#__PURE__*/_jsx(GamutProvider, {
12
13
  theme: theme,
13
14
  useCache: false,
14
15
  useGlobals: false,
16
+ useLogicalProperties: useLogicalProperties,
15
17
  children: children
16
18
  });
17
19
  };
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@codecademy/gamut-tests",
3
3
  "description": "Shared component test setup for Gamut applications",
4
- "version": "5.2.21-alpha.c9bcd5.0",
4
+ "version": "5.3.0-alpha.2f9b47.0",
5
5
  "author": "Codecademy Engineering <dev@codecademy.com>",
6
6
  "dependencies": {
7
- "@codecademy/gamut-styles": "17.11.4-alpha.c9bcd5.0",
7
+ "@codecademy/gamut-styles": "17.12.0-alpha.2f9b47.0",
8
8
  "component-test-setup": "*",
9
9
  "lodash": "^4.17.23"
10
10
  },
@@ -22,7 +22,7 @@
22
22
  "main": "dist/index.js",
23
23
  "module": "dist/index.js",
24
24
  "peerDependencies": {
25
- "react": "^18.3.0 || ^19.0.0"
25
+ "react": "^17.0.2 || ^18.2.0"
26
26
  },
27
27
  "publishConfig": {
28
28
  "access": "public"
@@ -33,5 +33,5 @@
33
33
  "verify": "tsc --noEmit"
34
34
  },
35
35
  "types": "./dist/index.d.ts",
36
- "gitHead": "2dd5e5bd695d167270fc5697da5fa3bb3bc0e7ef"
36
+ "gitHead": "4577f2565a67fc116b56c55ecca9c3e849a90be1"
37
37
  }