@sproutsocial/seeds-react-tooltip 1.1.4 → 1.1.7

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.
@@ -8,14 +8,14 @@ $ tsup --dts
8
8
  CLI Cleaning output folder
9
9
  CJS Build start
10
10
  ESM Build start
11
- ESM dist/esm/index.js 4.74 KB
12
- ESM dist/esm/index.js.map 11.05 KB
13
- ESM ⚡️ Build success in 62ms
14
11
  CJS dist/index.js 6.73 KB
15
12
  CJS dist/index.js.map 11.16 KB
16
- CJS ⚡️ Build success in 63ms
13
+ CJS ⚡️ Build success in 90ms
14
+ ESM dist/esm/index.js 4.74 KB
15
+ ESM dist/esm/index.js.map 11.05 KB
16
+ ESM ⚡️ Build success in 92ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 5621ms
18
+ DTS ⚡️ Build success in 6175ms
19
19
  DTS dist/index.d.ts 2.30 KB
20
20
  DTS dist/index.d.mts 2.30 KB
21
- Done in 6.83s.
21
+ Done in 7.49s.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @sproutsocial/seeds-react-tooltip
2
2
 
3
+ ## 1.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [65e410f]
8
+ - @sproutsocial/seeds-react-popout@2.4.25
9
+
10
+ ## 1.1.6
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [118e300]
15
+ - @sproutsocial/seeds-react-theme@3.5.1
16
+ - @sproutsocial/seeds-react-box@1.1.13
17
+ - @sproutsocial/seeds-react-popout@2.4.24
18
+
19
+ ## 1.1.5
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [c2f3166]
24
+ - @sproutsocial/seeds-react-popout@2.4.23
25
+
3
26
  ## 1.1.4
4
27
 
5
28
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sproutsocial/seeds-react-tooltip",
3
- "version": "1.1.4",
3
+ "version": "1.1.7",
4
4
  "description": "Seeds React Tooltip",
5
5
  "author": "Sprout Social, Inc.",
6
6
  "license": "MIT",
@@ -18,10 +18,10 @@
18
18
  "test:watch": "jest --watch --coverage=false"
19
19
  },
20
20
  "dependencies": {
21
- "@sproutsocial/seeds-react-theme": "^3.5.0",
21
+ "@sproutsocial/seeds-react-theme": "^3.5.1",
22
22
  "@sproutsocial/seeds-react-system-props": "^3.0.1",
23
- "@sproutsocial/seeds-react-popout": "^2.4.22",
24
- "@sproutsocial/seeds-react-box": "^1.1.12",
23
+ "@sproutsocial/seeds-react-popout": "^2.4.25",
24
+ "@sproutsocial/seeds-react-box": "^1.1.13",
25
25
  "@sproutsocial/seeds-motion": "^1.8.2"
26
26
  },
27
27
  "devDependencies": {
@@ -35,11 +35,11 @@
35
35
  "@sproutsocial/seeds-tsconfig": "*",
36
36
  "@sproutsocial/seeds-testing": "*",
37
37
  "@sproutsocial/seeds-react-testing-library": "*",
38
- "@sproutsocial/seeds-react-icon": "^2.2.2",
39
- "@sproutsocial/seeds-react-banner": "^1.0.22",
40
- "@sproutsocial/seeds-react-button": "^1.3.16",
38
+ "@sproutsocial/seeds-react-icon": "^2.2.4",
39
+ "@sproutsocial/seeds-react-banner": "^1.1.0",
40
+ "@sproutsocial/seeds-react-button": "^1.3.18",
41
41
  "@sproutsocial/seeds-react-text": "^1.4.0",
42
- "@sproutsocial/seeds-react-portal": "^1.1.4"
42
+ "@sproutsocial/seeds-react-portal": "^1.2.0"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "styled-components": "^5.2.3"
@@ -27,12 +27,17 @@ jest.mock("popper.js", () => {
27
27
  };
28
28
  });
29
29
 
30
- jest.mock(
31
- "@sproutsocial/seeds-react-portal",
32
- () =>
33
- ({ children }: { children: React.ReactNode }) =>
34
- <div>{children}</div>
35
- );
30
+ jest.mock("@sproutsocial/seeds-react-portal", () => {
31
+ const Portal = ({ children }: { children: React.ReactNode }) => (
32
+ <div>{children}</div>
33
+ );
34
+ Portal.DisablePortalToBodyContext = require("react").createContext(false);
35
+ return {
36
+ __esModule: true,
37
+ default: Portal,
38
+ DisablePortalToBodyContext: Portal.DisablePortalToBodyContext,
39
+ };
40
+ });
36
41
  describe("Tooltip", () => {
37
42
  describe("rendering all valid `React.Node`s", () => {
38
43
  it("should render string content", async () => {