@codecademy/gamut-tests 5.2.20-alpha.c2d955.0 → 5.2.20-alpha.f12c24.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Codecademy LLC
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
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.20-alpha.c2d955.0",
4
+ "version": "5.2.20-alpha.f12c24.0",
5
5
  "author": "Codecademy Engineering <dev@codecademy.com>",
6
6
  "dependencies": {
7
- "@codecademy/gamut-styles": "17.11.3-alpha.c2d955.0",
7
+ "@codecademy/gamut-styles": "17.11.3-alpha.f12c24.0",
8
8
  "component-test-setup": "*",
9
9
  "lodash": "^4.17.23"
10
10
  },
@@ -32,5 +32,6 @@
32
32
  "build": "nx build @codecademy/gamut-tests",
33
33
  "verify": "tsc --noEmit"
34
34
  },
35
- "types": "./dist/index.d.ts"
35
+ "types": "./dist/index.d.ts",
36
+ "gitHead": "621175f83edaf6c595338c95749c132faf2e5829"
36
37
  }