@sproutsocial/seeds-dataviz 0.7.0 → 0.7.2

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.
Files changed (2) hide show
  1. package/package.json +4 -3
  2. package/seeds-dataviz.d.ts +53 -0
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@sproutsocial/seeds-dataviz",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "description": "Seeds Data Visualization Tokens",
5
5
  "main": "seeds-dataviz.js",
6
6
  "types": "seeds-dataviz.d.ts",
7
7
  "files": [
8
8
  "seeds-dataviz.js",
9
- "seeds-dataviz.scss"
9
+ "seeds-dataviz.scss",
10
+ "seeds-dataviz.d.ts"
10
11
  ],
11
12
  "repository": {
12
13
  "type": "git",
@@ -18,7 +19,7 @@
18
19
  "clean:modules": "rm -rf node_modules"
19
20
  },
20
21
  "dependencies": {
21
- "@sproutsocial/seeds-color": "*"
22
+ "@sproutsocial/seeds-color": "^2.2.0"
22
23
  },
23
24
  "engines": {
24
25
  "node": "^20.12.2"
@@ -0,0 +1,53 @@
1
+ declare module "@sproutsocial/seeds-dataviz" {
2
+ export const DATAVIZ_COLORS_LIST: [
3
+ string,
4
+ string,
5
+ string,
6
+ string,
7
+ string,
8
+ string,
9
+ string,
10
+ string,
11
+ string,
12
+ string,
13
+ string,
14
+ string,
15
+ string,
16
+ string,
17
+ string,
18
+ string,
19
+ string,
20
+ string,
21
+ string,
22
+ string
23
+ ];
24
+
25
+ export const DATAVIZ_COLORS_MAP: {
26
+ 1: string;
27
+ 2: string;
28
+ 3: string;
29
+ 4: string;
30
+ 5: string;
31
+ 6: string;
32
+ 7: string;
33
+ 8: string;
34
+ 9: string;
35
+ 10: string;
36
+ 11: string;
37
+ 12: string;
38
+ 13: string;
39
+ 14: string;
40
+ 15: string;
41
+ 16: string;
42
+ 17: string;
43
+ 18: string;
44
+ 19: string;
45
+ 20: string;
46
+ };
47
+
48
+ const defaultExport: {
49
+ DATAVIZ_COLORS_LIST: typeof DATAVIZ_COLORS_LIST;
50
+ DATAVIZ_COLORS_MAP: typeof DATAVIZ_COLORS_MAP;
51
+ };
52
+ export default defaultExport;
53
+ }