@carbon/charts 1.13.7 → 1.13.10
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 +27 -0
- package/README.md +1 -1
- package/dist/{_baseEach-8433307e.mjs → _baseEach-_pb8o-nX.mjs} +4 -4
- package/dist/{_baseEach-8433307e.mjs.map → _baseEach-_pb8o-nX.mjs.map} +1 -1
- package/dist/{a11y-7bad4f48.mjs → a11y-SOU26cr5.mjs} +1 -1
- package/dist/{a11y-7bad4f48.mjs.map → a11y-SOU26cr5.mjs.map} +1 -1
- package/dist/{angle-utils-8034b0e5.mjs → angle-utils-lGS6958-.mjs} +5 -5
- package/dist/{angle-utils-8034b0e5.mjs.map → angle-utils-lGS6958-.mjs.map} +1 -1
- package/dist/{choropleth-d532597d.mjs → choropleth-OVZrVx-E.mjs} +431 -431
- package/dist/{choropleth-d532597d.mjs.map → choropleth-OVZrVx-E.mjs.map} +1 -1
- package/dist/{color-scale-utils-2eb80bd2.mjs → color-scale-utils-xGxEq2HZ.mjs} +73 -73
- package/dist/{color-scale-utils-2eb80bd2.mjs.map → color-scale-utils-xGxEq2HZ.mjs.map} +1 -1
- package/dist/components/index.mjs +10 -10
- package/dist/demo/index.mjs +261 -286
- package/dist/demo/index.mjs.map +1 -1
- package/dist/demo/styles.css +1706 -1159
- package/dist/demo/styles.css.map +1 -1
- package/dist/{enums-a96ef472.mjs → enums-tMKLWMMm.mjs} +1 -1
- package/dist/{enums-a96ef472.mjs.map → enums-tMKLWMMm.mjs.map} +1 -1
- package/dist/{index-ec554115.mjs → index-Ez18Vgtt.mjs} +3 -3
- package/dist/index-Ez18Vgtt.mjs.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +60 -60
- package/dist/interfaces/index.d.ts +1 -1
- package/dist/interfaces/index.mjs +2 -2
- package/dist/model/index.mjs +21 -1111
- package/dist/model/index.mjs.map +1 -1
- package/dist/services/index.mjs +17 -17
- package/dist/styles.css +88 -0
- 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.js +14 -14
- package/dist/umd/bundle.umd.js.map +1 -1
- package/dist/wordcloud-R5RMMPUP.mjs +1108 -0
- package/dist/wordcloud-R5RMMPUP.mjs.map +1 -0
- package/dist/{index-e91144ae.mjs → zoom-WD9MTgCJ.mjs} +51 -51
- package/dist/zoom-WD9MTgCJ.mjs.map +1 -0
- package/package.json +23 -28
- package/scss/demos.scss +4 -5
- package/styles.css +88 -0
- package/styles.min.css +1 -1
- package/dist/index-e91144ae.mjs.map +0 -1
- package/dist/index-ec554115.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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.13.10 (2023-12-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.13.9 (2023-12-06)
|
|
16
|
+
|
|
17
|
+
**Note:** Version bump only for package @carbon/charts
|
|
18
|
+
|
|
19
|
+
# Change Log
|
|
20
|
+
|
|
21
|
+
All notable changes to this project will be documented in this file. See
|
|
22
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
23
|
+
|
|
24
|
+
## 1.13.8 (2023-11-15)
|
|
25
|
+
|
|
26
|
+
**Note:** Version bump only for package @carbon/charts
|
|
27
|
+
|
|
28
|
+
# Change Log
|
|
29
|
+
|
|
30
|
+
All notable changes to this project will be documented in this file. See
|
|
31
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
32
|
+
|
|
6
33
|
## 1.13.7 (2023-11-01)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @carbon/charts
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Carbon Charts is a component library for vanilla JavaScript. Chart visualizations are based on D3.js, a peer dependency.
|
|
4
4
|
|
|
5
|
-
The required styles should be imported from `@carbon/charts/styles.css`. Additional documentation is provided in the Storybook demos.
|
|
5
|
+
The required styles should be imported from `@carbon/charts/dist/styles.css`. Additional documentation is provided in the Storybook demos.
|
|
6
6
|
|
|
7
7
|
## Getting started
|
|
8
8
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { e as f, k as h, h as t } from "./color-scale-utils-xGxEq2HZ.mjs";
|
|
2
2
|
function i(a, e) {
|
|
3
|
-
return a && f(a, e,
|
|
3
|
+
return a && f(a, e, h);
|
|
4
4
|
}
|
|
5
5
|
function k(a, e) {
|
|
6
6
|
return function(r, n) {
|
|
7
7
|
if (r == null)
|
|
8
8
|
return r;
|
|
9
|
-
if (!
|
|
9
|
+
if (!t(r))
|
|
10
10
|
return a(r, n);
|
|
11
11
|
for (var u = r.length, s = e ? u : -1, b = Object(r); (e ? s-- : ++s < u) && n(b[s], s, b) !== !1; )
|
|
12
12
|
;
|
|
@@ -18,4 +18,4 @@ const v = E;
|
|
|
18
18
|
export {
|
|
19
19
|
v as b
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=_baseEach-
|
|
21
|
+
//# sourceMappingURL=_baseEach-_pb8o-nX.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_baseEach-
|
|
1
|
+
{"version":3,"file":"_baseEach-_pb8o-nX.mjs","sources":["../../../node_modules/lodash-es/_baseForOwn.js","../../../node_modules/lodash-es/_createBaseEach.js","../../../node_modules/lodash-es/_baseEach.js"],"sourcesContent":["import baseFor from './_baseFor.js';\nimport keys from './keys.js';\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nexport default baseForOwn;\n","import isArrayLike from './isArrayLike.js';\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nexport default createBaseEach;\n","import baseForOwn from './_baseForOwn.js';\nimport createBaseEach from './_createBaseEach.js';\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nexport default baseEach;\n"],"names":["baseForOwn","object","iteratee","baseFor","keys","createBaseEach","eachFunc","fromRight","collection","isArrayLike","length","index","iterable","baseEach","baseEach$1"],"mappings":";AAWA,SAASA,EAAWC,GAAQC,GAAU;AACpC,SAAOD,KAAUE,EAAQF,GAAQC,GAAUE,CAAI;AACjD;ACHA,SAASC,EAAeC,GAAUC,GAAW;AAC3C,SAAO,SAASC,GAAYN,GAAU;AACpC,QAAIM,KAAc;AAChB,aAAOA;AAET,QAAI,CAACC,EAAYD,CAAU;AACzB,aAAOF,EAASE,GAAYN,CAAQ;AAMtC,aAJIQ,IAASF,EAAW,QACpBG,IAAQJ,IAAYG,IAAS,IAC7BE,IAAW,OAAOJ,CAAU,IAExBD,IAAYI,MAAU,EAAEA,IAAQD,MAClCR,EAASU,EAASD,CAAK,GAAGA,GAAOC,CAAQ,MAAM;AAAnD;AAIF,WAAOJ;AAAA,EACX;AACA;AClBA,IAAIK,IAAWR,EAAeL,CAAU;AAExC,MAAAc,IAAeD;","x_google_ignoreList":[0,1,2]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"a11y-
|
|
1
|
+
{"version":3,"file":"a11y-SOU26cr5.mjs","sources":["../src/interfaces/a11y.ts"],"sourcesContent":["export enum Roles {\n\tGRAPHICS_DOCUMENT = 'graphics-document',\n\tGRAPHICS_OBJECT = 'graphics-object',\n\tGRAPHICS_SYMBOL = 'graphics-symbol',\n\tGROUP = 'group',\n\tDOCUMENT = 'document',\n\tCHECKBOX = 'checkbox',\n\tBUTTON = 'button',\n\tMENU = 'menu',\n\tMENU_ITEM = 'menuitem',\n\tIMG = 'img'\n}\n"],"names":["Roles"],"mappings":"AAAY,IAAAA,sBAAAA,OACXA,EAAA,oBAAoB,qBACpBA,EAAA,kBAAkB,mBAClBA,EAAA,kBAAkB,mBAClBA,EAAA,QAAQ,SACRA,EAAA,WAAW,YACXA,EAAA,WAAW,YACXA,EAAA,SAAS,UACTA,EAAA,OAAO,QACPA,EAAA,YAAY,YACZA,EAAA,MAAM,OAVKA,IAAAA,KAAA,CAAA,CAAA;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { select as m } from "d3";
|
|
2
|
-
import {
|
|
3
|
-
import { _ as P, T as E, o as b } from "./enums-
|
|
2
|
+
import { j as fe, l as O, r as de, m as T, n as _ } from "./color-scale-utils-xGxEq2HZ.mjs";
|
|
3
|
+
import { _ as P, T as E, o as b } from "./enums-tMKLWMMm.mjs";
|
|
4
4
|
var me = /\s/;
|
|
5
5
|
function ge(t) {
|
|
6
6
|
for (var e = t.length; e-- && me.test(t.charAt(e)); )
|
|
@@ -11,7 +11,7 @@ var pe = /^\s+/;
|
|
|
11
11
|
function ye(t) {
|
|
12
12
|
return t && t.slice(0, ge(t) + 1).replace(pe, "");
|
|
13
13
|
}
|
|
14
|
-
var q =
|
|
14
|
+
var q = NaN, we = /^[-+]0x[0-9a-f]+$/i, Se = /^0b[01]+$/i, Ee = /^0o[0-7]+$/i, be = parseInt;
|
|
15
15
|
function j(t) {
|
|
16
16
|
if (typeof t == "number")
|
|
17
17
|
return t;
|
|
@@ -89,7 +89,7 @@ function Le(t, e) {
|
|
|
89
89
|
const n = document.implementation.createHTMLDocument(), r = n.createElement("base"), i = n.createElement("a");
|
|
90
90
|
return n.head.appendChild(r), n.body.appendChild(i), e && (r.href = e), i.href = t, i.href;
|
|
91
91
|
}
|
|
92
|
-
const De = (() => {
|
|
92
|
+
const De = /* @__PURE__ */ (() => {
|
|
93
93
|
let t = 0;
|
|
94
94
|
const e = () => (
|
|
95
95
|
// eslint-disable-next-line no-bitwise
|
|
@@ -849,4 +849,4 @@ export {
|
|
|
849
849
|
Ct as r,
|
|
850
850
|
j as t
|
|
851
851
|
};
|
|
852
|
-
//# sourceMappingURL=angle-utils-
|
|
852
|
+
//# sourceMappingURL=angle-utils-lGS6958-.mjs.map
|