@trackunit/react-core-contexts-test 0.0.3 → 0.0.4

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/HookRenderer.js CHANGED
@@ -5,7 +5,7 @@ import { act } from 'react-test-renderer';
5
5
  import '@testing-library/react';
6
6
  import '@trackunit/react-core-contexts-api';
7
7
  import '@trackunit/react-core-hooks';
8
- import '@trackunit/ui-theme';
8
+ import '@trackunit/tailwind-styled-components';
9
9
  import 'react-router-dom';
10
10
  import '@apollo/client';
11
11
  import '@apollo/client/link/error';
package/index.js CHANGED
@@ -3,7 +3,7 @@ import 'react/jsx-runtime';
3
3
  import '@testing-library/react';
4
4
  import '@trackunit/react-core-contexts-api';
5
5
  import '@trackunit/react-core-hooks';
6
- import '@trackunit/ui-theme';
6
+ import '@trackunit/tailwind-styled-components';
7
7
  import 'react-router-dom';
8
8
  import '@apollo/client';
9
9
  import '@apollo/client/link/error';
package/index2.js CHANGED
@@ -2,7 +2,7 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import { act, render } from '@testing-library/react';
3
3
  import { UserSubscriptionPackageType } from '@trackunit/react-core-contexts-api';
4
4
  import { EnvironmentContextProvider, CurrentUserProvider, UserSubscriptionProvider, TokenProvider } from '@trackunit/react-core-hooks';
5
- import { styled } from '@trackunit/ui-theme';
5
+ import { tw } from '@trackunit/tailwind-styled-components';
6
6
  import { MemoryRouter } from 'react-router-dom';
7
7
  import { ApolloLink } from '@apollo/client';
8
8
  import { onError } from '@apollo/client/link/error';
@@ -2546,11 +2546,12 @@ class MockContextProviderBuilder {
2546
2546
 
2547
2547
  }
2548
2548
  const rootContext = () => new MockContextProviderBuilder();
2549
- const TestRoot = styled.div(_t || (_t = _`
2550
- transform: scale(0.99);
2551
- width: 1024px;
2552
- height: 1000px;
2553
- display: inline-block;
2549
+ const TestRoot = tw.div(_t || (_t = _`
2550
+ --tw-scale-x: 0.99;
2551
+ --tw-scale-y: 0.99;
2552
+ w[1024px];
2553
+ h[1000px];
2554
+ inline-block;
2554
2555
  `));
2555
2556
 
2556
2557
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-core-contexts-test",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "MIT",
6
6
  "module": "./index.js",
@@ -12,7 +12,7 @@
12
12
  "react": "17.0.1",
13
13
  "@trackunit/react-core-contexts-api": "0.0.36",
14
14
  "@trackunit/react-core-hooks": "0.0.37",
15
- "@trackunit/ui-theme": "0.0.34",
15
+ "@trackunit/tailwind-styled-components": "0.0.35",
16
16
  "react-router-dom": "^6.2.2",
17
17
  "graphql": "^15.8.0"
18
18
  },