@stackshift-ui/text-component 6.0.13 → 7.0.0-beta.1

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stackshift-ui/text-component",
3
3
  "description": "",
4
- "version": "6.0.13",
4
+ "version": "7.0.0-beta.1",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",
@@ -36,16 +36,16 @@
36
36
  "dependencies": {
37
37
  "@portabletext/react": "^3.1.0",
38
38
  "@portabletext/types": "^2.0.13",
39
- "@stackshift-ui/flex": "6.0.11",
40
- "@stackshift-ui/scripts": "6.0.10",
41
- "@stackshift-ui/container": "6.0.11",
42
- "@stackshift-ui/section": "6.0.11",
43
- "@stackshift-ui/system": "6.0.11",
44
- "@stackshift-ui/heading": "6.0.11"
39
+ "@stackshift-ui/heading": "7.0.0-beta.1",
40
+ "@stackshift-ui/container": "7.0.0-beta.1",
41
+ "@stackshift-ui/system": "6.1.0-beta.1",
42
+ "@stackshift-ui/section": "7.0.0-beta.1",
43
+ "@stackshift-ui/flex": "7.0.0-beta.1",
44
+ "@stackshift-ui/scripts": "6.1.0-beta.0"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@types/react": "16.8 - 19",
48
- "@stackshift-ui/system": ">=6.0.11",
48
+ "@stackshift-ui/system": ">=6.1.0-beta.1",
49
49
  "next": "10 - 14",
50
50
  "react": "16.8 - 19",
51
51
  "react-dom": "16.8 - 19"
@@ -26,7 +26,7 @@ describe("text-component", () => {
26
26
 
27
27
  test("variant_a: renders without errors", async ({ expect }) => {
28
28
  // @todo: We should consider adding this static data into its own repository so we can reuse it across different projects
29
- render(
29
+ const { unmount } = render(
30
30
  <TextComponent
31
31
  data={{
32
32
  variant: "variant_a",
@@ -41,11 +41,12 @@ describe("text-component", () => {
41
41
  expect(
42
42
  screen.getByText(/Etiam facilisis mauris leo, eu aliquet est iaculis eu/),
43
43
  ).toBeInTheDocument();
44
+ unmount();
44
45
  });
45
46
 
46
47
  test("variant_b: renders without errors", async ({ expect }) => {
47
48
  // @todo: We should consider adding this static data into its own repository so we can reuse it across different projects
48
- render(
49
+ const { unmount } = render(
49
50
  <TextComponent
50
51
  data={{
51
52
  variant: "variant_b",
@@ -60,5 +61,6 @@ describe("text-component", () => {
60
61
  expect(
61
62
  screen.getByText(/Etiam facilisis mauris leo, eu aliquet est iaculis eu/),
62
63
  ).toBeInTheDocument();
64
+ unmount();
63
65
  });
64
66
  });