@carbon/charts 1.11.16 → 1.11.18

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 (45) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/{choropleth-ebfc4dda.mjs → choropleth-2ac5a535.mjs} +401 -401
  3. package/dist/{choropleth-ebfc4dda.mjs.map → choropleth-2ac5a535.mjs.map} +1 -1
  4. package/dist/components/index.mjs +1 -1
  5. package/dist/demo/index.mjs +122 -123
  6. package/dist/demo/index.mjs.map +1 -1
  7. package/dist/demo/styles.css +79 -73
  8. package/dist/demo/styles.css.map +1 -1
  9. package/dist/index.mjs +2 -2
  10. package/dist/styles.css +8 -8
  11. package/dist/styles.min.css +1 -1
  12. package/dist/styles.min.css.map +1 -1
  13. package/dist/umd/bundle.umd.js +84 -0
  14. package/dist/umd/bundle.umd.js.map +1 -0
  15. package/package.json +35 -40
  16. package/styles.css +8 -8
  17. package/styles.min.css +1 -1
  18. package/dist/_baseEach-c254cbf6.js +0 -2
  19. package/dist/_baseEach-c254cbf6.js.map +0 -1
  20. package/dist/a11y-c7c9d087.js +0 -2
  21. package/dist/a11y-c7c9d087.js.map +0 -1
  22. package/dist/angle-utils-f4be8d20.js +0 -3
  23. package/dist/angle-utils-f4be8d20.js.map +0 -1
  24. package/dist/choropleth-161e9be8.js +0 -82
  25. package/dist/choropleth-161e9be8.js.map +0 -1
  26. package/dist/color-scale-utils-f797f768.js +0 -2
  27. package/dist/color-scale-utils-f797f768.js.map +0 -1
  28. package/dist/components/index.js +0 -2
  29. package/dist/components/index.js.map +0 -1
  30. package/dist/demo/index.js +0 -441
  31. package/dist/demo/index.js.map +0 -1
  32. package/dist/enums-aa2efd99.js +0 -2
  33. package/dist/enums-aa2efd99.js.map +0 -1
  34. package/dist/index-822564ed.js +0 -2
  35. package/dist/index-822564ed.js.map +0 -1
  36. package/dist/index-c5b4f8ab.js +0 -2
  37. package/dist/index-c5b4f8ab.js.map +0 -1
  38. package/dist/index.js +0 -2
  39. package/dist/index.js.map +0 -1
  40. package/dist/interfaces/index.js +0 -2
  41. package/dist/interfaces/index.js.map +0 -1
  42. package/dist/model/index.js +0 -3
  43. package/dist/model/index.js.map +0 -1
  44. package/dist/services/index.js +0 -2
  45. package/dist/services/index.js.map +0 -1
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@carbon/charts",
3
- "version": "1.11.16",
3
+ "version": "1.11.18",
4
4
  "description": "Carbon Charts component library",
5
5
  "module": "./dist/index.mjs",
6
- "main": "./dist/index.js",
6
+ "main": "./dist/umd/bundle.umd.js",
7
7
  "types": "./dist/index.d.ts",
8
8
  "exports": {
9
9
  "./package.json": "./package.json",
@@ -15,38 +15,33 @@
15
15
  "types": "./dist/index.d.ts",
16
16
  "browser": {
17
17
  "import": "./dist/index.mjs",
18
- "require": "./dist/index.js"
18
+ "require": "./dist/umd/bundle.umd.js"
19
19
  },
20
20
  "node": {
21
21
  "import": "./dist/index.mjs",
22
- "require": "./dist/index.js"
22
+ "require": "./dist/umd/bundle.umd.js"
23
23
  }
24
24
  },
25
25
  "./components": {
26
26
  "types": "./dist/components/index.d.ts",
27
- "import": "./dist/components/index.mjs",
28
- "require": "./dist/components/index.js"
27
+ "import": "./dist/components/index.mjs"
29
28
  },
30
29
  "./demo/styles.css": "./dist/demo/styles.css",
31
30
  "./demo": {
32
31
  "types": "./dist/demo/index.d.ts",
33
- "import": "./dist/demo/index.mjs",
34
- "require": "./dist/demo/index.js"
32
+ "import": "./dist/demo/index.mjs"
35
33
  },
36
34
  "./interfaces": {
37
35
  "types": "./dist/interfaces/index.d.ts",
38
- "import": "./dist/interfaces/index.mjs",
39
- "require": "./dist/interfaces/index.js"
36
+ "import": "./dist/interfaces/index.mjs"
40
37
  },
41
38
  "./model": {
42
39
  "types": "./dist/model/index.d.ts",
43
- "import": "./dist/model/index.mjs",
44
- "require": "./dist/model/index.js"
40
+ "import": "./dist/model/index.mjs"
45
41
  },
46
42
  "./services": {
47
43
  "types": "./dist/services/index.d.ts",
48
- "import": "./dist/services/index.mjs",
49
- "require": "./dist/services/index.js"
44
+ "import": "./dist/services/index.mjs"
50
45
  }
51
46
  },
52
47
  "files": [
@@ -63,7 +58,7 @@
63
58
  "file:css:demo": "sass scss/demos.scss dist/demo/styles.css --load-path=./node_modules --load-path=../../node_modules",
64
59
  "file:downlevel:dts": "downlevel-dts dist dist",
65
60
  "postbundle": "concurrently \"yarn:file:*\"",
66
- "build:package": "vite build && yarn postbundle && cp dist/styles*.css* ./",
61
+ "build:package": "vite build && vite build -c ./vite.umd.config.ts && yarn postbundle && cp dist/styles*.css* ./",
67
62
  "demo:docs": "typedoc ./src/index.ts --out ./demo/bundle/documentation",
68
63
  "demo:storybook": "storybook build -o demo/bundle --quiet",
69
64
  "build:demo": "concurrently \"yarn:demo:*\"",
@@ -83,12 +78,12 @@
83
78
  "homepage": "https://carbon-design-system.github.io/carbon-charts/"
84
79
  },
85
80
  "dependencies": {
86
- "@carbon/colors": "^11.18.1",
81
+ "@carbon/colors": "^11.19.0",
87
82
  "@carbon/telemetry": "~0.1.0",
88
83
  "@carbon/utils-position": "^1.1.4",
89
- "carbon-components": "^10.58.3",
84
+ "carbon-components": "^10.58.8",
90
85
  "d3": "^7.8.5",
91
- "d3-cloud": "^1.2.5",
86
+ "d3-cloud": "^1.2.7",
92
87
  "d3-sankey": "^0.12.3",
93
88
  "date-fns": "^2.30.0",
94
89
  "html-to-image": "^1.11.11",
@@ -110,45 +105,45 @@
110
105
  }
111
106
  },
112
107
  "devDependencies": {
113
- "@babel/core": "^7.22.9",
108
+ "@babel/core": "^7.22.10",
114
109
  "@carbon/import-once": "^10.7.0",
115
- "@carbon/layout": "^11.17.1",
116
- "@carbon/styles": "^1.34.1",
117
- "@carbon/themes": "^11.22.1",
118
- "@rushstack/eslint-patch": "^1.3.2",
110
+ "@carbon/layout": "^11.18.0",
111
+ "@carbon/styles": "^1.35.0",
112
+ "@carbon/themes": "^11.23.0",
113
+ "@rushstack/eslint-patch": "^1.3.3",
119
114
  "@stackblitz/sdk": "^1.9.0",
120
- "@storybook/addon-essentials": "^7.1.1",
121
- "@storybook/addon-interactions": "^7.1.1",
122
- "@storybook/addon-links": "^7.1.1",
123
- "@storybook/blocks": "^7.1.1",
124
- "@storybook/html": "^7.1.1",
125
- "@storybook/html-vite": "^7.1.1",
126
- "@storybook/manager-api": "^7.1.1",
115
+ "@storybook/addon-essentials": "^7.2.2",
116
+ "@storybook/addon-interactions": "^7.2.2",
117
+ "@storybook/addon-links": "^7.2.2",
118
+ "@storybook/blocks": "^7.2.2",
119
+ "@storybook/html": "^7.2.2",
120
+ "@storybook/html-vite": "^7.2.2",
121
+ "@storybook/manager-api": "^7.2.2",
127
122
  "@storybook/testing-library": "^0.2.0",
128
- "@storybook/theming": "^7.1.1",
123
+ "@storybook/theming": "^7.2.2",
129
124
  "@types/d3": "^7.4.0",
130
125
  "@types/d3-cloud": "^1.2.5",
131
126
  "@types/d3-sankey": "^0.12.1",
132
127
  "@types/lodash-es": "^4.17.8",
133
128
  "@types/topojson": "^3.2.3",
134
- "@typescript-eslint/eslint-plugin": "^6.2.0",
135
- "@typescript-eslint/parser": "^6.2.0",
129
+ "@typescript-eslint/eslint-plugin": "^6.3.0",
130
+ "@typescript-eslint/parser": "^6.3.0",
136
131
  "concurrently": "^8.2.0",
137
132
  "downlevel-dts": "^0.11.0",
138
133
  "eslint": "^8.46.0",
139
- "eslint-config-prettier": "^8.9.0",
134
+ "eslint-config-prettier": "^9.0.0",
140
135
  "eslint-plugin-storybook": "^0.6.13",
141
136
  "jsdom": "^22.1.0",
142
137
  "react": "^18.2.0",
143
138
  "react-dom": "^18.2.0",
144
139
  "resize-observer-polyfill": "^1.5.1",
145
- "sass": "^1.64.1",
146
- "storybook": "^7.1.1",
140
+ "sass": "^1.64.2",
141
+ "storybook": "^7.2.2",
147
142
  "typedoc": "^0.24.8",
148
143
  "typescript": "^5.1.6",
149
- "vite": "^4.4.7",
150
- "vite-plugin-dts": "^3.4.0",
151
- "vitest": "^0.33.0"
144
+ "vite": "^4.4.9",
145
+ "vite-plugin-dts": "^3.5.1",
146
+ "vitest": "^0.34.1"
152
147
  },
153
148
  "publishConfig": {
154
149
  "access": "public"
@@ -197,5 +192,5 @@
197
192
  "url": "https://github.com/theiliad"
198
193
  }
199
194
  ],
200
- "gitHead": "f6b3a1ccb0641508d0684386a66d184028da66e4"
195
+ "gitHead": "63f689918fdb079680fd189d5477ff2aecb89665"
201
196
  }
package/styles.css CHANGED
@@ -4922,8 +4922,8 @@ svg.cds--cc--color-legend g.legend-title text {
4922
4922
  --cds-helper-text-01-font-size: 0.75rem;
4923
4923
  --cds-helper-text-01-line-height: 1.33333;
4924
4924
  --cds-helper-text-01-letter-spacing: 0.32px;
4925
- --cds-helper-text-02-font-size: carbon--type-scale(2);
4926
- --cds-helper-text-02-font-weight: carbon--font-weight("regular");
4925
+ --cds-helper-text-02-font-size: 0.875rem;
4926
+ --cds-helper-text-02-font-weight: 400;
4927
4927
  --cds-helper-text-02-line-height: 1.28572;
4928
4928
  --cds-helper-text-02-letter-spacing: 0.16px;
4929
4929
  --cds-body-short-01-font-size: 0.875rem;
@@ -5308,8 +5308,8 @@ svg.cds--cc--color-legend g.legend-title text {
5308
5308
  --cds-helper-text-01-font-size: 0.75rem;
5309
5309
  --cds-helper-text-01-line-height: 1.33333;
5310
5310
  --cds-helper-text-01-letter-spacing: 0.32px;
5311
- --cds-helper-text-02-font-size: carbon--type-scale(2);
5312
- --cds-helper-text-02-font-weight: carbon--font-weight("regular");
5311
+ --cds-helper-text-02-font-size: 0.875rem;
5312
+ --cds-helper-text-02-font-weight: 400;
5313
5313
  --cds-helper-text-02-line-height: 1.28572;
5314
5314
  --cds-helper-text-02-letter-spacing: 0.16px;
5315
5315
  --cds-body-short-01-font-size: 0.875rem;
@@ -5694,8 +5694,8 @@ svg.cds--cc--color-legend g.legend-title text {
5694
5694
  --cds-helper-text-01-font-size: 0.75rem;
5695
5695
  --cds-helper-text-01-line-height: 1.33333;
5696
5696
  --cds-helper-text-01-letter-spacing: 0.32px;
5697
- --cds-helper-text-02-font-size: carbon--type-scale(2);
5698
- --cds-helper-text-02-font-weight: carbon--font-weight("regular");
5697
+ --cds-helper-text-02-font-size: 0.875rem;
5698
+ --cds-helper-text-02-font-weight: 400;
5699
5699
  --cds-helper-text-02-line-height: 1.28572;
5700
5700
  --cds-helper-text-02-letter-spacing: 0.16px;
5701
5701
  --cds-body-short-01-font-size: 0.875rem;
@@ -6080,8 +6080,8 @@ svg.cds--cc--color-legend g.legend-title text {
6080
6080
  --cds-helper-text-01-font-size: 0.75rem;
6081
6081
  --cds-helper-text-01-line-height: 1.33333;
6082
6082
  --cds-helper-text-01-letter-spacing: 0.32px;
6083
- --cds-helper-text-02-font-size: carbon--type-scale(2);
6084
- --cds-helper-text-02-font-weight: carbon--font-weight("regular");
6083
+ --cds-helper-text-02-font-size: 0.875rem;
6084
+ --cds-helper-text-02-font-weight: 400;
6085
6085
  --cds-helper-text-02-line-height: 1.28572;
6086
6086
  --cds-helper-text-02-letter-spacing: 0.16px;
6087
6087
  --cds-body-short-01-font-size: 0.875rem;