@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.
- package/dist/@types/components/charts/lume-alluvial-diagram/lume-alluvial-diagram.vue.d.ts +5 -5
- package/dist/@types/components/charts/lume-bar-chart/lume-bar-chart.vue.d.ts +10 -10
- package/dist/@types/components/charts/lume-grouped-bar-chart/defaults.d.ts +2 -2
- package/dist/@types/components/charts/lume-grouped-bar-chart/lume-grouped-bar-chart.vue.d.ts +10 -10
- package/dist/@types/components/charts/lume-line-chart/lume-line-chart.vue.d.ts +10 -10
- package/dist/@types/components/charts/lume-single-bar-chart/defaults.d.ts +2 -2
- package/dist/@types/components/charts/lume-single-bar-chart/lume-single-bar-chart.vue.d.ts +10 -10
- package/dist/@types/components/charts/lume-sparkline-chart/lume-sparkline-chart.vue.d.ts +5 -5
- package/dist/@types/components/charts/lume-stacked-bar-chart/defaults.d.ts +2 -2
- package/dist/@types/components/charts/lume-stacked-bar-chart/lume-stacked-bar-chart.vue.d.ts +10 -10
- package/dist/@types/components/core/lume-axis/lume-axis.vue.d.ts +1 -1
- package/dist/@types/components/core/lume-axis/lume-axis.vue.d.ts.map +1 -1
- package/dist/@types/components/core/lume-chart/lume-chart.vue.d.ts +16 -15
- package/dist/@types/components/core/lume-chart/lume-chart.vue.d.ts.map +1 -1
- package/dist/@types/components/core/lume-chart-container/lume-chart-container.vue.d.ts +1 -1
- package/dist/@types/components/core/lume-chart-container/lume-chart-container.vue.d.ts.map +1 -1
- package/dist/@types/components/core/lume-line/lume-line.vue.d.ts +1 -1
- package/dist/@types/components/core/lume-line/lume-line.vue.d.ts.map +1 -1
- package/dist/@types/components/core/lume-point/lume-point.vue.d.ts +1 -1
- package/dist/@types/components/core/lume-point/lume-point.vue.d.ts.map +1 -1
- package/dist/@types/components/groups/lume-alluvial-group/composables/alluvial-hover.d.ts +13 -13
- package/dist/@types/components/groups/lume-alluvial-group/lume-alluvial-group.vue.d.ts +6 -6
- package/dist/@types/components/groups/lume-alluvial-group/lume-alluvial-group.vue.d.ts.map +1 -1
- package/dist/@types/components/groups/lume-bar-group/composables/bar-mixin.d.ts +1 -1
- package/dist/@types/components/groups/lume-bar-group/composables/bar-mixin.d.ts.map +1 -1
- package/dist/@types/components/groups/lume-bar-group/composables/grouped-mixin.d.ts +1 -1
- package/dist/@types/components/groups/lume-bar-group/composables/grouped-mixin.d.ts.map +1 -1
- package/dist/@types/components/groups/lume-bar-group/composables/single-mixin.d.ts +1 -1
- package/dist/@types/components/groups/lume-bar-group/composables/single-mixin.d.ts.map +1 -1
- package/dist/@types/components/groups/lume-bar-group/composables/stacked-mixin.d.ts +1 -1
- package/dist/@types/components/groups/lume-bar-group/composables/stacked-mixin.d.ts.map +1 -1
- package/dist/@types/components/groups/lume-bar-group/lume-bar-group.vue.d.ts +5 -5
- package/dist/@types/components/groups/lume-line-group/lume-line-group.vue.d.ts +5 -5
- package/dist/@types/components/groups/lume-overlay-group/lume-overlay-group.vue.d.ts +1 -1
- package/dist/@types/components/groups/lume-overlay-group/lume-overlay-group.vue.d.ts.map +1 -1
- package/dist/@types/composables/base.d.ts +1 -1
- package/dist/@types/composables/base.d.ts.map +1 -1
- package/dist/@types/composables/group-props.d.ts +1 -1
- package/dist/@types/composables/group-props.d.ts.map +1 -1
- package/dist/@types/composables/line-null-values.d.ts +2 -2
- package/dist/@types/composables/negative-values.d.ts +1 -1
- package/dist/@types/composables/negative-values.d.ts.map +1 -1
- package/dist/@types/composables/props.d.ts +5 -5
- package/dist/@types/composables/props.d.ts.map +1 -1
- package/dist/@types/composables/scales.d.ts +1 -1
- package/dist/@types/composables/scales.d.ts.map +1 -1
- package/dist/@types/composables/tooltip.d.ts +1 -1
- package/dist/@types/composables/tooltip.d.ts.map +1 -1
- package/dist/@types/types/alluvial.d.ts +1 -1
- package/dist/@types/types/alluvial.d.ts.map +1 -1
- package/dist/@types/types/dataset.d.ts +2 -3
- package/dist/@types/types/dataset.d.ts.map +1 -1
- package/dist/@types/types/index.d.ts +1 -0
- package/dist/@types/types/index.d.ts.map +1 -1
- package/dist/@types/types/options.d.ts +2 -1
- package/dist/@types/types/options.d.ts.map +1 -1
- package/dist/@types/types/utils.d.ts +115 -0
- package/dist/@types/types/utils.d.ts.map +1 -0
- package/dist/@types/utils/colors.d.ts +1 -1
- package/dist/@types/utils/colors.d.ts.map +1 -1
- package/dist/@types/utils/constants.d.ts +1 -112
- package/dist/@types/utils/constants.d.ts.map +1 -1
- package/dist/@types/utils/margins.d.ts +1 -1
- package/dist/@types/utils/margins.d.ts.map +1 -1
- package/dist/index.js +40 -36
- package/dist/index.js.map +1 -1
- package/dist/scss/_titles.scss +2 -2
- package/dist/scss/_typography.scss +2 -2
- package/dist/scss/_utilities.scss +1 -1
- package/dist/scss/_variables.scss +1 -1
- package/dist/scss/components/lume-alluvial-group.scss +1 -1
- package/dist/scss/components/lume-chart-legend.scss +3 -3
- package/dist/scss/components/lume-chart.scss +1 -1
- package/dist/scss/components/lume-line-group.scss +1 -1
- package/dist/scss/components/lume-tick.scss +3 -3
- package/dist/scss/components/lume-tooltip.scss +13 -10
- package/dist/scss/variables/_colors.scss +14 -0
- package/dist/scss/variables/_spacing.scss +1 -0
- package/dist/scss/variables/_typography.scss +5 -4
- package/dist/styles/font.css +1 -1
- package/dist/styles/main.css +2 -2
- package/package.json +1 -1
package/dist/scss/_titles.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use 'variables' as *;
|
|
2
2
|
|
|
3
|
-
$lume-chart-title-color: $lume-color-
|
|
4
|
-
$lume-axis-title-color: $lume-color-
|
|
3
|
+
$lume-chart-title-color: $lume-color-neutral-100 !default;
|
|
4
|
+
$lume-axis-title-color: $lume-color-neutral-100 !default;
|
|
5
5
|
|
|
6
6
|
.lume-chart-title {
|
|
7
7
|
color: $lume-chart-title-color;
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
.lume-typography--display {
|
|
4
4
|
font-family: $lume-font-family;
|
|
5
5
|
font-size: $lume-font-size-lg;
|
|
6
|
-
font-weight: $lume-font-weight-
|
|
6
|
+
font-weight: $lume-font-weight-semi-bold;
|
|
7
7
|
line-height: $lume-line-height-lg;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.lume-typography--body {
|
|
11
11
|
font-family: $lume-font-family;
|
|
12
|
-
font-size: $lume-font-size-
|
|
12
|
+
font-size: $lume-font-size-sm;
|
|
13
13
|
font-weight: $lume-font-weight-regular;
|
|
14
14
|
line-height: $lume-line-height-md;
|
|
15
15
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
$lume-border-width: 1px !default;
|
|
12
12
|
$lume-border-style: solid !default;
|
|
13
|
-
$lume-border-color: $lume-color-
|
|
13
|
+
$lume-border-color: $lume-color-neutral-40 !default;
|
|
14
14
|
$lume-border-radius-4: 4px !default;
|
|
15
15
|
$lume-border-radius-8: 8px !default;
|
|
16
16
|
$lume-border: $lume-border-width $lume-border-style $lume-border-color !default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use '../variables' as *;
|
|
2
2
|
|
|
3
|
-
$legend-symbol-size: $lume-spacing-
|
|
3
|
+
$legend-symbol-size: $lume-spacing-8 !default;
|
|
4
4
|
|
|
5
5
|
.lume-chart-legend {
|
|
6
6
|
display: flex;
|
|
@@ -11,9 +11,9 @@ $legend-symbol-size: $lume-spacing-10 !default;
|
|
|
11
11
|
align-items: center;
|
|
12
12
|
|
|
13
13
|
padding: 0.25rem 0.5rem;
|
|
14
|
-
gap: 0.
|
|
14
|
+
gap: 0.5rem;
|
|
15
15
|
|
|
16
|
-
color: $lume-color-
|
|
16
|
+
color: $lume-color-neutral-100;
|
|
17
17
|
|
|
18
18
|
cursor: default;
|
|
19
19
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
@use '../variables' as *;
|
|
2
2
|
|
|
3
|
-
$axis-label-color: $lume-color-
|
|
4
|
-
$axis-label-hover-color: $lume-color-
|
|
3
|
+
$axis-label-color: $lume-color-neutral-80;
|
|
4
|
+
$axis-label-hover-color: $lume-color-neutral-100;
|
|
5
5
|
|
|
6
|
-
$axis-line-color: $lume-color-
|
|
6
|
+
$axis-line-color: $lume-color-neutral-20;
|
|
7
7
|
|
|
8
8
|
.axis {
|
|
9
9
|
&__grid-line {
|
|
@@ -8,17 +8,16 @@ $lume-tooltip-border-radius: $lume-border-radius-8 !default;
|
|
|
8
8
|
$lume-tooltip-box-shadow: $lume-box-shadow !default;
|
|
9
9
|
$lume-tooltip-max-width: 288px !default;
|
|
10
10
|
|
|
11
|
-
$lume-tooltip-content-padding: $lume-spacing-
|
|
11
|
+
$lume-tooltip-content-padding: $lume-spacing-8 $lume-spacing-12 !default;
|
|
12
12
|
$lume-tooltip-z-index: 500 !default;
|
|
13
13
|
|
|
14
|
-
$lume-tooltip-title-color: $lume-color-
|
|
14
|
+
$lume-tooltip-title-color: $lume-color-neutral-100 !default;
|
|
15
15
|
|
|
16
|
-
$lume-tooltip-item-color: $lume-color-
|
|
17
|
-
$lume-tooltip-value-color: $lume-color-
|
|
16
|
+
$lume-tooltip-item-color: $lume-color-neutral-100 !default;
|
|
17
|
+
$lume-tooltip-value-color: $lume-color-neutral-100 !default;
|
|
18
18
|
|
|
19
|
-
$lume-tooltip-item-line-height: $lume-line-height-sm !default;
|
|
20
19
|
$lume-tooltip-item-min-width: 112px !default;
|
|
21
|
-
$lume-tooltip-symbol-size: $lume-spacing-
|
|
20
|
+
$lume-tooltip-symbol-size: $lume-spacing-8 !default;
|
|
22
21
|
|
|
23
22
|
.lume-tooltip {
|
|
24
23
|
position: absolute;
|
|
@@ -45,13 +44,15 @@ $lume-tooltip-symbol-size: $lume-spacing-10 !default;
|
|
|
45
44
|
margin-top: $lume-spacing-4;
|
|
46
45
|
margin-bottom: $lume-spacing-4;
|
|
47
46
|
border: 0;
|
|
48
|
-
border-top: 1px solid $lume-color-
|
|
47
|
+
border-top: 1px solid $lume-color-neutral-40;
|
|
49
48
|
}
|
|
50
49
|
}
|
|
51
50
|
|
|
52
51
|
&__title {
|
|
53
|
-
margin-bottom: $lume-spacing-
|
|
54
|
-
font-
|
|
52
|
+
margin-bottom: $lume-spacing-6;
|
|
53
|
+
font-size: $lume-font-size-sm;
|
|
54
|
+
line-height: $lume-line-height-sm;
|
|
55
|
+
font-weight: $lume-font-weight-semi-bold;
|
|
55
56
|
color: $lume-tooltip-title-color;
|
|
56
57
|
}
|
|
57
58
|
|
|
@@ -65,6 +66,8 @@ $lume-tooltip-symbol-size: $lume-spacing-10 !default;
|
|
|
65
66
|
display: flex;
|
|
66
67
|
min-width: $lume-tooltip-item-min-width;
|
|
67
68
|
margin-bottom: $lume-spacing-4;
|
|
69
|
+
font-size: $lume-font-size-sm;
|
|
70
|
+
line-height: $lume-line-height-sm;
|
|
68
71
|
color: $lume-tooltip-item-color;
|
|
69
72
|
|
|
70
73
|
&:last-child {
|
|
@@ -74,7 +77,7 @@ $lume-tooltip-symbol-size: $lume-spacing-10 !default;
|
|
|
74
77
|
|
|
75
78
|
&__symbol {
|
|
76
79
|
margin-top: math.div(
|
|
77
|
-
$lume-
|
|
80
|
+
$lume-line-height-sm - $lume-tooltip-symbol-size,
|
|
78
81
|
2
|
|
79
82
|
); // default: 3px
|
|
80
83
|
margin-right: $lume-spacing-8;
|
|
@@ -152,6 +152,13 @@ $lume-color-gold-map: (
|
|
|
152
152
|
$lume-color-white: #ffffff !default;
|
|
153
153
|
$lume-color-black: #00112c !default;
|
|
154
154
|
|
|
155
|
+
$lume-color-neutral-10: #f7f7f8 !default;
|
|
156
|
+
$lume-color-neutral-20: #eeeff1 !default;
|
|
157
|
+
$lume-color-neutral-40: #dbdee2 !default;
|
|
158
|
+
$lume-color-neutral-60: #8d95a3 !default;
|
|
159
|
+
$lume-color-neutral-80: #5c687c !default;
|
|
160
|
+
$lume-color-neutral-100: #00112c !default;
|
|
161
|
+
|
|
155
162
|
// Greys
|
|
156
163
|
|
|
157
164
|
$lume-color-grey-10: #f7f8f9 !default;
|
|
@@ -187,6 +194,13 @@ $lume-other-colors: (
|
|
|
187
194
|
'grey-100': $lume-color-grey-100,
|
|
188
195
|
'grey': $lume-color-grey-50,
|
|
189
196
|
|
|
197
|
+
'neutral-10': $lume-color-neutral-10,
|
|
198
|
+
'neutral-20': $lume-color-neutral-20,
|
|
199
|
+
'neutral-40': $lume-color-neutral-40,
|
|
200
|
+
'neutral-60': $lume-color-neutral-60,
|
|
201
|
+
'neutral-80': $lume-color-neutral-80,
|
|
202
|
+
'neutral-100': $lume-color-neutral-100,
|
|
203
|
+
|
|
190
204
|
'green': $lume-color-green,
|
|
191
205
|
'orange': $lume-color-orange,
|
|
192
206
|
'red': $lume-color-red,
|
|
@@ -11,12 +11,13 @@ $lume-font-size-lg: 20px !default;
|
|
|
11
11
|
|
|
12
12
|
// Line height
|
|
13
13
|
|
|
14
|
-
$lume-line-height-xs:
|
|
15
|
-
$lume-line-height-sm:
|
|
16
|
-
$lume-line-height-md:
|
|
17
|
-
$lume-line-height-lg:
|
|
14
|
+
$lume-line-height-xs: 16px !default;
|
|
15
|
+
$lume-line-height-sm: 18px !default;
|
|
16
|
+
$lume-line-height-md: 20px !default;
|
|
17
|
+
$lume-line-height-lg: 30px !default;
|
|
18
18
|
|
|
19
19
|
// Weight
|
|
20
20
|
|
|
21
21
|
$lume-font-weight-regular: 400 !default;
|
|
22
22
|
$lume-font-weight-medium: 500 !default;
|
|
23
|
+
$lume-font-weight-semi-bold: 600 !default;
|