@sproutsocial/seeds-react-numeral 1.0.39 → 1.0.47

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.55 KB
12
12
  CJS dist/index.js.map 9.75 KB
13
- CJS ⚡️ Build success in 16ms
13
+ CJS ⚡️ Build success in 14ms
14
14
  ESM dist/esm/index.js 4.44 KB
15
15
  ESM dist/esm/index.js.map 9.64 KB
16
- ESM ⚡️ Build success in 16ms
16
+ ESM ⚡️ Build success in 14ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 1671ms
18
+ DTS ⚡️ Build success in 2190ms
19
19
  DTS dist/index.d.ts 1.29 KB
20
20
  DTS dist/index.d.mts 1.29 KB
21
- Done in 2.39s.
21
+ Done in 3.19s.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,74 @@
1
1
  # @sproutsocial/seeds-react-numeral
2
2
 
3
+ ## 1.0.47
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [edc1819]
8
+ - @sproutsocial/seeds-react-text@1.4.3
9
+
10
+ ## 1.0.46
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [5892f44]
15
+ - @sproutsocial/seeds-react-system-props@3.1.1
16
+ - @sproutsocial/seeds-react-tooltip@1.1.27
17
+ - @sproutsocial/seeds-react-text@1.4.2
18
+ - @sproutsocial/seeds-react-visually-hidden@1.0.22
19
+
20
+ ## 1.0.45
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies [5114a32]
25
+ - @sproutsocial/seeds-react-theme@4.1.0
26
+ - @sproutsocial/seeds-react-tooltip@1.1.26
27
+ - @sproutsocial/seeds-react-visually-hidden@1.0.21
28
+
29
+ ## 1.0.44
30
+
31
+ ### Patch Changes
32
+
33
+ - Updated dependencies [132ef9d]
34
+ - Updated dependencies [132ef9d]
35
+ - @sproutsocial/seeds-react-theme@4.0.0
36
+ - @sproutsocial/seeds-react-system-props@3.1.0
37
+ - @sproutsocial/seeds-react-tooltip@1.1.25
38
+ - @sproutsocial/seeds-react-visually-hidden@1.0.20
39
+ - @sproutsocial/seeds-react-text@1.4.1
40
+
41
+ ## 1.0.43
42
+
43
+ ### Patch Changes
44
+
45
+ - Updated dependencies [47c62b3]
46
+ - @sproutsocial/seeds-react-theme@3.7.1
47
+ - @sproutsocial/seeds-react-tooltip@1.1.24
48
+ - @sproutsocial/seeds-react-visually-hidden@1.0.19
49
+
50
+ ## 1.0.42
51
+
52
+ ### Patch Changes
53
+
54
+ - Updated dependencies [06da9c2]
55
+ - @sproutsocial/seeds-react-theme@3.7.0
56
+ - @sproutsocial/seeds-react-tooltip@1.1.23
57
+ - @sproutsocial/seeds-react-visually-hidden@1.0.18
58
+
59
+ ## 1.0.41
60
+
61
+ ### Patch Changes
62
+
63
+ - Updated dependencies [e5f4df1]
64
+ - @sproutsocial/seeds-react-tooltip@1.1.22
65
+
66
+ ## 1.0.40
67
+
68
+ ### Patch Changes
69
+
70
+ - @sproutsocial/seeds-react-tooltip@1.1.21
71
+
3
72
  ## 1.0.39
4
73
 
5
74
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sproutsocial/seeds-react-numeral",
3
- "version": "1.0.39",
3
+ "version": "1.0.47",
4
4
  "description": "Seeds React Numeral",
5
5
  "author": "Sprout Social, Inc.",
6
6
  "license": "MIT",
@@ -18,11 +18,11 @@
18
18
  "test:watch": "jest --watch --coverage=false"
19
19
  },
20
20
  "dependencies": {
21
- "@sproutsocial/seeds-react-theme": "^3.6.2",
22
- "@sproutsocial/seeds-react-system-props": "^3.0.1",
23
- "@sproutsocial/seeds-react-tooltip": "^1.1.20",
24
- "@sproutsocial/seeds-react-text": "^1.4.0",
25
- "@sproutsocial/seeds-react-visually-hidden": "^1.0.17",
21
+ "@sproutsocial/seeds-react-theme": "^4.1.0",
22
+ "@sproutsocial/seeds-react-system-props": "^3.1.1",
23
+ "@sproutsocial/seeds-react-tooltip": "^1.1.27",
24
+ "@sproutsocial/seeds-react-text": "^1.4.3",
25
+ "@sproutsocial/seeds-react-visually-hidden": "^1.0.22",
26
26
  "lru-memoize": "~1.0.2"
27
27
  },
28
28
  "devDependencies": {
@@ -1,10 +1,6 @@
1
1
  /* eslint-env jest, node */
2
2
  import React from "react";
3
- import {
4
- render,
5
- fireEvent,
6
- screen,
7
- } from "@sproutsocial/seeds-react-testing-library";
3
+ import { render, screen } from "@sproutsocial/seeds-react-testing-library";
8
4
  import Numeral, { formatNumeral } from "../../Numeral";
9
5
 
10
6
  jest.mock("../../constants.ts", () => ({
@@ -38,10 +34,12 @@ const testNumeral = (
38
34
 
39
35
  if (tooltipText) {
40
36
  test(`Should display ${value} abbreviated as -> ${mainText} with tooltip -> ${tooltipText} `, async () => {
41
- const { container } = render(<Numeral number={value} {...options} />);
37
+ const { container, user } = render(
38
+ <Numeral number={value} {...options} />
39
+ );
42
40
  const numeral = screen.getByText(mainText);
43
41
  const tooltip = container.querySelector("[data-qa-tooltip]");
44
- fireEvent.mouseOver(numeral);
42
+ await user.hover(tooltip!);
45
43
  const content = await screen.findByText(tooltipText);
46
44
  expect(numeral).toBeInTheDocument();
47
45
  expect(tooltip).toBeTruthy();