@carbon/charts 1.16.10 → 1.16.11
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 +13 -0
- package/dist/demo/index.mjs +59 -59
- package/dist/umd/bundle.umd.js +86 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
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.16.11 (2024-06-18)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **umd:** duplicate umd.cjs file to umd.js to prevent breaking change
|
|
11
|
+
([#1858](https://github.com/carbon-design-system/carbon-charts/issues/1858))
|
|
12
|
+
([e1f896c](https://github.com/carbon-design-system/carbon-charts/commit/e1f896cf8754390fd0ca2ff46affbadfa75e9f65))
|
|
13
|
+
|
|
14
|
+
# Change Log
|
|
15
|
+
|
|
16
|
+
All notable changes to this project will be documented in this file. See
|
|
17
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
18
|
+
|
|
6
19
|
## 1.16.10 (2024-06-17)
|
|
7
20
|
|
|
8
21
|
### Bug Fixes
|
package/dist/demo/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as _, A as i, u as QM, t as jM } from "../enums-DwsxZqjR.mjs";
|
|
2
|
-
const
|
|
2
|
+
const UA = [
|
|
3
3
|
{ group: "Dataset 1", date: new Date(2019, 0, 1), value: 0 },
|
|
4
4
|
{ group: "Dataset 1", date: new Date(2019, 0, 6), value: 57312 },
|
|
5
5
|
{ group: "Dataset 1", date: new Date(2019, 0, 8), value: 21432 },
|
|
@@ -317,7 +317,7 @@ const mA = [
|
|
|
317
317
|
areaSkeletonOptions: wA,
|
|
318
318
|
areaTimeSeriesCurvedData: vA,
|
|
319
319
|
areaTimeSeriesCurvedOptions: HA,
|
|
320
|
-
areaTimeSeriesData:
|
|
320
|
+
areaTimeSeriesData: UA,
|
|
321
321
|
areaTimeSeriesOptions: GA,
|
|
322
322
|
boundedAreaTimeSeriesData: V,
|
|
323
323
|
boundedAreaTimeSeriesOptions: YA,
|
|
@@ -958,7 +958,7 @@ const mA = [
|
|
|
958
958
|
scaleType: _.TIME
|
|
959
959
|
}
|
|
960
960
|
}
|
|
961
|
-
},
|
|
961
|
+
}, m_ = [
|
|
962
962
|
{ group: "Dataset 1", date: new Date(2019, 0, 1, 8, 5, 6, 111), value: 0 },
|
|
963
963
|
{ group: "Dataset 1", date: new Date(2019, 0, 1, 8, 5, 6, 222), value: 65e3 },
|
|
964
964
|
{ group: "Dataset 1", date: new Date(2019, 0, 1, 8, 5, 6, 333), value: 1e4 },
|
|
@@ -979,7 +979,7 @@ const mA = [
|
|
|
979
979
|
{ group: "Dataset 4", date: new Date(2019, 0, 1, 8, 5, 6, 333), value: 51432 },
|
|
980
980
|
{ group: "Dataset 4", date: new Date(2019, 0, 1, 8, 5, 6, 444), value: 40323 },
|
|
981
981
|
{ group: "Dataset 4", date: new Date(2019, 0, 1, 8, 5, 6, 555), value: 0 }
|
|
982
|
-
],
|
|
982
|
+
], U_ = {
|
|
983
983
|
title: "Vertical stacked bar (short interval time series)",
|
|
984
984
|
axes: {
|
|
985
985
|
left: {
|
|
@@ -1236,8 +1236,8 @@ const mA = [
|
|
|
1236
1236
|
stackedBarNegativeData: B_,
|
|
1237
1237
|
stackedBarNegativeOptions: c_,
|
|
1238
1238
|
stackedBarOptions: LA,
|
|
1239
|
-
stackedBarShortIntervalTimeSeriesData:
|
|
1240
|
-
stackedBarShortIntervalTimeSeriesOptions:
|
|
1239
|
+
stackedBarShortIntervalTimeSeriesData: m_,
|
|
1240
|
+
stackedBarShortIntervalTimeSeriesOptions: U_,
|
|
1241
1241
|
stackedBarSkeletonData: w_,
|
|
1242
1242
|
stackedBarSkeletonOptions: J_,
|
|
1243
1243
|
stackedBarTimeSeriesData: F,
|
|
@@ -1700,7 +1700,7 @@ const mA = [
|
|
|
1700
1700
|
data: {
|
|
1701
1701
|
loading: !0
|
|
1702
1702
|
}
|
|
1703
|
-
},
|
|
1703
|
+
}, me = [
|
|
1704
1704
|
{ group: "Temperature", date: new Date(2019, 0, 1), temp: 23 },
|
|
1705
1705
|
{ group: "Temperature", date: new Date(2019, 1, 1), temp: 15 },
|
|
1706
1706
|
{ group: "Temperature", date: new Date(2019, 2, 1), temp: 24 },
|
|
@@ -1715,7 +1715,7 @@ const mA = [
|
|
|
1715
1715
|
{ group: "Rainfall", date: new Date(2019, 4, 1), rainfall: 53 },
|
|
1716
1716
|
{ group: "Rainfall", date: new Date(2019, 5, 1), rainfall: 19 },
|
|
1717
1717
|
{ group: "Rainfall", date: new Date(2019, 6, 1), rainfall: 13 }
|
|
1718
|
-
],
|
|
1718
|
+
], Ue = {
|
|
1719
1719
|
title: "Line + Line (dual axes)",
|
|
1720
1720
|
axes: {
|
|
1721
1721
|
left: {
|
|
@@ -1754,7 +1754,7 @@ const mA = [
|
|
|
1754
1754
|
}
|
|
1755
1755
|
}, _3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1756
1756
|
__proto__: null,
|
|
1757
|
-
dualLine:
|
|
1757
|
+
dualLine: Ue,
|
|
1758
1758
|
lineCustomColorOptions: Fe,
|
|
1759
1759
|
lineCustomDomainOptions: Ce,
|
|
1760
1760
|
lineData: B,
|
|
@@ -1774,7 +1774,7 @@ const mA = [
|
|
|
1774
1774
|
lineTimeSeriesDataRotatedTicks: ue,
|
|
1775
1775
|
lineTimeSeriesDenseData: se,
|
|
1776
1776
|
lineTimeSeriesDenseOptions: le,
|
|
1777
|
-
lineTimeSeriesDualAxesData:
|
|
1777
|
+
lineTimeSeriesDualAxesData: me,
|
|
1778
1778
|
lineTimeSeriesOptions: s,
|
|
1779
1779
|
lineTimeSeriesRotatedTicksOptions: Te,
|
|
1780
1780
|
lineTimeSeriesWithThresholdsOptions: Ie,
|
|
@@ -44964,7 +44964,7 @@ const mA = [
|
|
|
44964
44964
|
label: "Browsers"
|
|
44965
44965
|
}
|
|
44966
44966
|
}
|
|
44967
|
-
},
|
|
44967
|
+
}, ma = [], Ua = {
|
|
44968
44968
|
title: "Donut (skeleton)",
|
|
44969
44969
|
resizable: !0,
|
|
44970
44970
|
donut: {
|
|
@@ -44985,8 +44985,8 @@ const mA = [
|
|
|
44985
44985
|
donutEmptyStateOptions: pa,
|
|
44986
44986
|
donutMapsToOptions: ca,
|
|
44987
44987
|
donutOptions: ua,
|
|
44988
|
-
donutSkeletonData:
|
|
44989
|
-
donutSkeletonOptions:
|
|
44988
|
+
donutSkeletonData: ma,
|
|
44989
|
+
donutSkeletonOptions: Ua
|
|
44990
44990
|
}, Symbol.toStringTag, { value: "Module" })), $ = [
|
|
44991
44991
|
{ group: "value", value: 42 },
|
|
44992
44992
|
{ group: "delta", value: -13.37 }
|
|
@@ -46114,7 +46114,7 @@ const mA = [
|
|
|
46114
46114
|
legend: {
|
|
46115
46115
|
clickable: !1
|
|
46116
46116
|
}
|
|
46117
|
-
},
|
|
46117
|
+
}, mS = PA, US = {
|
|
46118
46118
|
title: "Line (time series) - Time interval monthly with French locale",
|
|
46119
46119
|
axes: {
|
|
46120
46120
|
left: {
|
|
@@ -46404,7 +46404,7 @@ const mA = [
|
|
|
46404
46404
|
lineTimeSeriesDataHourlyDefaultTicksFormats: TA,
|
|
46405
46405
|
lineTimeSeriesDataIntervalOverride: KS,
|
|
46406
46406
|
lineTimeSeriesDataMinute: RS,
|
|
46407
|
-
lineTimeSeriesDataMonthlyCustomLocale:
|
|
46407
|
+
lineTimeSeriesDataMonthlyCustomLocale: mS,
|
|
46408
46408
|
lineTimeSeriesDataMonthlyDefaultLocale: PA,
|
|
46409
46409
|
lineTimeSeriesDataQuarterly: GS,
|
|
46410
46410
|
lineTimeSeriesDataSingleDatum: hS,
|
|
@@ -46415,7 +46415,7 @@ const mA = [
|
|
|
46415
46415
|
lineTimeSeriesHourlyDefaultLocaleOptions: lS,
|
|
46416
46416
|
lineTimeSeriesIntervalOverrideOptions: vS,
|
|
46417
46417
|
lineTimeSeriesMinuteOptions: FS,
|
|
46418
|
-
lineTimeSeriesMonthlyCustomLocaleOptions:
|
|
46418
|
+
lineTimeSeriesMonthlyCustomLocaleOptions: US,
|
|
46419
46419
|
lineTimeSeriesMonthlyDefaultLocaleOptions: pS,
|
|
46420
46420
|
lineTimeSeriesNoExtendedDomainData: VS,
|
|
46421
46421
|
lineTimeSeriesNoExtendedDomainOptions: bS,
|
|
@@ -47164,9 +47164,9 @@ const mA = [
|
|
|
47164
47164
|
), cM = uA, dM = D(
|
|
47165
47165
|
Object.assign({}, lA),
|
|
47166
47166
|
{ sliderView: !0 }
|
|
47167
|
-
), pM = Y,
|
|
47167
|
+
), pM = Y, mM = D(
|
|
47168
47168
|
Object.assign({}, k)
|
|
47169
|
-
),
|
|
47169
|
+
), UM = Y, f = D(
|
|
47170
47170
|
Object.assign({}, k),
|
|
47171
47171
|
{ sliderView: !0 }
|
|
47172
47172
|
);
|
|
@@ -47287,9 +47287,9 @@ const s3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
47287
47287
|
zoomBarGroupedBarTimeSeriesData: iM,
|
|
47288
47288
|
zoomBarGroupedBarTimeSeriesOptions: CM,
|
|
47289
47289
|
zoomBarLineTimeSeries15secondsData: pM,
|
|
47290
|
-
zoomBarLineTimeSeries15secondsOptions:
|
|
47290
|
+
zoomBarLineTimeSeries15secondsOptions: mM,
|
|
47291
47291
|
zoomBarLineTimeSeriesData: uM,
|
|
47292
|
-
zoomBarLineTimeSeriesInitDomainData:
|
|
47292
|
+
zoomBarLineTimeSeriesInitDomainData: UM,
|
|
47293
47293
|
zoomBarLineTimeSeriesInitDomainOptions: f,
|
|
47294
47294
|
zoomBarLineTimeSeriesOptions: TM,
|
|
47295
47295
|
zoomBarLockedData: gM,
|
|
@@ -47679,7 +47679,7 @@ const s3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
47679
47679
|
boundedAreaTimeSeriesWithHighlightsOptions: cA,
|
|
47680
47680
|
boundedAreaTimeSeriesWithHighlightsZoomOptions: fM,
|
|
47681
47681
|
highlightBoundedAreaTimeSeriesData: aA
|
|
47682
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
47682
|
+
}, Symbol.toStringTag, { value: "Module" })), U = [
|
|
47683
47683
|
{
|
|
47684
47684
|
letter: "A",
|
|
47685
47685
|
month: "January",
|
|
@@ -48319,7 +48319,7 @@ const s3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48319
48319
|
heatmap: {
|
|
48320
48320
|
colorLegend: { title: "Legend title", type: "quantize" }
|
|
48321
48321
|
}
|
|
48322
|
-
}), JM =
|
|
48322
|
+
}), JM = U.map((e) => ({
|
|
48323
48323
|
...e,
|
|
48324
48324
|
value: e.value / 10 * (Math.round(Math.random()) ? -1 : 1)
|
|
48325
48325
|
})), zM = {
|
|
@@ -48813,7 +48813,7 @@ const s3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48813
48813
|
}
|
|
48814
48814
|
}, T3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
48815
48815
|
__proto__: null,
|
|
48816
|
-
heatmapData:
|
|
48816
|
+
heatmapData: U,
|
|
48817
48817
|
heatmapDomainOptions: zM,
|
|
48818
48818
|
heatmapMissingData: xM,
|
|
48819
48819
|
heatmapMissingDataOptions: XM,
|
|
@@ -48821,7 +48821,7 @@ const s3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48821
48821
|
heatmapPositiveNegativeData: JM,
|
|
48822
48822
|
heatmapPositiveNegativeOptions: wM,
|
|
48823
48823
|
heatmapQuantizeLegendOption: ZM
|
|
48824
|
-
}, Symbol.toStringTag, { value: "Module" })), tE = "@carbon/charts", LE = "1.16.
|
|
48824
|
+
}, Symbol.toStringTag, { value: "Module" })), tE = "@carbon/charts", LE = "1.16.11", DE = "Carbon Charts component library", oE = "module", rE = "./dist/index.mjs", nE = "./dist/umd/bundle.umd.cjs", iE = "./dist/index.d.ts", CE = {
|
|
48825
48825
|
"./package.json": "./package.json",
|
|
48826
48826
|
"./styles.min.css": "./dist/styles.min.css",
|
|
48827
48827
|
"./styles.css": "./dist/styles.css",
|
|
@@ -48873,7 +48873,7 @@ const s3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48873
48873
|
"file:css:demo": "sass scss/demos.scss dist/demo/styles.css --load-path=./node_modules --load-path=../../node_modules",
|
|
48874
48874
|
"file:downlevel:dts": "downlevel-dts dist dist",
|
|
48875
48875
|
postbundle: 'concurrently "yarn:file:*"',
|
|
48876
|
-
"build:package": "vite build && vite build -c ./vite.umd.config.ts && yarn postbundle && cp dist/styles*.css* ./",
|
|
48876
|
+
"build:package": "vite build && vite build -c ./vite.umd.config.ts && cp dist/umd/bundle.umd.cjs dist/umd/bundle.umd.js && yarn postbundle && cp dist/styles*.css* ./",
|
|
48877
48877
|
"demo:docs": "typedoc ./src/index.ts --excludeExternals --out ./demo/bundle/documentation",
|
|
48878
48878
|
"demo:storybook": "storybook build -o demo/bundle --quiet",
|
|
48879
48879
|
"build:demo": 'concurrently "yarn:demo:*"',
|
|
@@ -48922,7 +48922,7 @@ const s3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48922
48922
|
jsdom: "^24.1.0",
|
|
48923
48923
|
prettier: "^3.3.2",
|
|
48924
48924
|
"resize-observer-polyfill": "^1.5.1",
|
|
48925
|
-
sass: "^1.77.
|
|
48925
|
+
sass: "^1.77.6",
|
|
48926
48926
|
storybook: "^7.6.19",
|
|
48927
48927
|
typedoc: "^0.25.13",
|
|
48928
48928
|
typescript: "^5.4.5",
|
|
@@ -48991,7 +48991,7 @@ const s3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48991
48991
|
maintainers: BE,
|
|
48992
48992
|
contributors: cE,
|
|
48993
48993
|
gitHead: dE
|
|
48994
|
-
}, pE = "@carbon/charts-react",
|
|
48994
|
+
}, pE = "@carbon/charts-react", mE = "1.16.11", UE = "Carbon Charts component library for React", GE = "module", gE = "./dist/index.mjs", KE = "./dist/index.umd.cjs", vE = "./dist/index.d.ts", yE = {
|
|
48995
48995
|
"./package.json": "./package.json",
|
|
48996
48996
|
".": {
|
|
48997
48997
|
types: "./dist/index.d.ts",
|
|
@@ -49011,7 +49011,7 @@ const s3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49011
49011
|
"file:styles": "cp ../core/dist/styles.* dist",
|
|
49012
49012
|
"file:downlevel:dts": "downlevel-dts dist dist",
|
|
49013
49013
|
postbundle: 'concurrently "yarn:file:*"',
|
|
49014
|
-
"build:package": "vite build && yarn postbundle",
|
|
49014
|
+
"build:package": "vite build && cp dist/index.umd.cjs dist/index.umd.js && yarn postbundle",
|
|
49015
49015
|
"demo:mdx:react": "cp ../core/src/stories/getting-started/react.stories.mdx src/stories",
|
|
49016
49016
|
"demo:mdx:tutorials": "cp ../core/src/stories/tutorials/* src/stories",
|
|
49017
49017
|
"demo:mdx": 'concurrently "yarn:demo:mdx:*"',
|
|
@@ -49042,7 +49042,7 @@ const s3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49042
49042
|
prettier: "^3.3.2",
|
|
49043
49043
|
react: "^18.3.1",
|
|
49044
49044
|
"react-dom": "^18.3.1",
|
|
49045
|
-
sass: "^1.77.
|
|
49045
|
+
sass: "^1.77.6",
|
|
49046
49046
|
storybook: "^7.6.19",
|
|
49047
49047
|
typescript: "^5.4.5",
|
|
49048
49048
|
vite: "^5.3.1",
|
|
@@ -49097,8 +49097,8 @@ const s3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49097
49097
|
}
|
|
49098
49098
|
], QE = "f7037103474e53901678dd9e62095b0b1f0f62c4", jE = {
|
|
49099
49099
|
name: pE,
|
|
49100
|
-
version:
|
|
49101
|
-
description:
|
|
49100
|
+
version: mE,
|
|
49101
|
+
description: UE,
|
|
49102
49102
|
type: GE,
|
|
49103
49103
|
module: gE,
|
|
49104
49104
|
main: KE,
|
|
@@ -49119,7 +49119,7 @@ const s3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49119
49119
|
maintainers: xE,
|
|
49120
49120
|
contributors: XE,
|
|
49121
49121
|
gitHead: QE
|
|
49122
|
-
}, qE = "@carbon/charts-svelte", $E = "1.16.
|
|
49122
|
+
}, qE = "@carbon/charts-svelte", $E = "1.16.11", AN = "Carbon Charts component library for Svelte", _N = {
|
|
49123
49123
|
postinstall: "ibmtelemetry --config=telemetry.yml",
|
|
49124
49124
|
"file:styles": "cp ../core/dist/styles.* dist",
|
|
49125
49125
|
"build:package": "svelte-kit sync && svelte-package && yarn file:styles",
|
|
@@ -49166,7 +49166,7 @@ const s3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49166
49166
|
publint: "^0.2.8",
|
|
49167
49167
|
storybook: "^7.6.19",
|
|
49168
49168
|
svelte: "^4.2.18",
|
|
49169
|
-
"svelte-check": "^3.8.
|
|
49169
|
+
"svelte-check": "^3.8.1",
|
|
49170
49170
|
tslib: "^2.6.3",
|
|
49171
49171
|
typescript: "^5.4.5",
|
|
49172
49172
|
vite: "^5.3.1"
|
|
@@ -49240,7 +49240,7 @@ const s3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49240
49240
|
author: FN,
|
|
49241
49241
|
keywords: IN,
|
|
49242
49242
|
gitHead: sN
|
|
49243
|
-
}, lN = "@carbon/charts-vue", uN = "1.16.
|
|
49243
|
+
}, lN = "@carbon/charts-vue", uN = "1.16.11", TN = "Carbon Charts component library for Vue", PN = "module", BN = "./dist/index.mjs", cN = "./dist/index.d.ts", dN = {
|
|
49244
49244
|
"./styles.min.css": "./dist/styles.min.css",
|
|
49245
49245
|
"./styles.css": "./dist/styles.css",
|
|
49246
49246
|
".": {
|
|
@@ -49252,7 +49252,7 @@ const s3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49252
49252
|
"dist",
|
|
49253
49253
|
"CHANGELOG.md",
|
|
49254
49254
|
"telemetry.yml"
|
|
49255
|
-
],
|
|
49255
|
+
], mN = {
|
|
49256
49256
|
postinstall: "ibmtelemetry --config=telemetry.yml",
|
|
49257
49257
|
"file:styles": "cp ../core/dist/styles.* dist",
|
|
49258
49258
|
"build:package": "vite build && yarn file:styles",
|
|
@@ -49267,7 +49267,7 @@ const s3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49267
49267
|
format: "prettier . --write --ignore-path ../../.prettierignore",
|
|
49268
49268
|
clean: "rm -rf dist demo/bundle",
|
|
49269
49269
|
"pub:demo": "cp -a demo/bundle/. ../../pages/vue"
|
|
49270
|
-
},
|
|
49270
|
+
}, UN = {
|
|
49271
49271
|
vue: "^3.4.0"
|
|
49272
49272
|
}, GN = {
|
|
49273
49273
|
"@carbon/charts": "workspace:*",
|
|
@@ -49328,8 +49328,8 @@ const s3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
49328
49328
|
types: cN,
|
|
49329
49329
|
exports: dN,
|
|
49330
49330
|
files: pN,
|
|
49331
|
-
scripts:
|
|
49332
|
-
peerDependencies:
|
|
49331
|
+
scripts: mN,
|
|
49332
|
+
peerDependencies: UN,
|
|
49333
49333
|
dependencies: GN,
|
|
49334
49334
|
devDependencies: gN,
|
|
49335
49335
|
publishConfig: KN,
|
|
@@ -50058,28 +50058,28 @@ const fN = (e) => {
|
|
|
50058
50058
|
document.documentElement.setAttribute("data-carbon-theme", L), a.model.setOptions({ ...a.model.getOptions(), theme: L });
|
|
50059
50059
|
});
|
|
50060
50060
|
});
|
|
50061
|
-
},
|
|
50061
|
+
}, m = (e) => `https://charts.carbondesignsystem.com/${e !== "vanilla" ? `${e}/` : ""}${window.parent.location.search}`, B3 = (e, a) => {
|
|
50062
50062
|
var t;
|
|
50063
50063
|
let S = [
|
|
50064
50064
|
{
|
|
50065
50065
|
name: "Vanilla JavaScript",
|
|
50066
|
-
link:
|
|
50066
|
+
link: m("vanilla")
|
|
50067
50067
|
},
|
|
50068
50068
|
{
|
|
50069
50069
|
name: "Angular",
|
|
50070
|
-
link:
|
|
50070
|
+
link: m("angular")
|
|
50071
50071
|
},
|
|
50072
50072
|
{
|
|
50073
50073
|
name: "React",
|
|
50074
|
-
link:
|
|
50074
|
+
link: m("react")
|
|
50075
50075
|
},
|
|
50076
50076
|
{
|
|
50077
50077
|
name: "Svelte",
|
|
50078
|
-
link:
|
|
50078
|
+
link: m("svelte")
|
|
50079
50079
|
},
|
|
50080
50080
|
{
|
|
50081
50081
|
name: "Vue",
|
|
50082
|
-
link:
|
|
50082
|
+
link: m("vue")
|
|
50083
50083
|
}
|
|
50084
50084
|
];
|
|
50085
50085
|
S = S.filter((L) => L.name !== a);
|
|
@@ -50312,8 +50312,8 @@ const fN = (e) => {
|
|
|
50312
50312
|
chartType: A.LineChart
|
|
50313
50313
|
},
|
|
50314
50314
|
{
|
|
50315
|
-
data:
|
|
50316
|
-
options:
|
|
50315
|
+
data: mS,
|
|
50316
|
+
options: US,
|
|
50317
50317
|
chartType: A.LineChart
|
|
50318
50318
|
},
|
|
50319
50319
|
{
|
|
@@ -50552,13 +50552,13 @@ const fN = (e) => {
|
|
|
50552
50552
|
chartType: A.LineChart
|
|
50553
50553
|
},
|
|
50554
50554
|
{
|
|
50555
|
-
options:
|
|
50555
|
+
options: mM,
|
|
50556
50556
|
data: pM,
|
|
50557
50557
|
chartType: A.LineChart
|
|
50558
50558
|
},
|
|
50559
50559
|
{
|
|
50560
50560
|
options: f,
|
|
50561
|
-
data:
|
|
50561
|
+
data: UM,
|
|
50562
50562
|
chartType: A.LineChart
|
|
50563
50563
|
},
|
|
50564
50564
|
{
|
|
@@ -50591,7 +50591,7 @@ const fN = (e) => {
|
|
|
50591
50591
|
},
|
|
50592
50592
|
{
|
|
50593
50593
|
options: GA,
|
|
50594
|
-
data:
|
|
50594
|
+
data: UA,
|
|
50595
50595
|
chartType: A.AreaChart
|
|
50596
50596
|
},
|
|
50597
50597
|
{
|
|
@@ -50782,8 +50782,8 @@ const fN = (e) => {
|
|
|
50782
50782
|
chartType: A.StackedBarChart
|
|
50783
50783
|
},
|
|
50784
50784
|
{
|
|
50785
|
-
options:
|
|
50786
|
-
data:
|
|
50785
|
+
options: U_,
|
|
50786
|
+
data: m_,
|
|
50787
50787
|
chartType: A.StackedBarChart
|
|
50788
50788
|
},
|
|
50789
50789
|
{
|
|
@@ -50973,8 +50973,8 @@ const fN = (e) => {
|
|
|
50973
50973
|
chartType: A.DonutChart
|
|
50974
50974
|
},
|
|
50975
50975
|
{
|
|
50976
|
-
options:
|
|
50977
|
-
data:
|
|
50976
|
+
options: Ua,
|
|
50977
|
+
data: ma,
|
|
50978
50978
|
chartType: A.DonutChart
|
|
50979
50979
|
}
|
|
50980
50980
|
]
|
|
@@ -51041,8 +51041,8 @@ const fN = (e) => {
|
|
|
51041
51041
|
chartType: A.LineChart
|
|
51042
51042
|
},
|
|
51043
51043
|
{
|
|
51044
|
-
options:
|
|
51045
|
-
data:
|
|
51044
|
+
options: Ue,
|
|
51045
|
+
data: me,
|
|
51046
51046
|
chartType: A.LineChart
|
|
51047
51047
|
},
|
|
51048
51048
|
{
|
|
@@ -51356,12 +51356,12 @@ const fN = (e) => {
|
|
|
51356
51356
|
demos: [
|
|
51357
51357
|
{
|
|
51358
51358
|
options: dA,
|
|
51359
|
-
data:
|
|
51359
|
+
data: U,
|
|
51360
51360
|
chartType: A.HeatmapChart
|
|
51361
51361
|
},
|
|
51362
51362
|
{
|
|
51363
51363
|
options: ZM,
|
|
51364
|
-
data:
|
|
51364
|
+
data: U,
|
|
51365
51365
|
chartType: A.HeatmapChart
|
|
51366
51366
|
},
|
|
51367
51367
|
{
|
|
@@ -51376,7 +51376,7 @@ const fN = (e) => {
|
|
|
51376
51376
|
},
|
|
51377
51377
|
{
|
|
51378
51378
|
options: zM,
|
|
51379
|
-
data:
|
|
51379
|
+
data: U,
|
|
51380
51380
|
chartType: A.HeatmapChart
|
|
51381
51381
|
}
|
|
51382
51382
|
]
|
|
@@ -51412,7 +51412,7 @@ const fN = (e) => {
|
|
|
51412
51412
|
}
|
|
51413
51413
|
].map((e) => (e.storyGroupTitle = "Complex charts", e));
|
|
51414
51414
|
let SA = [...zN, ...xN, ...XN];
|
|
51415
|
-
const
|
|
51415
|
+
const mA = (e) => e.replace(/[^\w\s]/gi, "").replace(/\s\s+/g, " ").toLowerCase().replace(/\s+/g, "-"), QN = (e) => e.sort((a, S) => S.title - a.title).map((a) => (a.demos = a.demos.map((S) => (S.title = S.options.title, S.id = `${mA(a.title)}--${mA(S.options.title)}`, S.options.height = S.options.height ?? "400px", S.code = {
|
|
51416
51416
|
vanilla: WN(S),
|
|
51417
51417
|
angular: VN(S),
|
|
51418
51418
|
react: bN(S),
|