@cloudscape-design/chart-components 1.0.86 → 1.0.88
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/core/chart-api/chart-extra-legend.js +2 -1
- package/core/chart-api/chart-extra-legend.js.map +1 -1
- package/core/chart-api/chart-extra-navigation.js +2 -1
- package/core/chart-api/chart-extra-navigation.js.map +1 -1
- package/core/chart-api/chart-extra-pointer.js +1 -1
- package/core/chart-api/chart-extra-pointer.js.map +1 -1
- package/core/chart-api/chart-extra-tooltip.js +2 -1
- package/core/chart-api/chart-extra-tooltip.js.map +1 -1
- package/core/components/core-tooltip.js +2 -1
- package/core/components/core-tooltip.js.map +1 -1
- package/core/utils.d.ts +0 -1
- package/core/utils.js +0 -6
- package/core/utils.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/styles/tokens.d.ts +4 -0
- package/internal/generated/styles/tokens.js +4 -0
- package/internal/generated/theming/index.cjs +52 -0
- package/internal/generated/theming/index.cjs.d.ts +27 -0
- package/internal/generated/theming/index.d.ts +27 -0
- package/internal/generated/theming/index.js +52 -0
- package/internal/manifest.json +1 -1
- package/internal/utils/chart-series.js +5 -5
- package/internal/utils/chart-series.js.map +1 -1
- package/internal/utils/series-data.d.ts +1 -0
- package/internal/utils/series-data.js +13 -4
- package/internal/utils/series-data.js.map +1 -1
- package/package.json +1 -1
|
@@ -323,9 +323,12 @@ export declare interface TypedOverride {
|
|
|
323
323
|
borderWidthIconLarge?: GlobalValue;
|
|
324
324
|
borderRadiusActionCardDefault?: GlobalValue;
|
|
325
325
|
borderRadiusActionCardEmbedded?: GlobalValue;
|
|
326
|
+
sizeVerticalInput?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
326
327
|
spaceAlertVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
327
328
|
spaceButtonHorizontal?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
328
329
|
spaceButtonVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
330
|
+
spaceTokenVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
331
|
+
spaceFieldVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
329
332
|
spaceCardHorizontalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
330
333
|
spaceCardHorizontalEmbedded?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
331
334
|
spaceCardVerticalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
@@ -656,9 +659,12 @@ export declare interface TypedOverride {
|
|
|
656
659
|
borderWidthIconLarge?: GlobalValue;
|
|
657
660
|
borderRadiusActionCardDefault?: GlobalValue;
|
|
658
661
|
borderRadiusActionCardEmbedded?: GlobalValue;
|
|
662
|
+
sizeVerticalInput?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
659
663
|
spaceAlertVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
660
664
|
spaceButtonHorizontal?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
661
665
|
spaceButtonVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
666
|
+
spaceTokenVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
667
|
+
spaceFieldVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
662
668
|
spaceCardHorizontalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
663
669
|
spaceCardHorizontalEmbedded?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
664
670
|
spaceCardVerticalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
@@ -989,9 +995,12 @@ export declare interface TypedOverride {
|
|
|
989
995
|
borderWidthIconLarge?: GlobalValue;
|
|
990
996
|
borderRadiusActionCardDefault?: GlobalValue;
|
|
991
997
|
borderRadiusActionCardEmbedded?: GlobalValue;
|
|
998
|
+
sizeVerticalInput?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
992
999
|
spaceAlertVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
993
1000
|
spaceButtonHorizontal?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
994
1001
|
spaceButtonVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1002
|
+
spaceTokenVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1003
|
+
spaceFieldVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
995
1004
|
spaceCardHorizontalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
996
1005
|
spaceCardHorizontalEmbedded?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
997
1006
|
spaceCardVerticalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
@@ -1322,9 +1331,12 @@ export declare interface TypedOverride {
|
|
|
1322
1331
|
borderWidthIconLarge?: GlobalValue;
|
|
1323
1332
|
borderRadiusActionCardDefault?: GlobalValue;
|
|
1324
1333
|
borderRadiusActionCardEmbedded?: GlobalValue;
|
|
1334
|
+
sizeVerticalInput?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1325
1335
|
spaceAlertVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1326
1336
|
spaceButtonHorizontal?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1327
1337
|
spaceButtonVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1338
|
+
spaceTokenVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1339
|
+
spaceFieldVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1328
1340
|
spaceCardHorizontalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1329
1341
|
spaceCardHorizontalEmbedded?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1330
1342
|
spaceCardVerticalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
@@ -1655,9 +1667,12 @@ export declare interface TypedOverride {
|
|
|
1655
1667
|
borderWidthIconLarge?: GlobalValue;
|
|
1656
1668
|
borderRadiusActionCardDefault?: GlobalValue;
|
|
1657
1669
|
borderRadiusActionCardEmbedded?: GlobalValue;
|
|
1670
|
+
sizeVerticalInput?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1658
1671
|
spaceAlertVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1659
1672
|
spaceButtonHorizontal?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1660
1673
|
spaceButtonVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1674
|
+
spaceTokenVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1675
|
+
spaceFieldVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1661
1676
|
spaceCardHorizontalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1662
1677
|
spaceCardHorizontalEmbedded?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1663
1678
|
spaceCardVerticalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
@@ -1988,9 +2003,12 @@ export declare interface TypedOverride {
|
|
|
1988
2003
|
borderWidthIconLarge?: GlobalValue;
|
|
1989
2004
|
borderRadiusActionCardDefault?: GlobalValue;
|
|
1990
2005
|
borderRadiusActionCardEmbedded?: GlobalValue;
|
|
2006
|
+
sizeVerticalInput?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1991
2007
|
spaceAlertVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1992
2008
|
spaceButtonHorizontal?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1993
2009
|
spaceButtonVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2010
|
+
spaceTokenVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2011
|
+
spaceFieldVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1994
2012
|
spaceCardHorizontalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1995
2013
|
spaceCardHorizontalEmbedded?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1996
2014
|
spaceCardVerticalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
@@ -2321,9 +2339,12 @@ export declare interface TypedOverride {
|
|
|
2321
2339
|
borderWidthIconLarge?: GlobalValue;
|
|
2322
2340
|
borderRadiusActionCardDefault?: GlobalValue;
|
|
2323
2341
|
borderRadiusActionCardEmbedded?: GlobalValue;
|
|
2342
|
+
sizeVerticalInput?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2324
2343
|
spaceAlertVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2325
2344
|
spaceButtonHorizontal?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2326
2345
|
spaceButtonVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2346
|
+
spaceTokenVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2347
|
+
spaceFieldVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2327
2348
|
spaceCardHorizontalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2328
2349
|
spaceCardHorizontalEmbedded?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2329
2350
|
spaceCardVerticalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
@@ -2654,9 +2675,12 @@ export declare interface TypedOverride {
|
|
|
2654
2675
|
borderWidthIconLarge?: GlobalValue;
|
|
2655
2676
|
borderRadiusActionCardDefault?: GlobalValue;
|
|
2656
2677
|
borderRadiusActionCardEmbedded?: GlobalValue;
|
|
2678
|
+
sizeVerticalInput?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2657
2679
|
spaceAlertVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2658
2680
|
spaceButtonHorizontal?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2659
2681
|
spaceButtonVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2682
|
+
spaceTokenVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2683
|
+
spaceFieldVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2660
2684
|
spaceCardHorizontalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2661
2685
|
spaceCardHorizontalEmbedded?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2662
2686
|
spaceCardVerticalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
@@ -2987,9 +3011,12 @@ export declare interface TypedOverride {
|
|
|
2987
3011
|
borderWidthIconLarge?: GlobalValue;
|
|
2988
3012
|
borderRadiusActionCardDefault?: GlobalValue;
|
|
2989
3013
|
borderRadiusActionCardEmbedded?: GlobalValue;
|
|
3014
|
+
sizeVerticalInput?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2990
3015
|
spaceAlertVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2991
3016
|
spaceButtonHorizontal?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2992
3017
|
spaceButtonVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
3018
|
+
spaceTokenVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
3019
|
+
spaceFieldVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2993
3020
|
spaceCardHorizontalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2994
3021
|
spaceCardHorizontalEmbedded?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2995
3022
|
spaceCardVerticalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
@@ -323,9 +323,12 @@ export declare interface TypedOverride {
|
|
|
323
323
|
borderWidthIconLarge?: GlobalValue;
|
|
324
324
|
borderRadiusActionCardDefault?: GlobalValue;
|
|
325
325
|
borderRadiusActionCardEmbedded?: GlobalValue;
|
|
326
|
+
sizeVerticalInput?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
326
327
|
spaceAlertVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
327
328
|
spaceButtonHorizontal?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
328
329
|
spaceButtonVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
330
|
+
spaceTokenVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
331
|
+
spaceFieldVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
329
332
|
spaceCardHorizontalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
330
333
|
spaceCardHorizontalEmbedded?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
331
334
|
spaceCardVerticalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
@@ -656,9 +659,12 @@ export declare interface TypedOverride {
|
|
|
656
659
|
borderWidthIconLarge?: GlobalValue;
|
|
657
660
|
borderRadiusActionCardDefault?: GlobalValue;
|
|
658
661
|
borderRadiusActionCardEmbedded?: GlobalValue;
|
|
662
|
+
sizeVerticalInput?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
659
663
|
spaceAlertVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
660
664
|
spaceButtonHorizontal?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
661
665
|
spaceButtonVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
666
|
+
spaceTokenVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
667
|
+
spaceFieldVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
662
668
|
spaceCardHorizontalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
663
669
|
spaceCardHorizontalEmbedded?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
664
670
|
spaceCardVerticalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
@@ -989,9 +995,12 @@ export declare interface TypedOverride {
|
|
|
989
995
|
borderWidthIconLarge?: GlobalValue;
|
|
990
996
|
borderRadiusActionCardDefault?: GlobalValue;
|
|
991
997
|
borderRadiusActionCardEmbedded?: GlobalValue;
|
|
998
|
+
sizeVerticalInput?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
992
999
|
spaceAlertVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
993
1000
|
spaceButtonHorizontal?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
994
1001
|
spaceButtonVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1002
|
+
spaceTokenVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1003
|
+
spaceFieldVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
995
1004
|
spaceCardHorizontalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
996
1005
|
spaceCardHorizontalEmbedded?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
997
1006
|
spaceCardVerticalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
@@ -1322,9 +1331,12 @@ export declare interface TypedOverride {
|
|
|
1322
1331
|
borderWidthIconLarge?: GlobalValue;
|
|
1323
1332
|
borderRadiusActionCardDefault?: GlobalValue;
|
|
1324
1333
|
borderRadiusActionCardEmbedded?: GlobalValue;
|
|
1334
|
+
sizeVerticalInput?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1325
1335
|
spaceAlertVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1326
1336
|
spaceButtonHorizontal?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1327
1337
|
spaceButtonVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1338
|
+
spaceTokenVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1339
|
+
spaceFieldVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1328
1340
|
spaceCardHorizontalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1329
1341
|
spaceCardHorizontalEmbedded?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1330
1342
|
spaceCardVerticalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
@@ -1655,9 +1667,12 @@ export declare interface TypedOverride {
|
|
|
1655
1667
|
borderWidthIconLarge?: GlobalValue;
|
|
1656
1668
|
borderRadiusActionCardDefault?: GlobalValue;
|
|
1657
1669
|
borderRadiusActionCardEmbedded?: GlobalValue;
|
|
1670
|
+
sizeVerticalInput?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1658
1671
|
spaceAlertVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1659
1672
|
spaceButtonHorizontal?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1660
1673
|
spaceButtonVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1674
|
+
spaceTokenVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1675
|
+
spaceFieldVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1661
1676
|
spaceCardHorizontalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1662
1677
|
spaceCardHorizontalEmbedded?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1663
1678
|
spaceCardVerticalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
@@ -1988,9 +2003,12 @@ export declare interface TypedOverride {
|
|
|
1988
2003
|
borderWidthIconLarge?: GlobalValue;
|
|
1989
2004
|
borderRadiusActionCardDefault?: GlobalValue;
|
|
1990
2005
|
borderRadiusActionCardEmbedded?: GlobalValue;
|
|
2006
|
+
sizeVerticalInput?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1991
2007
|
spaceAlertVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1992
2008
|
spaceButtonHorizontal?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1993
2009
|
spaceButtonVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2010
|
+
spaceTokenVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2011
|
+
spaceFieldVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1994
2012
|
spaceCardHorizontalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1995
2013
|
spaceCardHorizontalEmbedded?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
1996
2014
|
spaceCardVerticalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
@@ -2321,9 +2339,12 @@ export declare interface TypedOverride {
|
|
|
2321
2339
|
borderWidthIconLarge?: GlobalValue;
|
|
2322
2340
|
borderRadiusActionCardDefault?: GlobalValue;
|
|
2323
2341
|
borderRadiusActionCardEmbedded?: GlobalValue;
|
|
2342
|
+
sizeVerticalInput?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2324
2343
|
spaceAlertVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2325
2344
|
spaceButtonHorizontal?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2326
2345
|
spaceButtonVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2346
|
+
spaceTokenVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2347
|
+
spaceFieldVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2327
2348
|
spaceCardHorizontalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2328
2349
|
spaceCardHorizontalEmbedded?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2329
2350
|
spaceCardVerticalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
@@ -2654,9 +2675,12 @@ export declare interface TypedOverride {
|
|
|
2654
2675
|
borderWidthIconLarge?: GlobalValue;
|
|
2655
2676
|
borderRadiusActionCardDefault?: GlobalValue;
|
|
2656
2677
|
borderRadiusActionCardEmbedded?: GlobalValue;
|
|
2678
|
+
sizeVerticalInput?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2657
2679
|
spaceAlertVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2658
2680
|
spaceButtonHorizontal?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2659
2681
|
spaceButtonVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2682
|
+
spaceTokenVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2683
|
+
spaceFieldVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2660
2684
|
spaceCardHorizontalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2661
2685
|
spaceCardHorizontalEmbedded?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2662
2686
|
spaceCardVerticalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
@@ -2987,9 +3011,12 @@ export declare interface TypedOverride {
|
|
|
2987
3011
|
borderWidthIconLarge?: GlobalValue;
|
|
2988
3012
|
borderRadiusActionCardDefault?: GlobalValue;
|
|
2989
3013
|
borderRadiusActionCardEmbedded?: GlobalValue;
|
|
3014
|
+
sizeVerticalInput?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2990
3015
|
spaceAlertVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2991
3016
|
spaceButtonHorizontal?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2992
3017
|
spaceButtonVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
3018
|
+
spaceTokenVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
3019
|
+
spaceFieldVertical?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2993
3020
|
spaceCardHorizontalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2994
3021
|
spaceCardHorizontalEmbedded?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
2995
3022
|
spaceCardVerticalDefault?: GlobalValue | TypedModeValueOverride<'comfortable' | 'compact'>;
|
|
@@ -2730,6 +2730,14 @@ export var preset = {
|
|
|
2730
2730
|
"comfortable": "{spaceScaledXxs}",
|
|
2731
2731
|
"compact": "{spaceScaledXxs}"
|
|
2732
2732
|
},
|
|
2733
|
+
"spaceTokenVertical": {
|
|
2734
|
+
"comfortable": "{spaceScaledXxs}",
|
|
2735
|
+
"compact": "{spaceScaledXxs}"
|
|
2736
|
+
},
|
|
2737
|
+
"spaceFieldVertical": {
|
|
2738
|
+
"comfortable": "5px",
|
|
2739
|
+
"compact": "3px"
|
|
2740
|
+
},
|
|
2733
2741
|
"spaceButtonIconFocusOutlineGutterVertical": {
|
|
2734
2742
|
"comfortable": "0px",
|
|
2735
2743
|
"compact": "0px"
|
|
@@ -3002,6 +3010,14 @@ export var preset = {
|
|
|
3002
3010
|
"comfortable": "{spaceScaledXs}",
|
|
3003
3011
|
"compact": "{spaceScaledXs}"
|
|
3004
3012
|
},
|
|
3013
|
+
"spaceOptionPaddingVertical": {
|
|
3014
|
+
"comfortable": "{spaceXxs}",
|
|
3015
|
+
"compact": "{spaceXxs}"
|
|
3016
|
+
},
|
|
3017
|
+
"spaceOptionPaddingHorizontal": {
|
|
3018
|
+
"comfortable": "{spaceL}",
|
|
3019
|
+
"compact": "{spaceL}"
|
|
3020
|
+
},
|
|
3005
3021
|
"spaceScaled2xNone": {
|
|
3006
3022
|
"comfortable": "{spaceNone}",
|
|
3007
3023
|
"compact": "{spaceNone}"
|
|
@@ -3264,6 +3280,14 @@ export var preset = {
|
|
|
3264
3280
|
"comfortable": "{spaceScaledXxs}",
|
|
3265
3281
|
"compact": "{spaceScaledXxs}"
|
|
3266
3282
|
},
|
|
3283
|
+
"spaceTokenVertical": {
|
|
3284
|
+
"comfortable": "{spaceScaledXxs}",
|
|
3285
|
+
"compact": "{spaceScaledXxs}"
|
|
3286
|
+
},
|
|
3287
|
+
"spaceFieldVertical": {
|
|
3288
|
+
"comfortable": "5px",
|
|
3289
|
+
"compact": "3px"
|
|
3290
|
+
},
|
|
3267
3291
|
"spaceButtonIconFocusOutlineGutterVertical": {
|
|
3268
3292
|
"comfortable": "0px",
|
|
3269
3293
|
"compact": "0px"
|
|
@@ -3536,6 +3560,14 @@ export var preset = {
|
|
|
3536
3560
|
"comfortable": "{spaceScaledXs}",
|
|
3537
3561
|
"compact": "{spaceScaledXs}"
|
|
3538
3562
|
},
|
|
3563
|
+
"spaceOptionPaddingVertical": {
|
|
3564
|
+
"comfortable": "{spaceXxs}",
|
|
3565
|
+
"compact": "{spaceXxs}"
|
|
3566
|
+
},
|
|
3567
|
+
"spaceOptionPaddingHorizontal": {
|
|
3568
|
+
"comfortable": "{spaceL}",
|
|
3569
|
+
"compact": "{spaceL}"
|
|
3570
|
+
},
|
|
3539
3571
|
"spaceScaled2xNone": {
|
|
3540
3572
|
"comfortable": "{spaceNone}",
|
|
3541
3573
|
"compact": "{spaceNone}"
|
|
@@ -12228,6 +12260,8 @@ export var preset = {
|
|
|
12228
12260
|
"spaceButtonFocusOutlineGutter": "density",
|
|
12229
12261
|
"spaceButtonHorizontal": "density",
|
|
12230
12262
|
"spaceButtonVertical": "density",
|
|
12263
|
+
"spaceTokenVertical": "density",
|
|
12264
|
+
"spaceFieldVertical": "density",
|
|
12231
12265
|
"spaceButtonIconFocusOutlineGutterVertical": "density",
|
|
12232
12266
|
"spaceButtonIconOnlyHorizontal": "density",
|
|
12233
12267
|
"spaceButtonInlineIconFocusOutlineGutter": "density",
|
|
@@ -12296,6 +12330,8 @@ export var preset = {
|
|
|
12296
12330
|
"spaceActionCardVerticalEmbedded": "density",
|
|
12297
12331
|
"spaceActionCardDescriptionPaddingTop": "density",
|
|
12298
12332
|
"spaceActionCardContentPaddingTop": "density",
|
|
12333
|
+
"spaceOptionPaddingVertical": "density",
|
|
12334
|
+
"spaceOptionPaddingHorizontal": "density",
|
|
12299
12335
|
"spaceScaled2xNone": "density",
|
|
12300
12336
|
"spaceScaled2xXxxs": "density",
|
|
12301
12337
|
"spaceScaled2xXxs": "density",
|
|
@@ -12893,9 +12929,12 @@ export var preset = {
|
|
|
12893
12929
|
"borderWidthIconLarge",
|
|
12894
12930
|
"borderRadiusActionCardDefault",
|
|
12895
12931
|
"borderRadiusActionCardEmbedded",
|
|
12932
|
+
"sizeVerticalInput",
|
|
12896
12933
|
"spaceAlertVertical",
|
|
12897
12934
|
"spaceButtonHorizontal",
|
|
12898
12935
|
"spaceButtonVertical",
|
|
12936
|
+
"spaceTokenVertical",
|
|
12937
|
+
"spaceFieldVertical",
|
|
12899
12938
|
"spaceCardHorizontalDefault",
|
|
12900
12939
|
"spaceCardHorizontalEmbedded",
|
|
12901
12940
|
"spaceCardVerticalDefault",
|
|
@@ -13336,9 +13375,12 @@ export var preset = {
|
|
|
13336
13375
|
"motionKeyframesFadeOut",
|
|
13337
13376
|
"motionKeyframesStatusIconError",
|
|
13338
13377
|
"motionKeyframesScalePopup",
|
|
13378
|
+
"sizeVerticalInput",
|
|
13339
13379
|
"spaceAlertVertical",
|
|
13340
13380
|
"spaceButtonHorizontal",
|
|
13341
13381
|
"spaceButtonVertical",
|
|
13382
|
+
"spaceTokenVertical",
|
|
13383
|
+
"spaceFieldVertical",
|
|
13342
13384
|
"spaceCardHorizontalDefault",
|
|
13343
13385
|
"spaceCardHorizontalEmbedded",
|
|
13344
13386
|
"spaceCardVerticalDefault",
|
|
@@ -13347,6 +13389,8 @@ export var preset = {
|
|
|
13347
13389
|
"spaceFieldHorizontal",
|
|
13348
13390
|
"spaceTabsVertical",
|
|
13349
13391
|
"spaceTreeViewIndentation",
|
|
13392
|
+
"spaceOptionPaddingVertical",
|
|
13393
|
+
"spaceOptionPaddingHorizontal",
|
|
13350
13394
|
"spaceScaledXxxs",
|
|
13351
13395
|
"spaceScaledXxs",
|
|
13352
13396
|
"spaceScaledXs",
|
|
@@ -14134,6 +14178,8 @@ export var preset = {
|
|
|
14134
14178
|
"spaceButtonFocusOutlineGutter": "space-button-focus-outline-gutter",
|
|
14135
14179
|
"spaceButtonHorizontal": "space-button-horizontal",
|
|
14136
14180
|
"spaceButtonVertical": "space-button-vertical",
|
|
14181
|
+
"spaceTokenVertical": "space-token-vertical",
|
|
14182
|
+
"spaceFieldVertical": "space-field-vertical",
|
|
14137
14183
|
"spaceButtonIconFocusOutlineGutterVertical": "space-button-icon-focus-outline-gutter-vertical",
|
|
14138
14184
|
"spaceButtonIconOnlyHorizontal": "space-button-icon-only-horizontal",
|
|
14139
14185
|
"spaceButtonInlineIconFocusOutlineGutter": "space-button-inline-icon-focus-outline-gutter",
|
|
@@ -14202,6 +14248,8 @@ export var preset = {
|
|
|
14202
14248
|
"spaceActionCardVerticalEmbedded": "space-action-card-vertical-embedded",
|
|
14203
14249
|
"spaceActionCardDescriptionPaddingTop": "space-action-card-description-padding-top",
|
|
14204
14250
|
"spaceActionCardContentPaddingTop": "space-action-card-content-padding-top",
|
|
14251
|
+
"spaceOptionPaddingVertical": "space-option-padding-vertical",
|
|
14252
|
+
"spaceOptionPaddingHorizontal": "space-option-padding-horizontal",
|
|
14205
14253
|
"spaceScaled2xNone": "space-scaled-2x-none",
|
|
14206
14254
|
"spaceScaled2xXxxs": "space-scaled-2x-xxxs",
|
|
14207
14255
|
"spaceScaled2xXxs": "space-scaled-2x-xxs",
|
|
@@ -15026,6 +15074,8 @@ export var preset = {
|
|
|
15026
15074
|
"spaceButtonFocusOutlineGutter": "--space-button-focus-outline-gutter-jj138g",
|
|
15027
15075
|
"spaceButtonHorizontal": "--space-button-horizontal-k0c786",
|
|
15028
15076
|
"spaceButtonVertical": "--space-button-vertical-xaxp6x",
|
|
15077
|
+
"spaceTokenVertical": "--space-token-vertical-m3oh2a",
|
|
15078
|
+
"spaceFieldVertical": "--space-field-vertical-vm99qz",
|
|
15029
15079
|
"spaceButtonIconFocusOutlineGutterVertical": "--space-button-icon-focus-outline-gutter-vertical-r44mtq",
|
|
15030
15080
|
"spaceButtonIconOnlyHorizontal": "--space-button-icon-only-horizontal-i85hxi",
|
|
15031
15081
|
"spaceButtonInlineIconFocusOutlineGutter": "--space-button-inline-icon-focus-outline-gutter-zbfgku",
|
|
@@ -15094,6 +15144,8 @@ export var preset = {
|
|
|
15094
15144
|
"spaceActionCardVerticalEmbedded": "--space-action-card-vertical-embedded-f1rm8a",
|
|
15095
15145
|
"spaceActionCardDescriptionPaddingTop": "--space-action-card-description-padding-top-qw1sd7",
|
|
15096
15146
|
"spaceActionCardContentPaddingTop": "--space-action-card-content-padding-top-bew8kj",
|
|
15147
|
+
"spaceOptionPaddingVertical": "--space-option-padding-vertical-d2srv9",
|
|
15148
|
+
"spaceOptionPaddingHorizontal": "--space-option-padding-horizontal-4taa4b",
|
|
15097
15149
|
"spaceScaled2xNone": "--space-scaled-2x-none-987dp7",
|
|
15098
15150
|
"spaceScaled2xXxxs": "--space-scaled-2x-xxxs-reumxj",
|
|
15099
15151
|
"spaceScaled2xXxs": "--space-scaled-2x-xxs-e79hr1",
|
package/internal/manifest.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
// Filters out internal series from chart, e.g., series from navigator, scrollbar, etc.
|
|
4
|
+
// When calling chart.series, the result includes both the main chart series
|
|
5
|
+
// and additional internal series (e.g., navigator series) when using Highstock navigator.
|
|
6
|
+
// We are adding datapoints and doing other calculations and using Highstock version with a
|
|
7
|
+
// navigator is causing duplicated unexpected datapoints and series entries in the chart.
|
|
3
8
|
export function getChartSeries(series) {
|
|
4
|
-
// Filters out internal series from chart, e.g., series from navigator, scrollbar, etc.
|
|
5
|
-
// When calling chart.series, the result includes both the main chart series
|
|
6
|
-
// and additional internal series (e.g., navigator series) when using Highstock navigator.
|
|
7
|
-
// We are adding datapoints and doing other calculations and using Highstock version with a
|
|
8
|
-
// navigator is causing duplicated unexpected datapoints and series entries in the chart.
|
|
9
9
|
return series.filter((s) => !s.options.isInternal);
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart-series.js","sourceRoot":"","sources":["../../../../src/internal/utils/chart-series.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAYtC,
|
|
1
|
+
{"version":3,"file":"chart-series.js","sourceRoot":"","sources":["../../../../src/internal/utils/chart-series.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAYtC,uFAAuF;AACvF,4EAA4E;AAC5E,0FAA0F;AAC1F,2FAA2F;AAC3F,yFAAyF;AACzF,MAAM,UAAU,cAAc,CAAC,MAAwB;IACrD,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;AACrD,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,eAAe,CAAC,KAAY;;IAC1C,MAAM,YAAY,GAAG,MAAA,KAAK,CAAC,MAAM,CAAC,YAAY,mCAAI,KAAK,CAAC,MAAM,CAAC;IAC/D,OAAO,YAAY,CAAC;AACtB,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,eAAe,CAAC,KAAY;IAC1C,MAAM,YAAY,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC;IAC5C,MAAM,YAAY,GAAG,CAAC,YAAY,EAAE,GAAG,YAAY,CAAC,YAAY,CAAC,CAAC;IAClE,OAAO,YAAY,CAAC;AACtB,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport type { Point, Series } from \"highcharts\";\n\n// isInternal is currently not a publicly supported prop\n// https://github.com/highcharts/highcharts/issues/23278\ninterface InternalSeries extends Series {\n options: Series[\"options\"] & {\n isInternal?: boolean;\n };\n}\n\n// Filters out internal series from chart, e.g., series from navigator, scrollbar, etc.\n// When calling chart.series, the result includes both the main chart series\n// and additional internal series (e.g., navigator series) when using Highstock navigator.\n// We are adding datapoints and doing other calculations and using Highstock version with a\n// navigator is causing duplicated unexpected datapoints and series entries in the chart.\nexport function getChartSeries(series: InternalSeries[]) {\n return series.filter((s) => !s.options.isInternal);\n}\n\n/**\n * Returns point series or series it is linked to.\n */\nexport function getMasterSeries(point: Point): Series {\n const masterSeries = point.series.linkedParent ?? point.series;\n return masterSeries;\n}\n\n/**\n * Returns point series and all series linked to it.\n */\nexport function getLinkedSeries(point: Point): Series[] {\n const masterSeries = getMasterSeries(point);\n const linkedSeries = [masterSeries, ...masterSeries.linkedSeries];\n return linkedSeries;\n}\n"]}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
|
|
4
|
-
//
|
|
5
|
-
//
|
|
3
|
+
// The method checks if the point is defined and not destroyed.
|
|
4
|
+
// The point can be undefined when accessing it from series.data array.
|
|
5
|
+
// The point can be destroyed by Highcharts and replaced with { destroyed: true } when
|
|
6
|
+
// the actual point is removed, but a reference to it is still preserved somewhere.
|
|
7
|
+
// See: https://github.com/highcharts/highcharts/issues/23175.
|
|
8
|
+
export function isPointVisible(point) {
|
|
9
|
+
return point && point.visible && point.series && point.series.visible;
|
|
10
|
+
}
|
|
11
|
+
// The series.data may include undefined points. See: https://api.highcharts.com/class-reference/Highcharts.Series.html#data,
|
|
12
|
+
// and https://github.com/highcharts/highcharts/issues/11116.
|
|
13
|
+
// This can create issues when iterating over the data (using Array.filter() or Array.map() methods is safe, but index access or Array.find()
|
|
14
|
+
// can cause a crash if accessing point's properties without checking).
|
|
6
15
|
export const getSeriesData = (data) => {
|
|
7
|
-
return data.filter((d) =>
|
|
16
|
+
return data.filter((d) => isPointVisible(d));
|
|
8
17
|
};
|
|
9
18
|
//# sourceMappingURL=series-data.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"series-data.js","sourceRoot":"","sources":["../../../../src/internal/utils/series-data.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAItC,
|
|
1
|
+
{"version":3,"file":"series-data.js","sourceRoot":"","sources":["../../../../src/internal/utils/series-data.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAItC,+DAA+D;AAC/D,uEAAuE;AACvE,sFAAsF;AACtF,mFAAmF;AACnF,8DAA8D;AAC9D,MAAM,UAAU,cAAc,CAAC,KAA8B;IAC3D,OAAO,KAAK,IAAI,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,MAAM,IAAI,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC;AACxE,CAAC;AAED,6HAA6H;AAC7H,6DAA6D;AAC7D,6IAA6I;AAC7I,uEAAuE;AACvE,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,IAAkB,EAAgB,EAAE;IAChE,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;AAC/C,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport type { Point } from \"highcharts\";\n\n// The method checks if the point is defined and not destroyed.\n// The point can be undefined when accessing it from series.data array.\n// The point can be destroyed by Highcharts and replaced with { destroyed: true } when\n// the actual point is removed, but a reference to it is still preserved somewhere.\n// See: https://github.com/highcharts/highcharts/issues/23175.\nexport function isPointVisible(point: null | Highcharts.Point) {\n return point && point.visible && point.series && point.series.visible;\n}\n\n// The series.data may include undefined points. See: https://api.highcharts.com/class-reference/Highcharts.Series.html#data,\n// and https://github.com/highcharts/highcharts/issues/11116.\n// This can create issues when iterating over the data (using Array.filter() or Array.map() methods is safe, but index access or Array.find()\n// can cause a crash if accessing point's properties without checking).\nexport const getSeriesData = (data: Array<Point>): Array<Point> => {\n return data.filter((d) => isPointVisible(d));\n};\n"]}
|