@adyen/lume 1.9.4 → 1.10.0

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 (82) hide show
  1. package/dist/@types/components/charts/lume-alluvial-diagram/lume-alluvial-diagram.vue.d.ts +5 -5
  2. package/dist/@types/components/charts/lume-bar-chart/lume-bar-chart.vue.d.ts +10 -10
  3. package/dist/@types/components/charts/lume-grouped-bar-chart/defaults.d.ts +2 -2
  4. package/dist/@types/components/charts/lume-grouped-bar-chart/lume-grouped-bar-chart.vue.d.ts +10 -10
  5. package/dist/@types/components/charts/lume-line-chart/lume-line-chart.vue.d.ts +10 -10
  6. package/dist/@types/components/charts/lume-single-bar-chart/defaults.d.ts +2 -2
  7. package/dist/@types/components/charts/lume-single-bar-chart/lume-single-bar-chart.vue.d.ts +10 -10
  8. package/dist/@types/components/charts/lume-sparkline-chart/lume-sparkline-chart.vue.d.ts +5 -5
  9. package/dist/@types/components/charts/lume-stacked-bar-chart/defaults.d.ts +2 -2
  10. package/dist/@types/components/charts/lume-stacked-bar-chart/lume-stacked-bar-chart.vue.d.ts +10 -10
  11. package/dist/@types/components/core/lume-axis/lume-axis.vue.d.ts +1 -1
  12. package/dist/@types/components/core/lume-axis/lume-axis.vue.d.ts.map +1 -1
  13. package/dist/@types/components/core/lume-chart/lume-chart.vue.d.ts +16 -15
  14. package/dist/@types/components/core/lume-chart/lume-chart.vue.d.ts.map +1 -1
  15. package/dist/@types/components/core/lume-chart-container/lume-chart-container.vue.d.ts +1 -1
  16. package/dist/@types/components/core/lume-chart-container/lume-chart-container.vue.d.ts.map +1 -1
  17. package/dist/@types/components/core/lume-line/lume-line.vue.d.ts +1 -1
  18. package/dist/@types/components/core/lume-line/lume-line.vue.d.ts.map +1 -1
  19. package/dist/@types/components/core/lume-point/lume-point.vue.d.ts +1 -1
  20. package/dist/@types/components/core/lume-point/lume-point.vue.d.ts.map +1 -1
  21. package/dist/@types/components/groups/lume-alluvial-group/composables/alluvial-hover.d.ts +13 -13
  22. package/dist/@types/components/groups/lume-alluvial-group/lume-alluvial-group.vue.d.ts +6 -6
  23. package/dist/@types/components/groups/lume-alluvial-group/lume-alluvial-group.vue.d.ts.map +1 -1
  24. package/dist/@types/components/groups/lume-bar-group/composables/bar-mixin.d.ts +1 -1
  25. package/dist/@types/components/groups/lume-bar-group/composables/bar-mixin.d.ts.map +1 -1
  26. package/dist/@types/components/groups/lume-bar-group/composables/grouped-mixin.d.ts +1 -1
  27. package/dist/@types/components/groups/lume-bar-group/composables/grouped-mixin.d.ts.map +1 -1
  28. package/dist/@types/components/groups/lume-bar-group/composables/single-mixin.d.ts +1 -1
  29. package/dist/@types/components/groups/lume-bar-group/composables/single-mixin.d.ts.map +1 -1
  30. package/dist/@types/components/groups/lume-bar-group/composables/stacked-mixin.d.ts +1 -1
  31. package/dist/@types/components/groups/lume-bar-group/composables/stacked-mixin.d.ts.map +1 -1
  32. package/dist/@types/components/groups/lume-bar-group/lume-bar-group.vue.d.ts +5 -5
  33. package/dist/@types/components/groups/lume-line-group/lume-line-group.vue.d.ts +5 -5
  34. package/dist/@types/components/groups/lume-overlay-group/lume-overlay-group.vue.d.ts +1 -1
  35. package/dist/@types/components/groups/lume-overlay-group/lume-overlay-group.vue.d.ts.map +1 -1
  36. package/dist/@types/composables/base.d.ts +1 -1
  37. package/dist/@types/composables/base.d.ts.map +1 -1
  38. package/dist/@types/composables/group-props.d.ts +1 -1
  39. package/dist/@types/composables/group-props.d.ts.map +1 -1
  40. package/dist/@types/composables/line-null-values.d.ts +2 -2
  41. package/dist/@types/composables/negative-values.d.ts +1 -1
  42. package/dist/@types/composables/negative-values.d.ts.map +1 -1
  43. package/dist/@types/composables/props.d.ts +5 -5
  44. package/dist/@types/composables/props.d.ts.map +1 -1
  45. package/dist/@types/composables/scales.d.ts +1 -1
  46. package/dist/@types/composables/scales.d.ts.map +1 -1
  47. package/dist/@types/composables/tooltip.d.ts +1 -1
  48. package/dist/@types/composables/tooltip.d.ts.map +1 -1
  49. package/dist/@types/types/alluvial.d.ts +1 -1
  50. package/dist/@types/types/alluvial.d.ts.map +1 -1
  51. package/dist/@types/types/dataset.d.ts +2 -3
  52. package/dist/@types/types/dataset.d.ts.map +1 -1
  53. package/dist/@types/types/index.d.ts +1 -0
  54. package/dist/@types/types/index.d.ts.map +1 -1
  55. package/dist/@types/types/options.d.ts +2 -1
  56. package/dist/@types/types/options.d.ts.map +1 -1
  57. package/dist/@types/types/utils.d.ts +115 -0
  58. package/dist/@types/types/utils.d.ts.map +1 -0
  59. package/dist/@types/utils/colors.d.ts +1 -1
  60. package/dist/@types/utils/colors.d.ts.map +1 -1
  61. package/dist/@types/utils/constants.d.ts +1 -112
  62. package/dist/@types/utils/constants.d.ts.map +1 -1
  63. package/dist/@types/utils/margins.d.ts +1 -1
  64. package/dist/@types/utils/margins.d.ts.map +1 -1
  65. package/dist/index.js +40 -36
  66. package/dist/index.js.map +1 -1
  67. package/dist/scss/_titles.scss +2 -2
  68. package/dist/scss/_typography.scss +2 -2
  69. package/dist/scss/_utilities.scss +1 -1
  70. package/dist/scss/_variables.scss +1 -1
  71. package/dist/scss/components/lume-alluvial-group.scss +1 -1
  72. package/dist/scss/components/lume-chart-legend.scss +3 -3
  73. package/dist/scss/components/lume-chart.scss +1 -1
  74. package/dist/scss/components/lume-line-group.scss +1 -1
  75. package/dist/scss/components/lume-tick.scss +3 -3
  76. package/dist/scss/components/lume-tooltip.scss +13 -10
  77. package/dist/scss/variables/_colors.scss +14 -0
  78. package/dist/scss/variables/_spacing.scss +1 -0
  79. package/dist/scss/variables/_typography.scss +5 -4
  80. package/dist/styles/font.css +1 -1
  81. package/dist/styles/main.css +2 -2
  82. package/package.json +1 -1
@@ -0,0 +1,115 @@
1
+ export declare enum Colors {
2
+ Skyblue = "skyblue",
3
+ Royalblue = "royalblue",
4
+ Violet = "violet",
5
+ Darkteal = "darkteal",
6
+ Gold = "gold"
7
+ }
8
+ export declare enum SequentialColors {
9
+ Skyblue10 = "skyblue-10",
10
+ Skyblue20 = "skyblue-20",
11
+ Skyblue30 = "skyblue-30",
12
+ Skyblue40 = "skyblue-40",
13
+ Skyblue50 = "skyblue-50",
14
+ Skyblue60 = "skyblue-60",
15
+ Skyblue70 = "skyblue-70",
16
+ Skyblue80 = "skyblue-80",
17
+ Skyblue90 = "skyblue-90",
18
+ Skyblue100 = "skyblue-100",
19
+ Royalblue10 = "royalblue-10",
20
+ Royalblue20 = "royalblue-20",
21
+ Royalblue30 = "royalblue-30",
22
+ Royalblue40 = "royalblue-40",
23
+ Royalblue50 = "royalblue-50",
24
+ Royalblue60 = "royalblue-60",
25
+ Royalblue70 = "royalblue-70",
26
+ Royalblue80 = "royalblue-80",
27
+ Royalblue90 = "royalblue-90",
28
+ Royalblue100 = "royalblue-100",
29
+ Violet10 = "violet-10",
30
+ Violet20 = "violet-20",
31
+ Violet30 = "violet-30",
32
+ Violet40 = "violet-40",
33
+ Violet50 = "violet-50",
34
+ Violet60 = "violet-60",
35
+ Violet70 = "violet-70",
36
+ Violet80 = "violet-80",
37
+ Violet90 = "violet-90",
38
+ Violet100 = "violet-100",
39
+ Darkteal10 = "darkteal-10",
40
+ Darkteal20 = "darkteal-20",
41
+ Darkteal30 = "darkteal-30",
42
+ Darkteal40 = "darkteal-40",
43
+ Darkteal50 = "darkteal-50",
44
+ Darkteal60 = "darkteal-60",
45
+ Darkteal70 = "darkteal-70",
46
+ Darkteal80 = "darkteal-80",
47
+ Darkteal90 = "darkteal-90",
48
+ Darkteal100 = "darkteal-100",
49
+ Gold10 = "gold-10",
50
+ Gold20 = "gold-20",
51
+ Gold30 = "gold-30",
52
+ Gold40 = "gold-40",
53
+ Gold50 = "gold-50",
54
+ Gold60 = "gold-60",
55
+ Gold70 = "gold-70",
56
+ Gold80 = "gold-80",
57
+ Gold90 = "gold-90",
58
+ Gold100 = "gold-100"
59
+ }
60
+ export declare enum DivergentColors {
61
+ SkyTeal = "skyblue-darkteal",
62
+ VioletRoyal = "violet-royalblue",
63
+ VioletTeal = "violet-darkteal",
64
+ GoldTeal = "gold-darkteal",
65
+ GoldRoyal = "gold-royalblue"
66
+ }
67
+ export declare enum OtherColors {
68
+ White = "white",
69
+ Black = "black",
70
+ Green = "green",
71
+ Orange = "orange",
72
+ Red = "red",
73
+ Grey = "grey",
74
+ Grey10 = "grey-10",
75
+ Grey20 = "grey-20",
76
+ Grey30 = "grey-30",
77
+ Grey40 = "grey-40",
78
+ Grey50 = "grey-50",
79
+ Grey60 = "grey-60",
80
+ Grey70 = "grey-70",
81
+ Grey80 = "grey-80",
82
+ Grey90 = "grey-90",
83
+ Grey100 = "grey-100"
84
+ }
85
+ export declare enum LegacyColors {
86
+ '01' = "01",
87
+ '02' = "02",
88
+ '03' = "03",
89
+ '04' = "04",
90
+ '05' = "05",
91
+ '06' = "06",
92
+ '07' = "07",
93
+ '08' = "08",
94
+ '09' = "09"
95
+ }
96
+ export type Color = Colors | DivergentColors | LegacyColors | OtherColors;
97
+ export type Margins = 'auto' | {
98
+ top?: number | 'auto';
99
+ right?: number | 'auto';
100
+ bottom?: number | 'auto';
101
+ left?: number | 'auto';
102
+ };
103
+ export type InternalMargins = {
104
+ top: number;
105
+ right: number;
106
+ bottom: number;
107
+ left: number;
108
+ };
109
+ export type Orientation = 'horizontal' | 'vertical';
110
+ export type BarType = 'single' | 'grouped' | 'stacked';
111
+ export type BarChartVariant = `${BarType}-bar`;
112
+ export type BarLineChartType = BarChartVariant | 'line';
113
+ export type AllChartType = 'bar' | BarLineChartType | 'alluvial' | 'sparkline';
114
+ export type ChartTypeWithoutVariant = Exclude<AllChartType, BarChartVariant>;
115
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../lib/src/types/utils.ts"],"names":[],"mappings":"AAAA,oBAAY,MAAM;IAChB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,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AM,uBAAuB,GAAG,OAAO,CAAC,YAAY,EAAE,eAAe,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { ColorPalette } from '@/types/dataset';
2
- import { Color, Colors } from '@/utils/constants';
2
+ import { type Color, Colors } from '@/types/utils';
3
3
  export declare const DEFAULT_COLOR = Colors.Skyblue;
4
4
  export declare function computeColor(datasetColor: Color, color: Color, palette: ColorPalette, index: number): string;
5
5
  export declare function getDataTypeClass(type?: ColorPalette): string;
@@ -1 +1 @@
1
- {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../lib/src/utils/colors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EACL,KAAK,EACL,MAAM,EAKP,MAAM,mBAAmB,CAAC;AAK3B,eAAO,MAAM,aAAa,iBAAiB,CAAC;AA2D5C,wBAAgB,YAAY,CAC1B,YAAY,EAAE,KAAK,EACnB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,YAA8B,EACvC,KAAK,EAAE,MAAM,UAcd;AAED,wBAAgB,gBAAgB,CAAC,IAAI,GAAE,YAA8B,UAEpE"}
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../lib/src/utils/colors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EACL,KAAK,KAAK,EACV,MAAM,EAKP,MAAM,eAAe,CAAC;AAKvB,eAAO,MAAM,aAAa,iBAAiB,CAAC;AA2D5C,wBAAgB,YAAY,CAC1B,YAAY,EAAE,KAAK,EACnB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,YAA8B,EACvC,KAAK,EAAE,MAAM,UAcd;AAED,wBAAgB,gBAAgB,CAAC,IAAI,GAAE,YAA8B,UAEpE"}
@@ -1,117 +1,6 @@
1
- export declare enum Colors {
2
- Skyblue = "skyblue",
3
- Royalblue = "royalblue",
4
- Violet = "violet",
5
- Darkteal = "darkteal",
6
- Gold = "gold"
7
- }
8
- export declare enum SequentialColors {
9
- Skyblue10 = "skyblue-10",
10
- Skyblue20 = "skyblue-20",
11
- Skyblue30 = "skyblue-30",
12
- Skyblue40 = "skyblue-40",
13
- Skyblue50 = "skyblue-50",
14
- Skyblue60 = "skyblue-60",
15
- Skyblue70 = "skyblue-70",
16
- Skyblue80 = "skyblue-80",
17
- Skyblue90 = "skyblue-90",
18
- Skyblue100 = "skyblue-100",
19
- Royalblue10 = "royalblue-10",
20
- Royalblue20 = "royalblue-20",
21
- Royalblue30 = "royalblue-30",
22
- Royalblue40 = "royalblue-40",
23
- Royalblue50 = "royalblue-50",
24
- Royalblue60 = "royalblue-60",
25
- Royalblue70 = "royalblue-70",
26
- Royalblue80 = "royalblue-80",
27
- Royalblue90 = "royalblue-90",
28
- Royalblue100 = "royalblue-100",
29
- Violet10 = "violet-10",
30
- Violet20 = "violet-20",
31
- Violet30 = "violet-30",
32
- Violet40 = "violet-40",
33
- Violet50 = "violet-50",
34
- Violet60 = "violet-60",
35
- Violet70 = "violet-70",
36
- Violet80 = "violet-80",
37
- Violet90 = "violet-90",
38
- Violet100 = "violet-100",
39
- Darkteal10 = "darkteal-10",
40
- Darkteal20 = "darkteal-20",
41
- Darkteal30 = "darkteal-30",
42
- Darkteal40 = "darkteal-40",
43
- Darkteal50 = "darkteal-50",
44
- Darkteal60 = "darkteal-60",
45
- Darkteal70 = "darkteal-70",
46
- Darkteal80 = "darkteal-80",
47
- Darkteal90 = "darkteal-90",
48
- Darkteal100 = "darkteal-100",
49
- Gold10 = "gold-10",
50
- Gold20 = "gold-20",
51
- Gold30 = "gold-30",
52
- Gold40 = "gold-40",
53
- Gold50 = "gold-50",
54
- Gold60 = "gold-60",
55
- Gold70 = "gold-70",
56
- Gold80 = "gold-80",
57
- Gold90 = "gold-90",
58
- Gold100 = "gold-100"
59
- }
60
- export declare enum DivergentColors {
61
- SkyTeal = "skyblue-darkteal",
62
- VioletRoyal = "violet-royalblue",
63
- VioletTeal = "violet-darkteal",
64
- GoldTeal = "gold-darkteal",
65
- GoldRoyal = "gold-royalblue"
66
- }
67
- export declare enum OtherColors {
68
- White = "white",
69
- Black = "black",
70
- Green = "green",
71
- Orange = "orange",
72
- Red = "red",
73
- Grey = "grey",
74
- Grey10 = "grey-10",
75
- Grey20 = "grey-20",
76
- Grey30 = "grey-30",
77
- Grey40 = "grey-40",
78
- Grey50 = "grey-50",
79
- Grey60 = "grey-60",
80
- Grey70 = "grey-70",
81
- Grey80 = "grey-80",
82
- Grey90 = "grey-90",
83
- Grey100 = "grey-100"
84
- }
85
- export declare enum LegacyColors {
86
- '01' = "01",
87
- '02' = "02",
88
- '03' = "03",
89
- '04' = "04",
90
- '05' = "05",
91
- '06' = "06",
92
- '07' = "07",
93
- '08' = "08",
94
- '09' = "09"
95
- }
96
- export type Color = Colors | DivergentColors | LegacyColors | OtherColors;
97
- export type Margins = 'auto' | {
98
- top: number | 'auto';
99
- right: number | 'auto';
100
- bottom: number | 'auto';
101
- left: number | 'auto';
102
- };
103
- export type InternalMargins = {
104
- top: number;
105
- right: number;
106
- bottom: number;
107
- left: number;
108
- };
109
- export type Orientation = 'horizontal' | 'vertical';
1
+ import type { BarType, Orientation } from '../types/utils';
110
2
  export declare const ORIENTATIONS: Record<string, Orientation>;
111
- export type BarType = 'single' | 'grouped' | 'stacked';
112
3
  export declare const BAR_TYPES: Record<string, BarType>;
113
- export type ChartType = 'bar' | 'line' | 'alluvial' | 'sparkline';
114
- export declare const CHART_TYPES: Record<string, ChartType>;
115
4
  export declare const NO_DATA = "No data";
116
5
  export declare const BAR_HEIGHT = 20;
117
6
  export declare const PADDING_VERTICAL = 0.33;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../lib/src/utils/constants.ts"],"names":[],"mappings":"AAAA,oBAAY,MAAM;IAChB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,QAAQ,aA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C;AAElE,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAKjD,CAAC;AAEF,eAAO,MAAM,OAAO,YAAY,CAAC;AAEjC,eAAO,MAAM,UAAU,KAAK,CAAC;AAE7B,eAAO,MAAM,gBAAgB,OAAO,CAAC;AACrC,eAAO,MAAM,kBAAkB,MAAM,CAAC;AAEtC,eAAO,MAAM,gBAAgB,KAAK,CAAC;AACnC,eAAO,MAAM,kBAAkB,IAAI,CAAC;AAIpC,eAAO,MAAM,qBAAqB,IAAI,CAAC;AAEvC,eAAO,MAAM,iBAAiB,2LAgBpB,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../lib/src/utils/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE3D,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAGpD,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAI7C,CAAC;AAEF,eAAO,MAAM,OAAO,YAAY,CAAC;AAEjC,eAAO,MAAM,UAAU,KAAK,CAAC;AAE7B,eAAO,MAAM,gBAAgB,OAAO,CAAC;AACrC,eAAO,MAAM,kBAAkB,MAAM,CAAC;AAEtC,eAAO,MAAM,gBAAgB,KAAK,CAAC;AACnC,eAAO,MAAM,kBAAkB,IAAI,CAAC;AAIpC,eAAO,MAAM,qBAAqB,IAAI,CAAC;AAEvC,eAAO,MAAM,iBAAiB,2LAgBpB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { InternalMargins, Margins } from './constants';
1
+ import type { InternalMargins, Margins } from '../types/utils';
2
2
  export declare const DEFAULT_MARGINS: {
3
3
  VERTICAL: InternalMargins;
4
4
  HORIZONTAL: InternalMargins;
@@ -1 +1 @@
1
- {"version":3,"file":"margins.d.ts","sourceRoot":"","sources":["../../../../lib/src/utils/margins.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAOvD,eAAO,MAAM,eAAe;;;CAa3B,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,WAAW,CAAC,EAAE,OAAO,UAUvD;AAED,wBAAgB,oBAAoB,CAAC,WAAW,CAAC,EAAE,OAAO,UAUzD;AAED,wBAAgB,qBAAqB,CACnC,WAAW,CAAC,EAAE,OAAO,EACrB,QAAQ,CAAC,EAAE,MAAM,UAWlB;AAED,wBAAgB,mBAAmB,CAAC,WAAW,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,MAAM,UAU3E"}
1
+ {"version":3,"file":"margins.d.ts","sourceRoot":"","sources":["../../../../lib/src/utils/margins.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAO/D,eAAO,MAAM,eAAe;;;CAa3B,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,WAAW,CAAC,EAAE,OAAO,UAUvD;AAED,wBAAgB,oBAAoB,CAAC,WAAW,CAAC,EAAE,OAAO,UAUzD;AAED,wBAAgB,qBAAqB,CACnC,WAAW,CAAC,EAAE,OAAO,EACrB,QAAQ,CAAC,EAAE,MAAM,UAWlB;AAED,wBAAgB,mBAAmB,CAAC,WAAW,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,MAAM,UAU3E"}
package/dist/index.js CHANGED
@@ -264,7 +264,6 @@ function gn(t, e, r) {
264
264
  }
265
265
  return D(e, l), { showTick: i };
266
266
  }
267
- var z = /* @__PURE__ */ ((t) => (t.Skyblue = "skyblue", t.Royalblue = "royalblue", t.Violet = "violet", t.Darkteal = "darkteal", t.Gold = "gold", t))(z || {}), $t = /* @__PURE__ */ ((t) => (t.Skyblue10 = "skyblue-10", t.Skyblue20 = "skyblue-20", t.Skyblue30 = "skyblue-30", t.Skyblue40 = "skyblue-40", t.Skyblue50 = "skyblue-50", t.Skyblue60 = "skyblue-60", t.Skyblue70 = "skyblue-70", t.Skyblue80 = "skyblue-80", t.Skyblue90 = "skyblue-90", t.Skyblue100 = "skyblue-100", t.Royalblue10 = "royalblue-10", t.Royalblue20 = "royalblue-20", t.Royalblue30 = "royalblue-30", t.Royalblue40 = "royalblue-40", t.Royalblue50 = "royalblue-50", t.Royalblue60 = "royalblue-60", t.Royalblue70 = "royalblue-70", t.Royalblue80 = "royalblue-80", t.Royalblue90 = "royalblue-90", t.Royalblue100 = "royalblue-100", t.Violet10 = "violet-10", t.Violet20 = "violet-20", t.Violet30 = "violet-30", t.Violet40 = "violet-40", t.Violet50 = "violet-50", t.Violet60 = "violet-60", t.Violet70 = "violet-70", t.Violet80 = "violet-80", t.Violet90 = "violet-90", t.Violet100 = "violet-100", t.Darkteal10 = "darkteal-10", t.Darkteal20 = "darkteal-20", t.Darkteal30 = "darkteal-30", t.Darkteal40 = "darkteal-40", t.Darkteal50 = "darkteal-50", t.Darkteal60 = "darkteal-60", t.Darkteal70 = "darkteal-70", t.Darkteal80 = "darkteal-80", t.Darkteal90 = "darkteal-90", t.Darkteal100 = "darkteal-100", t.Gold10 = "gold-10", t.Gold20 = "gold-20", t.Gold30 = "gold-30", t.Gold40 = "gold-40", t.Gold50 = "gold-50", t.Gold60 = "gold-60", t.Gold70 = "gold-70", t.Gold80 = "gold-80", t.Gold90 = "gold-90", t.Gold100 = "gold-100", t))($t || {}), Ue = /* @__PURE__ */ ((t) => (t.SkyTeal = "skyblue-darkteal", t.VioletRoyal = "violet-royalblue", t.VioletTeal = "violet-darkteal", t.GoldTeal = "gold-darkteal", t.GoldRoyal = "gold-royalblue", t))(Ue || {}), Xe = /* @__PURE__ */ ((t) => (t.White = "white", t.Black = "black", t.Green = "green", t.Orange = "orange", t.Red = "red", t.Grey = "grey", t.Grey10 = "grey-10", t.Grey20 = "grey-20", t.Grey30 = "grey-30", t.Grey40 = "grey-40", t.Grey50 = "grey-50", t.Grey60 = "grey-60", t.Grey70 = "grey-70", t.Grey80 = "grey-80", t.Grey90 = "grey-90", t.Grey100 = "grey-100", t))(Xe || {}), Ye = /* @__PURE__ */ ((t) => (t["01"] = "01", t["02"] = "02", t["03"] = "03", t["04"] = "04", t["05"] = "05", t["06"] = "06", t["07"] = "07", t["08"] = "08", t["09"] = "09", t))(Ye || {});
268
267
  const L = {
269
268
  HORIZONTAL: "horizontal",
270
269
  VERTICAL: "vertical"
@@ -272,7 +271,7 @@ const L = {
272
271
  SINGLE: "single",
273
272
  GROUPED: "grouped",
274
273
  STACKED: "stacked"
275
- }, It = "No data", rt = 20, Et = 0.33, wt = 0.5, Nt = 12, me = 8, bn = 1, kn = [
274
+ }, $t = "No data", rt = 20, It = 0.33, Et = 0.5, wt = 12, me = 8, bn = 1, kn = [
276
275
  "auto",
277
276
  "auto-start",
278
277
  "auto-end",
@@ -292,7 +291,7 @@ const L = {
292
291
  function $e(t) {
293
292
  t != null && t.closest("svg") || q(Y.NotContainedInSvg);
294
293
  }
295
- const Ht = {
294
+ const Nt = {
296
295
  /** Displays a line for each tick. */
297
296
  gridLines: !1,
298
297
  /** Displays the axis title. */
@@ -307,13 +306,13 @@ const Ht = {
307
306
  /** Formatting string/function for the tick label. */
308
307
  tickFormat: null,
309
308
  /** Space between the tick label and the axis line. */
310
- tickPadding: 8
309
+ tickPadding: 12
311
310
  }, xn = {
312
- ...Ht,
311
+ ...Nt,
313
312
  withTitle: !1,
314
313
  skip: !0
315
314
  }, An = {
316
- ...Ht,
315
+ ...Nt,
317
316
  gridLines: !0
318
317
  }, Tn = function(t, e, r) {
319
318
  const n = v(() => t.value.step() * t.value.paddingInner() / 2);
@@ -331,7 +330,7 @@ const Ht = {
331
330
  return {
332
331
  x: -(c - t.value.step()) / 2,
333
332
  width: c,
334
- height: r.value.tickPadding + Nt + me
333
+ height: r.value.tickPadding + wt + me
335
334
  };
336
335
  }
337
336
  function l() {
@@ -407,7 +406,7 @@ const Ht = {
407
406
  }
408
407
  function o() {
409
408
  return {
410
- height: r.value.tickPadding + Nt + me,
409
+ height: r.value.tickPadding + wt + me,
411
410
  width: n.value,
412
411
  x: -(n.value / 2)
413
412
  };
@@ -714,7 +713,7 @@ var Pn = function() {
714
713
  null,
715
714
  null
716
715
  );
717
- const Ke = Gn.exports;
716
+ const Ue = Gn.exports;
718
717
  function Fn() {
719
718
  const t = E(), e = Oe({
720
719
  dimensions: {}
@@ -789,7 +788,7 @@ var Vn = function() {
789
788
  Mn,
790
789
  !1,
791
790
  null,
792
- "71442ad8",
791
+ "c82b22db",
793
792
  null,
794
793
  null
795
794
  );
@@ -812,7 +811,7 @@ var Un = function() {
812
811
  return r("div", { staticClass: "lume-chart-legend", attrs: { "data-j-chart-legend": "" }, on: { mouseleave: function(a) {
813
812
  return n.emit("mouseleave");
814
813
  } } }, e._l(e.data, function(a, o) {
815
- return r("div", { key: `legend-item-${o}`, staticClass: "lume-chart-legend__item lume-typography--body", attrs: { tabindex: "0", "data-j-chart-legend__symbol-wrapper": "" }, on: { click: function(l) {
814
+ return r("div", { key: `legend-item-${o}`, staticClass: "lume-chart-legend__item lume-typography--caption", attrs: { tabindex: "0", "data-j-chart-legend__symbol-wrapper": "" }, on: { click: function(l) {
816
815
  return n.emit("click", { index: o, dataset: a, event: l });
817
816
  }, mouseenter: function(l) {
818
817
  return n.emit("mouseenter", { index: o, dataset: a, event: l });
@@ -824,7 +823,7 @@ var Un = function() {
824
823
  Xn,
825
824
  !1,
826
825
  null,
827
- "3e2dc6fc",
826
+ "6f1d1c44",
828
827
  null,
829
828
  null
830
829
  );
@@ -1013,20 +1012,20 @@ var _r = function() {
1013
1012
  null
1014
1013
  );
1015
1014
  const mr = pr.exports;
1016
- var re = /* @__PURE__ */ ((t) => (t.Categorical = "categorical", t.Sequential = "sequential", t.Divergent = "divergent", t))(re || {});
1017
- const hr = re.Categorical, he = z.Skyblue, gr = Ue.SkyTeal;
1015
+ var re = /* @__PURE__ */ ((t) => (t.Categorical = "categorical", t.Sequential = "sequential", t.Divergent = "divergent", t))(re || {}), z = /* @__PURE__ */ ((t) => (t.Skyblue = "skyblue", t.Royalblue = "royalblue", t.Violet = "violet", t.Darkteal = "darkteal", t.Gold = "gold", t))(z || {}), Ht = /* @__PURE__ */ ((t) => (t.Skyblue10 = "skyblue-10", t.Skyblue20 = "skyblue-20", t.Skyblue30 = "skyblue-30", t.Skyblue40 = "skyblue-40", t.Skyblue50 = "skyblue-50", t.Skyblue60 = "skyblue-60", t.Skyblue70 = "skyblue-70", t.Skyblue80 = "skyblue-80", t.Skyblue90 = "skyblue-90", t.Skyblue100 = "skyblue-100", t.Royalblue10 = "royalblue-10", t.Royalblue20 = "royalblue-20", t.Royalblue30 = "royalblue-30", t.Royalblue40 = "royalblue-40", t.Royalblue50 = "royalblue-50", t.Royalblue60 = "royalblue-60", t.Royalblue70 = "royalblue-70", t.Royalblue80 = "royalblue-80", t.Royalblue90 = "royalblue-90", t.Royalblue100 = "royalblue-100", t.Violet10 = "violet-10", t.Violet20 = "violet-20", t.Violet30 = "violet-30", t.Violet40 = "violet-40", t.Violet50 = "violet-50", t.Violet60 = "violet-60", t.Violet70 = "violet-70", t.Violet80 = "violet-80", t.Violet90 = "violet-90", t.Violet100 = "violet-100", t.Darkteal10 = "darkteal-10", t.Darkteal20 = "darkteal-20", t.Darkteal30 = "darkteal-30", t.Darkteal40 = "darkteal-40", t.Darkteal50 = "darkteal-50", t.Darkteal60 = "darkteal-60", t.Darkteal70 = "darkteal-70", t.Darkteal80 = "darkteal-80", t.Darkteal90 = "darkteal-90", t.Darkteal100 = "darkteal-100", t.Gold10 = "gold-10", t.Gold20 = "gold-20", t.Gold30 = "gold-30", t.Gold40 = "gold-40", t.Gold50 = "gold-50", t.Gold60 = "gold-60", t.Gold70 = "gold-70", t.Gold80 = "gold-80", t.Gold90 = "gold-90", t.Gold100 = "gold-100", t))(Ht || {}), Xe = /* @__PURE__ */ ((t) => (t.SkyTeal = "skyblue-darkteal", t.VioletRoyal = "violet-royalblue", t.VioletTeal = "violet-darkteal", t.GoldTeal = "gold-darkteal", t.GoldRoyal = "gold-royalblue", t))(Xe || {}), Ye = /* @__PURE__ */ ((t) => (t.White = "white", t.Black = "black", t.Green = "green", t.Orange = "orange", t.Red = "red", t.Grey = "grey", t.Grey10 = "grey-10", t.Grey20 = "grey-20", t.Grey30 = "grey-30", t.Grey40 = "grey-40", t.Grey50 = "grey-50", t.Grey60 = "grey-60", t.Grey70 = "grey-70", t.Grey80 = "grey-80", t.Grey90 = "grey-90", t.Grey100 = "grey-100", t))(Ye || {}), Ke = /* @__PURE__ */ ((t) => (t["01"] = "01", t["02"] = "02", t["03"] = "03", t["04"] = "04", t["05"] = "05", t["06"] = "06", t["07"] = "07", t["08"] = "08", t["09"] = "09", t))(Ke || {});
1016
+ const hr = re.Categorical, he = z.Skyblue, gr = Xe.SkyTeal;
1018
1017
  function yr(t) {
1019
1018
  return t === re.Divergent ? gr : he;
1020
1019
  }
1021
1020
  function br(t) {
1022
- return Object.values(Ye).includes(t);
1021
+ return Object.values(Ke).includes(t);
1023
1022
  }
1024
1023
  function at(t, e) {
1025
- return e === re.Divergent ? Object.values(Ue).includes(t) : Object.values({
1024
+ return e === re.Divergent ? Object.values(Xe).includes(t) : Object.values({
1026
1025
  ...z,
1027
- ...$t,
1028
- ...Xe,
1029
- ...Ye
1026
+ ...Ht,
1027
+ ...Ye,
1028
+ ...Ke
1030
1029
  }).includes(t);
1031
1030
  }
1032
1031
  function kr(t, e) {
@@ -1157,7 +1156,7 @@ function Ir(t, e, r, n, a) {
1157
1156
  return xt(i), { xScale: o, yScale: l };
1158
1157
  }
1159
1158
  function lt(t, e, r, n) {
1160
- const a = [0, e], { padding: o, paddingInner: l, paddingOuter: i } = n, u = o ?? (r === L.HORIZONTAL ? wt : Et);
1159
+ const a = [0, e], { padding: o, paddingInner: l, paddingOuter: i } = n, u = o ?? (r === L.HORIZONTAL ? Et : It);
1161
1160
  return Object.assign(
1162
1161
  _e().range(a).paddingInner(l ?? u).paddingOuter(i ?? u).domain(t.map((c, d) => d)),
1163
1162
  { labels: t }
@@ -1181,7 +1180,7 @@ function st(t, e, {
1181
1180
  paddingInner: n,
1182
1181
  paddingOuter: a
1183
1182
  } = {}) {
1184
- const o = r ?? (e === L.HORIZONTAL ? wt : Et);
1183
+ const o = r ?? (e === L.HORIZONTAL ? Et : It);
1185
1184
  return t.copy().paddingInner(n ?? o).paddingOuter(a ?? o);
1186
1185
  }
1187
1186
  function Dt(t) {
@@ -1280,7 +1279,7 @@ const ce = (t, e = !0) => ({
1280
1279
  transform: `translate(${h}, 0)`
1281
1280
  };
1282
1281
  }
1283
- return { __sfc: !0, props: r, emit: e, data: n, orientation: a, xScale: o, yScale: l, overlayData: i, getOverlayBarAttributes: u, LumeBar: Ke };
1282
+ return { __sfc: !0, props: r, emit: e, data: n, orientation: a, xScale: o, yScale: l, overlayData: i, getOverlayBarAttributes: u, LumeBar: Ue };
1284
1283
  }
1285
1284
  });
1286
1285
  var Nr = function() {
@@ -1436,7 +1435,7 @@ function jr(t) {
1436
1435
  return {
1437
1436
  color: ((l = o[r]) == null ? void 0 : l.color) || n,
1438
1437
  label: a,
1439
- value: ((i = o[r]) == null ? void 0 : i.label) ?? ((u = o[r]) == null ? void 0 : u.value) ?? It
1438
+ value: ((i = o[r]) == null ? void 0 : i.label) ?? ((u = o[r]) == null ? void 0 : u.value) ?? $t
1440
1439
  };
1441
1440
  })
1442
1441
  ) };
@@ -1543,10 +1542,10 @@ const Zr = /* @__PURE__ */ H({
1543
1542
  });
1544
1543
  function be(b) {
1545
1544
  var V;
1546
- if (b === d.value)
1545
+ if (f.value.withHover === !1 || b === d.value)
1547
1546
  return;
1548
1547
  const P = d.value;
1549
- if (f.value.withHover !== !1 && (d.value = b), f.value.withTooltip !== !1) {
1548
+ if (d.value = b, f.value.withTooltip !== !1) {
1550
1549
  const Mt = (V = f.value.tooltipOptions) != null && V.targetElement ? f.value.tooltipOptions.targetElement === "self" ? _.value.$el : f.value.tooltipOptions.targetElement : s.value[b];
1551
1550
  ge(Mt);
1552
1551
  }
@@ -1594,7 +1593,7 @@ const Zr = /* @__PURE__ */ H({
1594
1593
  b === !1 && ve.opened && ke();
1595
1594
  }), ee(async () => {
1596
1595
  e("rendered"), n.groups || console.error('"groups" `<slot>` must have content.'), R("lume__internal--hover", be);
1597
- }), we("chartID", T), we("isEmpty", N), we("tooltipAnchorAttributes", m), { __sfc: !0, props: r, slots: n, emit: e, data: a, labels: o, color: l, options: i, orientation: u, chartType: c, internalHoveredIndex: d, tooltipAnchor: s, chartContainer: _, tooltipAnchorAttributes: m, isHoveringTooltip: p, xAxisHeight: h, yAxisWidth: y, allOptions: f, internalData: k, computedLabels: x, containerSize: A, updateSize: $, chartID: T, listenInternalEvent: R, xScale: S, yScale: C, computedMargins: F, computedXScale: j, computedYScale: W, computedXAxisOptions: te, computedYAxisOptions: Q, xAxisTitle: ne, yAxisTitle: I, showXAxisTitle: g, showYAxisTitle: O, isEmpty: N, isReady: Z, hasNegativeValues: U, negativeBarAttributes: G, shouldGenerateTooltipAnchors: et, tooltipConfig: ve, showTooltip: ge, hideTooltip: le, getTooltipItems: ye, tooltipPosition: ue, shouldHideTooltip: tt, handleInternalHover: be, handleHideTooltip: ke, handleExternalHover: Ee, handleMouseleave: Gt, handleResize: Ft, handleAxisMouseenter: jt, handleAxisClick: Vt, LumeAxis: Dn, LumeBar: Ke, LumeChartContainer: Wn, LumeChartLegend: Kn, LumeTooltip: mr, LumeOverlayGroup: Rr, TOOLTIP_ANCHOR_RADIUS: bn };
1596
+ }), we("chartID", T), we("isEmpty", N), we("tooltipAnchorAttributes", m), { __sfc: !0, props: r, slots: n, emit: e, data: a, labels: o, color: l, options: i, orientation: u, chartType: c, internalHoveredIndex: d, tooltipAnchor: s, chartContainer: _, tooltipAnchorAttributes: m, isHoveringTooltip: p, xAxisHeight: h, yAxisWidth: y, allOptions: f, internalData: k, computedLabels: x, containerSize: A, updateSize: $, chartID: T, listenInternalEvent: R, xScale: S, yScale: C, computedMargins: F, computedXScale: j, computedYScale: W, computedXAxisOptions: te, computedYAxisOptions: Q, xAxisTitle: ne, yAxisTitle: I, showXAxisTitle: g, showYAxisTitle: O, isEmpty: N, isReady: Z, hasNegativeValues: U, negativeBarAttributes: G, shouldGenerateTooltipAnchors: et, tooltipConfig: ve, showTooltip: ge, hideTooltip: le, getTooltipItems: ye, tooltipPosition: ue, shouldHideTooltip: tt, handleInternalHover: be, handleHideTooltip: ke, handleExternalHover: Ee, handleMouseleave: Gt, handleResize: Ft, handleAxisMouseenter: jt, handleAxisClick: Vt, LumeAxis: Dn, LumeBar: Ue, LumeChartContainer: Wn, LumeChartLegend: Kn, LumeTooltip: mr, LumeOverlayGroup: Rr, TOOLTIP_ANCHOR_RADIUS: bn };
1598
1597
  }
1599
1598
  });
1600
1599
  var Ur = function() {
@@ -1604,7 +1603,7 @@ var Ur = function() {
1604
1603
  }, mouseenter: function(a) {
1605
1604
  return n.emit("chart-mouseenter", a);
1606
1605
  }, mouseleave: n.handleMouseleave }, scopedSlots: e._u([{ key: "header", fn: function() {
1607
- return [r("div", { staticClass: "lume-chart__header" }, [r("div", { staticClass: "lume-chart__header-section" }, [e.title ? r("h1", { staticClass: "lume-chart__title lume-chart-title lume-typography--display" }, [e._v(" " + e._s(e.title) + " ")]) : e._e(), r("div", { staticClass: "lume-chart__controls" }, [e._t("controls")], 2)]), r("div", { staticClass: "lume-chart__header-section" }, [n.showYAxisTitle ? r("h3", { staticClass: "lume-chart__axis-title lume-axis-title lume-typography--body" }, [e._v(" " + e._s(n.yAxisTitle) + " ")]) : e._e(), e._t("legend", function() {
1606
+ return [r("div", { staticClass: "lume-chart__header" }, [r("div", { staticClass: "lume-chart__header-section" }, [e.title ? r("h1", { staticClass: "lume-chart__title lume-chart-title lume-typography--display" }, [e._v(" " + e._s(e.title) + " ")]) : e._e(), r("div", { staticClass: "lume-chart__controls" }, [e._t("controls")], 2)]), r("div", { staticClass: "lume-chart__header-section" }, [n.showYAxisTitle ? r("h3", { staticClass: "lume-chart__axis-title lume-axis-title lume-typography--caption" }, [e._v(" " + e._s(n.yAxisTitle) + " ")]) : e._e(), e._t("legend", function() {
1608
1607
  return [n.allOptions.withLegend !== !1 && n.allOptions.legendPosition !== "bottom" ? r(n.LumeChartLegend, { staticClass: "lume-chart__legend", attrs: { data: n.internalData, "data-j-lume-chart__legend": "" }, on: { click: function(a) {
1609
1608
  return n.emit("legend-click", a);
1610
1609
  }, mouseenter: function(a) {
@@ -1660,7 +1659,7 @@ var Ur = function() {
1660
1659
  Xr,
1661
1660
  !1,
1662
1661
  null,
1663
- "e231afe0",
1662
+ "4eac6847",
1664
1663
  null,
1665
1664
  null
1666
1665
  );
@@ -1925,7 +1924,7 @@ function La(t, e, r) {
1925
1924
  const d = v(() => {
1926
1925
  var s;
1927
1926
  return n.value && ((s = a.value) == null || s.forEach((_) => {
1928
- _.value === 0 && (_.fallbackColor = Xe.Grey), typeof _.offset == "number" && (u(_), c(_, n.value));
1927
+ _.value === 0 && (_.fallbackColor = Ye.Grey), typeof _.offset == "number" && (u(_), c(_, n.value));
1929
1928
  })), n.value;
1930
1929
  });
1931
1930
  return D([l, r], () => {
@@ -2193,7 +2192,7 @@ var Na = function() {
2193
2192
  Ha,
2194
2193
  !1,
2195
2194
  null,
2196
- "f07f194d",
2195
+ "ea53c3da",
2197
2196
  null,
2198
2197
  null
2199
2198
  );
@@ -2584,7 +2583,7 @@ const mt = {
2584
2583
  async function A($) {
2585
2584
  e("lume__internal--hover", $), m("lume__internal--hover", $);
2586
2585
  }
2587
- return { __sfc: !0, MIXIN_MAP: mt, props: r, emit: e, data: n, hoveredIndex: a, orientation: o, transition: l, type: i, xScale: u, yScale: c, classList: d, labels: s, chartID: _, emitInternalEvent: m, groupedData: p, barXScale: h, barYScale: y, computedClasses: f, getBarAttributes: k, computedTransition: x, handleInternalHover: A, LumeBar: Ke };
2586
+ return { __sfc: !0, MIXIN_MAP: mt, props: r, emit: e, data: n, hoveredIndex: a, orientation: o, transition: l, type: i, xScale: u, yScale: c, classList: d, labels: s, chartID: _, emitInternalEvent: m, groupedData: p, barXScale: h, barYScale: y, computedClasses: f, getBarAttributes: k, computedTransition: x, handleInternalHover: A, LumeBar: Ue };
2588
2587
  }
2589
2588
  });
2590
2589
  var no = function() {
@@ -2816,7 +2815,7 @@ var xo = function() {
2816
2815
  Ao,
2817
2816
  !1,
2818
2817
  null,
2819
- "08896455",
2818
+ "59449838",
2820
2819
  null,
2821
2820
  null
2822
2821
  );
@@ -2855,7 +2854,7 @@ var $o = function() {
2855
2854
  Io,
2856
2855
  !1,
2857
2856
  null,
2858
- "b6745177",
2857
+ "436fef87",
2859
2858
  null,
2860
2859
  null
2861
2860
  );
@@ -2896,7 +2895,7 @@ function Pt(t) {
2896
2895
  c.length,
2897
2896
  c.indexOf(u)
2898
2897
  ),
2899
- label: It
2898
+ label: $t
2900
2899
  };
2901
2900
  }
2902
2901
  return i;
@@ -3149,13 +3148,16 @@ var Zo = function() {
3149
3148
  const ol = Xo.exports;
3150
3149
  export {
3151
3150
  re as ColorPalette,
3151
+ z as Colors,
3152
+ Xe as DivergentColors,
3153
+ Ke as LegacyColors,
3152
3154
  qo as LumeAlluvialDiagram,
3153
3155
  Ra as LumeAlluvialGroup,
3154
3156
  va as LumeAlluvialNodeHeader,
3155
3157
  na as LumeAlluvialNodeLabel,
3156
3158
  ua as LumeAlluvialNodeValue,
3157
3159
  Dn as LumeAxis,
3158
- Ke as LumeBar,
3160
+ Ue as LumeBar,
3159
3161
  el as LumeBarChart,
3160
3162
  qe as LumeBarGroup,
3161
3163
  de as LumeChart,
@@ -3173,6 +3175,8 @@ export {
3173
3175
  mr as LumeTooltip,
3174
3176
  dr as LumeTooltipItem,
3175
3177
  lr as LumeTooltipSummary,
3176
- tr as LumeTooltipTitle
3178
+ tr as LumeTooltipTitle,
3179
+ Ye as OtherColors,
3180
+ Ht as SequentialColors
3177
3181
  };
3178
3182
  //# sourceMappingURL=index.js.map