@sproutsocial/seeds-react-tooltip 1.1.3 → 1.1.6

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.
@@ -10,12 +10,12 @@ $ tsup --dts
10
10
  ESM Build start
11
11
  CJS dist/index.js 6.73 KB
12
12
  CJS dist/index.js.map 11.16 KB
13
- CJS ⚡️ Build success in 54ms
13
+ CJS ⚡️ Build success in 76ms
14
14
  ESM dist/esm/index.js 4.74 KB
15
15
  ESM dist/esm/index.js.map 11.05 KB
16
- ESM ⚡️ Build success in 55ms
16
+ ESM ⚡️ Build success in 79ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 5866ms
18
+ DTS ⚡️ Build success in 5901ms
19
19
  DTS dist/index.d.ts 2.30 KB
20
20
  DTS dist/index.d.mts 2.30 KB
21
- Done in 7.11s.
21
+ Done in 7.20s.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @sproutsocial/seeds-react-tooltip
2
2
 
3
+ ## 1.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [118e300]
8
+ - @sproutsocial/seeds-react-theme@3.5.1
9
+ - @sproutsocial/seeds-react-box@1.1.13
10
+ - @sproutsocial/seeds-react-popout@2.4.24
11
+
12
+ ## 1.1.5
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [c2f3166]
17
+ - @sproutsocial/seeds-react-popout@2.4.23
18
+
19
+ ## 1.1.4
20
+
21
+ ### Patch Changes
22
+
23
+ - @sproutsocial/seeds-react-popout@2.4.22
24
+
3
25
  ## 1.1.3
4
26
 
5
27
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sproutsocial/seeds-react-tooltip",
3
- "version": "1.1.3",
3
+ "version": "1.1.6",
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.21",
24
- "@sproutsocial/seeds-react-box": "^1.1.12",
23
+ "@sproutsocial/seeds-react-popout": "^2.4.24",
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.1",
39
- "@sproutsocial/seeds-react-banner": "^1.0.21",
40
- "@sproutsocial/seeds-react-button": "^1.3.15",
38
+ "@sproutsocial/seeds-react-icon": "^2.2.4",
39
+ "@sproutsocial/seeds-react-banner": "^1.0.24",
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 () => {