@carbon/charts 1.21.4 → 1.22.3
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.
- package/CHANGELOG.md +48 -0
- package/README.md +3 -2
- package/dist/{angle-utils-CGNI01fr.mjs → angle-utils-RQSA_x-9.mjs} +29 -29
- package/dist/{angle-utils-CGNI01fr.mjs.map → angle-utils-RQSA_x-9.mjs.map} +1 -1
- package/dist/{array-D7iT_STy.mjs → array-DUMAG1_w.mjs} +2 -2
- package/dist/{array-D7iT_STy.mjs.map → array-DUMAG1_w.mjs.map} +1 -1
- package/dist/{choropleth-CeqRIFeN.mjs → choropleth-C1BTZZfm.mjs} +954 -919
- package/dist/choropleth-C1BTZZfm.mjs.map +1 -0
- package/dist/{color-scale-utils-f3PWy_Op.mjs → color-scale-utils-CKd_DujW.mjs} +1380 -1375
- package/dist/color-scale-utils-CKd_DujW.mjs.map +1 -0
- package/dist/components/component.d.ts +3 -1
- package/dist/components/index.mjs +1 -1
- package/dist/{index-DFubnvsv.mjs → index-CiAo-vQV.mjs} +558 -534
- package/dist/index-CiAo-vQV.mjs.map +1 -0
- package/dist/index.mjs +35 -35
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/charts.d.ts +3 -0
- package/dist/model/index.mjs +4 -4
- package/dist/model/index.mjs.map +1 -1
- package/dist/services/index.mjs +3 -3
- package/dist/styles.css +294 -288
- package/dist/styles.css.map +1 -1
- package/dist/styles.min.css +1 -1
- package/dist/styles.min.css.map +1 -1
- package/dist/umd/bundle.umd.cjs +17 -22
- package/dist/umd/bundle.umd.cjs.map +1 -1
- package/dist/umd/bundle.umd.js +17 -22
- package/package.json +23 -23
- package/scss/components/_axis.scss +8 -0
- package/styles.css +294 -288
- package/styles.min.css +1 -1
- package/telemetry.yml +1 -1
- package/dist/choropleth-CeqRIFeN.mjs.map +0 -1
- package/dist/color-scale-utils-f3PWy_Op.mjs.map +0 -1
- package/dist/index-DFubnvsv.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,54 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See
|
|
4
4
|
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 1.22.3 (2024-11-18)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @carbon/charts
|
|
9
|
+
|
|
10
|
+
# Change Log
|
|
11
|
+
|
|
12
|
+
All notable changes to this project will be documented in this file. See
|
|
13
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
14
|
+
|
|
15
|
+
## 1.22.2 (2024-11-07)
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
- **yarn:** bundle because CI lacks corepack
|
|
20
|
+
([#1911](https://github.com/carbon-design-system/carbon-charts/issues/1911))
|
|
21
|
+
([513e779](https://github.com/carbon-design-system/carbon-charts/commit/513e7798007f807d1463a25efe7d140d5b038b8e))
|
|
22
|
+
|
|
23
|
+
# Change Log
|
|
24
|
+
|
|
25
|
+
All notable changes to this project will be documented in this file. See
|
|
26
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
27
|
+
|
|
28
|
+
## 1.22.1 (2024-09-27)
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
31
|
+
|
|
32
|
+
- **docs:** switch fonts to s81c cdn
|
|
33
|
+
([#1898](https://github.com/carbon-design-system/carbon-charts/issues/1898))
|
|
34
|
+
([cdfc980](https://github.com/carbon-design-system/carbon-charts/commit/cdfc980596365c90f08e35e91e49cbc2f491fd09))
|
|
35
|
+
|
|
36
|
+
# Change Log
|
|
37
|
+
|
|
38
|
+
All notable changes to this project will be documented in this file. See
|
|
39
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
40
|
+
|
|
41
|
+
# 1.22.0 (2024-09-16)
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
- **a11y:** add aria-label to <svg> elements
|
|
46
|
+
([#1892](https://github.com/carbon-design-system/carbon-charts/issues/1892))
|
|
47
|
+
([65d40e5](https://github.com/carbon-design-system/carbon-charts/commit/65d40e5397336bc9f42f6f008017eebe7bc36c00))
|
|
48
|
+
|
|
49
|
+
# Change Log
|
|
50
|
+
|
|
51
|
+
All notable changes to this project will be documented in this file. See
|
|
52
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
53
|
+
|
|
6
54
|
## 1.21.4 (2024-09-16)
|
|
7
55
|
|
|
8
56
|
**Note:** Version bump only for package @carbon/charts
|
package/README.md
CHANGED
|
@@ -37,8 +37,9 @@ The required styles should be imported from `@carbon/charts/dist/styles.css`.
|
|
|
37
37
|
|
|
38
38
|
## <picture><source height="20" width="20" media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-dark.svg"><source height="20" width="20" media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg"><img height="20" width="20" alt="IBM Telemetry" src="https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg"></picture> IBM Telemetry
|
|
39
39
|
|
|
40
|
-
This package uses IBM Telemetry to collect
|
|
41
|
-
you are agreeing to telemetry
|
|
40
|
+
This package uses IBM Telemetry to collect de-identified and anonymized metrics
|
|
41
|
+
data. By installing this package as a dependency you are agreeing to telemetry
|
|
42
|
+
collection. To opt out, see
|
|
42
43
|
[Opting out of IBM Telemetry data collection](https://github.com/ibm-telemetry/telemetry-js/tree/main#opting-out-of-ibm-telemetry-data-collection).
|
|
43
44
|
For more information on the data being collected, please see the
|
|
44
45
|
[IBM Telemetry documentation](https://github.com/ibm-telemetry/telemetry-js/tree/main#ibm-telemetry-collection-basics).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as qt, Q as be, R as Nt, S as Pe, U as Gt, V as jt, W as at, X as Zt, Y as We, Z as Xt, _ as Qt, g as ne, p as ke } from "./color-scale-utils-
|
|
2
|
-
import { $ as ye,
|
|
1
|
+
import { P as qt, Q as be, R as Nt, S as Pe, U as Gt, V as jt, W as at, X as Zt, Y as We, Z as Xt, _ as Qt, g as ne, p as ke } from "./color-scale-utils-CKd_DujW.mjs";
|
|
2
|
+
import { $ as ye, o as V, T as z } from "./axis-scales-CPuwbFQf.mjs";
|
|
3
3
|
var Jt = /\s/;
|
|
4
4
|
function Kt(e) {
|
|
5
5
|
for (var t = e.length; t-- && Jt.test(e.charAt(t)); )
|
|
@@ -1602,29 +1602,29 @@ class Dt extends bt {
|
|
|
1602
1602
|
function Vi(e) {
|
|
1603
1603
|
const t = Di(vi(e), 360);
|
|
1604
1604
|
return q(t, [0, 10]) || q(t, [350, 0]) ? {
|
|
1605
|
-
textAnchor:
|
|
1606
|
-
dominantBaseline:
|
|
1605
|
+
textAnchor: z.START,
|
|
1606
|
+
dominantBaseline: V.MIDDLE
|
|
1607
1607
|
} : q(t, [10, 80]) ? {
|
|
1608
|
-
textAnchor:
|
|
1609
|
-
dominantBaseline:
|
|
1608
|
+
textAnchor: z.START,
|
|
1609
|
+
dominantBaseline: V.HANGING
|
|
1610
1610
|
} : q(t, [80, 100]) ? {
|
|
1611
|
-
textAnchor:
|
|
1612
|
-
dominantBaseline:
|
|
1611
|
+
textAnchor: z.MIDDLE,
|
|
1612
|
+
dominantBaseline: V.HANGING
|
|
1613
1613
|
} : q(t, [100, 170]) ? {
|
|
1614
|
-
textAnchor:
|
|
1615
|
-
dominantBaseline:
|
|
1614
|
+
textAnchor: z.END,
|
|
1615
|
+
dominantBaseline: V.HANGING
|
|
1616
1616
|
} : q(t, [170, 190]) ? {
|
|
1617
|
-
textAnchor:
|
|
1618
|
-
dominantBaseline:
|
|
1617
|
+
textAnchor: z.END,
|
|
1618
|
+
dominantBaseline: V.MIDDLE
|
|
1619
1619
|
} : q(t, [190, 260]) ? {
|
|
1620
|
-
textAnchor:
|
|
1621
|
-
dominantBaseline:
|
|
1620
|
+
textAnchor: z.END,
|
|
1621
|
+
dominantBaseline: V.BASELINE
|
|
1622
1622
|
} : q(t, [260, 280]) ? {
|
|
1623
|
-
textAnchor:
|
|
1624
|
-
dominantBaseline:
|
|
1623
|
+
textAnchor: z.MIDDLE,
|
|
1624
|
+
dominantBaseline: V.BASELINE
|
|
1625
1625
|
} : {
|
|
1626
|
-
textAnchor:
|
|
1627
|
-
dominantBaseline:
|
|
1626
|
+
textAnchor: z.START,
|
|
1627
|
+
dominantBaseline: V.BASELINE
|
|
1628
1628
|
};
|
|
1629
1629
|
}
|
|
1630
1630
|
function Di(e, t) {
|
|
@@ -1653,21 +1653,21 @@ export {
|
|
|
1653
1653
|
bt as S,
|
|
1654
1654
|
Ni as a,
|
|
1655
1655
|
vi as b,
|
|
1656
|
-
|
|
1656
|
+
Ri as c,
|
|
1657
1657
|
zi as d,
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1658
|
+
Wi as e,
|
|
1659
|
+
ki as f,
|
|
1660
|
+
Ii as g,
|
|
1661
1661
|
Je as h,
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1662
|
+
Oi as i,
|
|
1663
|
+
Ie as j,
|
|
1664
|
+
Pi as k,
|
|
1665
1665
|
Li as l,
|
|
1666
1666
|
Ai as m,
|
|
1667
|
-
|
|
1668
|
-
|
|
1667
|
+
Hi as n,
|
|
1668
|
+
Yi as o,
|
|
1669
1669
|
qi as p,
|
|
1670
|
-
|
|
1670
|
+
$i as q,
|
|
1671
1671
|
Vi as r,
|
|
1672
1672
|
D as s,
|
|
1673
1673
|
Ye as t,
|
|
@@ -1678,4 +1678,4 @@ export {
|
|
|
1678
1678
|
Bi as y,
|
|
1679
1679
|
gn as z
|
|
1680
1680
|
};
|
|
1681
|
-
//# sourceMappingURL=angle-utils-
|
|
1681
|
+
//# sourceMappingURL=angle-utils-RQSA_x-9.mjs.map
|