@odx/ui 5.5.0 → 6.0.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/CHANGELOG.md +17 -0
- package/README.md +0 -10
- package/ag-grid-theme.css +1 -1
- package/charts-theme.css +1 -1
- package/core-theme.css +1 -1
- package/package.json +4 -1
- package/scss/3rdparty/ag-grid/theme.scss +9 -7
- package/scss/_application.scss +5 -5
- package/scss/_base.scss +1 -1
- package/scss/_breakpoints.scss +15 -3
- package/scss/_color-palettes.scss +32 -32
- package/scss/_colors-dark.scss +31 -37
- package/scss/_colors.scss +94 -95
- package/scss/_controls.scss +45 -45
- package/scss/_description-list.scss +7 -13
- package/scss/_dimensions.scss +23 -10
- package/scss/_helpers.scss +44 -22
- package/scss/_layout.scss +2 -4
- package/scss/_skeleton.scss +1 -1
- package/scss/_text-list.scss +4 -7
- package/scss/_typography.scss +3 -6
- package/scss/_utils.scss +13 -0
- package/scss/_vertical-rythm.scss +1 -1
- package/scss/_visuals.scss +6 -6
- package/scss/abstract/_breakpoints.scss +15 -3
- package/scss/abstract/_dimensions.scss +23 -10
- package/scss/abstract/_utils.scss +13 -0
- package/scss/accordion-item.component.scss +22 -23
- package/scss/action-group.component.scss +6 -6
- package/scss/active-indicator.scss +3 -5
- package/scss/ag-grid/theme.scss +9 -7
- package/scss/anchor-navigation.component.scss +7 -10
- package/scss/area-header.component.scss +33 -31
- package/scss/autocomplete.component.scss +1 -4
- package/scss/avatar.component.scss +52 -11
- package/scss/badge.component.scss +11 -13
- package/scss/bar.component.scss +14 -18
- package/scss/brand-logo.component.scss +2 -4
- package/scss/breadcrumbs.component.scss +10 -14
- package/scss/button-group.component.scss +4 -8
- package/scss/button.component.scss +39 -36
- package/scss/calendar.component.scss +60 -56
- package/scss/card.component.scss +33 -35
- package/scss/cdk/active-indicator.scss +3 -5
- package/scss/cdk/connected-overlay.scss +4 -10
- package/scss/chart-footer.component.scss +21 -21
- package/scss/chart-header.component.scss +49 -49
- package/scss/charts/colors/_color-palettes.scss +32 -32
- package/scss/charts/components/chart-footer.component.scss +21 -21
- package/scss/charts/components/chart-header.component.scss +49 -49
- package/scss/charts/components/circle-chart-table.component.scss +1 -1
- package/scss/charts/components/line-timeframes-chart.component.scss +4 -4
- package/scss/charts/components/mirror-bar-chart.component.scss +2 -2
- package/scss/charts/components/multi-axis-box-plot.component.scss +2 -2
- package/scss/checkbox.component.scss +29 -30
- package/scss/chip-list.component.scss +5 -6
- package/scss/chip.component.scss +30 -17
- package/scss/circle-chart-table.component.scss +1 -1
- package/scss/circular-progress.component.scss +7 -8
- package/scss/colors/_color-palettes.scss +32 -32
- package/scss/components/accordion-item.component.scss +22 -23
- package/scss/components/action-group.component.scss +6 -6
- package/scss/components/anchor-navigation.component.scss +7 -10
- package/scss/components/area-header.component.scss +33 -31
- package/scss/components/autocomplete.component.scss +1 -4
- package/scss/components/avatar.component.scss +52 -11
- package/scss/components/badge.component.scss +11 -13
- package/scss/components/bar.component.scss +14 -18
- package/scss/components/brand-logo.component.scss +2 -4
- package/scss/components/breadcrumbs.component.scss +10 -14
- package/scss/components/button-group.component.scss +4 -8
- package/scss/components/button.component.scss +39 -36
- package/scss/components/calendar.component.scss +60 -56
- package/scss/components/card.component.scss +33 -35
- package/scss/components/chart-footer.component.scss +21 -21
- package/scss/components/chart-header.component.scss +49 -49
- package/scss/components/checkbox.component.scss +29 -30
- package/scss/components/chip-list.component.scss +5 -6
- package/scss/components/chip.component.scss +30 -17
- package/scss/components/circle-chart-table.component.scss +1 -1
- package/scss/components/circular-progress.component.scss +7 -8
- package/scss/components/content-box.component.scss +10 -7
- package/scss/components/datepicker.component.scss +1 -3
- package/scss/components/daterangepicker.component.scss +6 -3
- package/scss/components/dropdown.component.scss +5 -9
- package/scss/components/error-page.component.scss +5 -12
- package/scss/components/expandable-list-item.component.scss +6 -6
- package/scss/components/footer.component.scss +5 -7
- package/scss/components/form-field.component.scss +65 -58
- package/scss/components/header-navigation.component.scss +2 -10
- package/scss/components/header.component.scss +11 -13
- package/scss/components/icon.component.scss +8 -8
- package/scss/components/inline-message.component.scss +9 -15
- package/scss/components/line-timeframes-chart.component.scss +4 -4
- package/scss/components/link.component.scss +5 -5
- package/scss/components/list-item.component.scss +16 -18
- package/scss/components/list.component.scss +1 -3
- package/scss/components/loading-spinner.component.scss +4 -6
- package/scss/components/logo.component.scss +6 -10
- package/scss/components/main-menu-item.component.scss +15 -24
- package/scss/components/main-menu.component.scss +28 -41
- package/scss/components/mainfilter-group.component.scss +23 -27
- package/scss/components/menu.component.scss +7 -11
- package/scss/components/mirror-bar-chart.component.scss +2 -2
- package/scss/components/modal.component.scss +37 -43
- package/scss/components/multi-axis-box-plot.component.scss +2 -2
- package/scss/components/navigation-back.component.scss +5 -6
- package/scss/components/notification-center.component.scss +14 -18
- package/scss/components/notification-item.component.scss +6 -11
- package/scss/components/option.component.scss +11 -15
- package/scss/components/paginator.component.scss +5 -8
- package/scss/components/progress.component.scss +4 -8
- package/scss/components/radio-button.component.scss +23 -23
- package/scss/components/radio-group.component.scss +2 -4
- package/scss/components/rail-navigation-item.component.scss +19 -22
- package/scss/components/rail-navigation.component.scss +7 -12
- package/scss/components/rich-list-item-header.component.scss +4 -9
- package/scss/components/rich-list-item.component.scss +9 -17
- package/scss/components/search-bar.component.scss +13 -15
- package/scss/components/select.component.scss +9 -12
- package/scss/components/slider.component.scss +11 -14
- package/scss/components/spinbox.component.scss +23 -25
- package/scss/components/switch.component.scss +98 -123
- package/scss/components/tab-bar-item.component.scss +17 -19
- package/scss/components/tab-bar.component.scss +23 -28
- package/scss/components/table.component.scss +12 -19
- package/scss/components/timepicker.component.scss +5 -10
- package/scss/components/toast-item.component.scss +9 -15
- package/scss/components/toast.component.scss +5 -8
- package/scss/components/toggle-button-group.component.scss +13 -14
- package/scss/components/toggle-button.component.scss +15 -17
- package/scss/components/tooltip.component.scss +8 -13
- package/scss/components/wizard-step.component.scss +13 -17
- package/scss/components/wizard.component.scss +2 -4
- package/scss/connected-overlay.scss +4 -10
- package/scss/content-box.component.scss +10 -7
- package/scss/core.scss +2 -0
- package/scss/datepicker.component.scss +1 -3
- package/scss/daterangepicker.component.scss +6 -3
- package/scss/dropdown.component.scss +5 -9
- package/scss/error-page.component.scss +5 -12
- package/scss/expandable-list-item.component.scss +6 -6
- package/scss/footer.component.scss +5 -7
- package/scss/form-field.component.scss +65 -58
- package/scss/header-navigation.component.scss +2 -10
- package/scss/header.component.scss +11 -13
- package/scss/icon.component.scss +8 -8
- package/scss/inline-message.component.scss +9 -15
- package/scss/layout/_application.scss +5 -5
- package/scss/layout/_base.scss +1 -1
- package/scss/layout/_description-list.scss +7 -13
- package/scss/layout/_helpers.scss +44 -22
- package/scss/layout/_layout.scss +2 -4
- package/scss/layout/_text-list.scss +4 -7
- package/scss/layout/_typography.scss +62 -70
- package/scss/line-timeframes-chart.component.scss +4 -4
- package/scss/link.component.scss +5 -5
- package/scss/list-item.component.scss +16 -18
- package/scss/list.component.scss +1 -3
- package/scss/loading-spinner.component.scss +4 -6
- package/scss/logo.component.scss +6 -10
- package/scss/main-menu-item.component.scss +15 -24
- package/scss/main-menu.component.scss +28 -41
- package/scss/mainfilter-group.component.scss +23 -27
- package/scss/menu.component.scss +7 -11
- package/scss/mirror-bar-chart.component.scss +2 -2
- package/scss/modal.component.scss +37 -43
- package/scss/multi-axis-box-plot.component.scss +2 -2
- package/scss/navigation-back.component.scss +5 -6
- package/scss/notification-center.component.scss +14 -18
- package/scss/notification-item.component.scss +6 -11
- package/scss/option.component.scss +11 -15
- package/scss/paginator.component.scss +5 -8
- package/scss/progress.component.scss +4 -8
- package/scss/radio-button.component.scss +23 -23
- package/scss/radio-group.component.scss +2 -4
- package/scss/rail-navigation-item.component.scss +19 -22
- package/scss/rail-navigation.component.scss +7 -12
- package/scss/rich-list-item-header.component.scss +4 -9
- package/scss/rich-list-item.component.scss +9 -17
- package/scss/search-bar.component.scss +13 -15
- package/scss/select.component.scss +9 -12
- package/scss/skeleton/_skeleton.scss +1 -1
- package/scss/slider.component.scss +11 -14
- package/scss/spinbox.component.scss +23 -25
- package/scss/switch.component.scss +98 -123
- package/scss/tab-bar-item.component.scss +17 -19
- package/scss/tab-bar.component.scss +23 -28
- package/scss/table.component.scss +12 -19
- package/scss/theme.scss +9 -7
- package/scss/timepicker.component.scss +5 -10
- package/scss/toast-item.component.scss +9 -15
- package/scss/toast.component.scss +5 -8
- package/scss/toggle-button-group.component.scss +13 -14
- package/scss/toggle-button.component.scss +15 -17
- package/scss/tooltip.component.scss +8 -13
- package/scss/variables/_color-palettes-dark.scss +49 -49
- package/scss/variables/_color-palettes.scss +84 -84
- package/scss/variables/_colors-dark.scss +31 -37
- package/scss/variables/_colors.scss +94 -95
- package/scss/variables/_controls.scss +45 -45
- package/scss/variables/_typography.scss +3 -6
- package/scss/variables/_vertical-rythm.scss +1 -1
- package/scss/variables/_visuals.scss +6 -6
- package/scss/wizard-step.component.scss +13 -17
- package/scss/wizard.component.scss +2 -4
|
@@ -1,57 +1,61 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
1
|
@use 'sass:math';
|
|
3
2
|
@use '../abstract/breakpoints';
|
|
4
|
-
@use '../abstract/dimensions';
|
|
5
|
-
@use '../abstract/motion';
|
|
6
|
-
@use '../abstract/typography';
|
|
7
3
|
@use '../abstract/utils';
|
|
8
4
|
@use 'avatar.component' as avatar;
|
|
9
5
|
@use 'dropdown.component' as dropdown;
|
|
10
6
|
@use 'icon.component';
|
|
11
7
|
|
|
12
8
|
.odx-button {
|
|
9
|
+
--odx-c-confirmation-text: var(--odx-color-foreground-rest-static);
|
|
10
|
+
--odx-c-success-text: var(--odx-color-foreground-rest-static);
|
|
11
|
+
|
|
13
12
|
$variants: secondary, primary, highlight, success, danger, confirmation, ghost;
|
|
14
13
|
$icon-margin: 0.25;
|
|
15
14
|
|
|
16
15
|
@extend .odx-button--secondary;
|
|
17
|
-
@include dimensions.height(2, 1.5);
|
|
18
|
-
@include dimensions.padding-x(2 * $icon-margin);
|
|
19
|
-
@include motion.transition(background-color color);
|
|
20
|
-
@include typography.font-size(0);
|
|
21
|
-
@include typography.font-weight(medium);
|
|
22
|
-
@include utils.center-content(true);
|
|
23
|
-
@include utils.interactive();
|
|
24
16
|
|
|
25
17
|
appearance: none;
|
|
26
|
-
|
|
27
|
-
|
|
18
|
+
block-size: var(--odx-control-height-md);
|
|
19
|
+
border-radius: var(--odx-border-radius-control);
|
|
20
|
+
font-size: var(--odx-typography-font-size-text-md);
|
|
21
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
22
|
+
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
23
|
+
margin-block: var(--odx-spacing-37);
|
|
24
|
+
min-width: var(--odx-size-225);
|
|
28
25
|
overflow-wrap: anywhere;
|
|
29
26
|
overflow-y: clip;
|
|
27
|
+
padding-inline: var(--odx-spacing-75);
|
|
28
|
+
transition: var(--odx-motion-transition-default);
|
|
29
|
+
transition-property: background-color, color;
|
|
30
30
|
vertical-align: middle;
|
|
31
31
|
|
|
32
|
+
@include utils.center-content(true);
|
|
33
|
+
@include utils.interactive();
|
|
34
|
+
|
|
32
35
|
&:not(:has(> .odx-icon, > .odx-avatar)) {
|
|
33
|
-
min-width:
|
|
36
|
+
min-width: var(--odx-size-450);
|
|
34
37
|
}
|
|
35
38
|
|
|
36
39
|
> .odx-icon {
|
|
37
|
-
|
|
40
|
+
margin-inline: calc(-1 * var(--odx-spacing-37));
|
|
38
41
|
}
|
|
39
42
|
|
|
40
43
|
> .odx-icon[alignLeft] {
|
|
41
|
-
|
|
44
|
+
margin-inline-end: var(--odx-spacing-37);
|
|
42
45
|
}
|
|
43
46
|
|
|
44
47
|
> .odx-icon[alignRight] {
|
|
45
|
-
|
|
48
|
+
margin-inline-start: var(--odx-spacing-37);
|
|
46
49
|
}
|
|
47
50
|
|
|
48
51
|
> .odx-avatar {
|
|
49
52
|
@include avatar.avatar-size(1.5, math.div(32, 24), -1, 1);
|
|
50
|
-
|
|
53
|
+
|
|
54
|
+
margin-inline: calc(-1 * var(--odx-spacing-75));
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
&[data-breakpoint]:has(> .odx-icon, > .odx-avatar) {
|
|
54
|
-
min-width:
|
|
58
|
+
min-width: var(--odx-size-225);
|
|
55
59
|
}
|
|
56
60
|
|
|
57
61
|
@each $breakpoint in breakpoints.get-breakpoint-names() {
|
|
@@ -60,7 +64,7 @@
|
|
|
60
64
|
font-size: 0;
|
|
61
65
|
|
|
62
66
|
> .odx-icon {
|
|
63
|
-
|
|
67
|
+
margin-inline: calc(-1 * var(--odx-spacing-37));
|
|
64
68
|
}
|
|
65
69
|
}
|
|
66
70
|
}
|
|
@@ -92,47 +96,46 @@
|
|
|
92
96
|
&--small {
|
|
93
97
|
$icon-margin: math.div(1, 8);
|
|
94
98
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
min-width: dimensions.get-size(1);
|
|
99
|
+
block-size: var(--odx-spacing-150);
|
|
100
|
+
font-size: var(--odx-typography-font-size-text-sm);
|
|
101
|
+
line-height: var(--odx-spacing-150);
|
|
102
|
+
min-width: var(--odx-size-150);
|
|
103
|
+
padding-inline: var(--odx-control-spacing-inline-md);
|
|
101
104
|
|
|
102
105
|
&:not(:has(> .odx-icon, > .odx-avatar)) {
|
|
103
|
-
min-width:
|
|
106
|
+
min-width: var(--odx-size-300);
|
|
104
107
|
}
|
|
105
108
|
|
|
106
109
|
> .odx-icon {
|
|
107
|
-
|
|
110
|
+
margin-inline: calc(-1 * var(--odx-spacing-37));
|
|
108
111
|
}
|
|
109
112
|
|
|
110
113
|
> .odx-icon[alignLeft] {
|
|
111
|
-
|
|
114
|
+
margin-inline-end: calc(var(--odx-spacing-37) / 2);
|
|
112
115
|
}
|
|
113
116
|
|
|
114
117
|
> .odx-icon[alignRight] {
|
|
115
|
-
|
|
118
|
+
margin-inline-start: calc(var(--odx-spacing-37) / 2);
|
|
116
119
|
}
|
|
117
120
|
}
|
|
118
121
|
|
|
119
122
|
&--large {
|
|
120
123
|
$icon-margin: 0.5;
|
|
121
124
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
+
block-size: var(--odx-control-height-lg);
|
|
126
|
+
font-size: var(--odx-typography-font-size-heading-md);
|
|
127
|
+
padding-inline: var(--odx-spacing-150);
|
|
125
128
|
|
|
126
129
|
> .odx-icon {
|
|
127
|
-
|
|
130
|
+
margin-inline: calc(-1 * var(--odx-spacing-50));
|
|
128
131
|
}
|
|
129
132
|
|
|
130
133
|
> .odx-icon[alignLeft] {
|
|
131
|
-
|
|
134
|
+
margin-inline-end: var(--odx-spacing-50);
|
|
132
135
|
}
|
|
133
136
|
|
|
134
137
|
> .odx-icon[alignRight] {
|
|
135
|
-
|
|
138
|
+
margin-inline-start: var(--odx-spacing-50);
|
|
136
139
|
}
|
|
137
140
|
}
|
|
138
141
|
}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
|
-
@use '../abstract/motion';
|
|
4
|
-
@use '../abstract/typography';
|
|
5
1
|
@use '../abstract/utils';
|
|
6
2
|
|
|
7
3
|
.odx-calendar {
|
|
@@ -17,18 +13,19 @@
|
|
|
17
13
|
}
|
|
18
14
|
|
|
19
15
|
&-header {
|
|
20
|
-
@include motion.transition(background-color color border-radius);
|
|
21
|
-
@include utils.vertical-center-content();
|
|
22
|
-
@include typography.font-weight(normal);
|
|
23
|
-
|
|
24
16
|
background-color: var(--odx-c-background-content);
|
|
25
17
|
border-bottom: 1px solid var(--odx-input-control-outline-color);
|
|
18
|
+
font-weight: var(--odx-typography-font-weight-normal);
|
|
19
|
+
letter-spacing: var(--odx-typography-font-weight-normal-letter-spacing);
|
|
20
|
+
transition: var(--odx-motion-transition-default);
|
|
21
|
+
transition-property: background-color, color, border-radius;
|
|
22
|
+
|
|
23
|
+
@include utils.vertical-center-content();
|
|
26
24
|
|
|
27
25
|
.odx-action-group {
|
|
26
|
+
margin-block-end: var(--odx-spacing-25);
|
|
27
|
+
margin-block-start: 0;
|
|
28
28
|
width: 100%;
|
|
29
|
-
|
|
30
|
-
@include dimensions.margin(0, top);
|
|
31
|
-
@include dimensions.margin(math.div(4, 24), bottom);
|
|
32
29
|
}
|
|
33
30
|
|
|
34
31
|
&__title {
|
|
@@ -37,18 +34,21 @@
|
|
|
37
34
|
}
|
|
38
35
|
|
|
39
36
|
&-cell {
|
|
40
|
-
|
|
41
|
-
@include motion.transition(background-color color border-radius box-shadow);
|
|
42
|
-
@include utils.interactive();
|
|
43
|
-
@include typography.font-weight(normal);
|
|
44
|
-
|
|
45
|
-
border-radius: var(--odx-v-border-radius-controls);
|
|
37
|
+
border-radius: var(--odx-border-radius-control);
|
|
46
38
|
cursor: pointer;
|
|
39
|
+
font-weight: var(--odx-typography-font-weight-normal);
|
|
40
|
+
height: var(--odx-size-225);
|
|
41
|
+
letter-spacing: var(--odx-typography-font-weight-normal-letter-spacing);
|
|
47
42
|
position: relative;
|
|
48
43
|
text-align: center;
|
|
44
|
+
transition: var(--odx-motion-transition-default);
|
|
45
|
+
transition-property: background-color, color, border-radius, box-shadow;
|
|
49
46
|
vertical-align: middle;
|
|
47
|
+
width: var(--odx-size-225);
|
|
50
48
|
z-index: 1;
|
|
51
49
|
|
|
50
|
+
@include utils.interactive();
|
|
51
|
+
|
|
52
52
|
&--adjacent,
|
|
53
53
|
&.is-disabled {
|
|
54
54
|
color: var(--odx-input-control-color-disabled);
|
|
@@ -62,12 +62,13 @@
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
&:hover:not(.is-in-any-range) {
|
|
65
|
-
background-color: var(--
|
|
65
|
+
background-color: var(--odx-input-control-background-color);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
&--is-current,
|
|
69
69
|
&.is-selected:not(.is-in-any-range) {
|
|
70
|
-
|
|
70
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
71
|
+
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
71
72
|
}
|
|
72
73
|
|
|
73
74
|
&.is-selected:not(.is-in-any-range) {
|
|
@@ -82,36 +83,36 @@
|
|
|
82
83
|
&-month {
|
|
83
84
|
#{$root}__table {
|
|
84
85
|
border-collapse: separate;
|
|
85
|
-
border-spacing:
|
|
86
|
-
|
|
87
|
-
@include dimensions.margin-x(math.div(-4, 24));
|
|
86
|
+
border-spacing: var(--odx-spacing-25);
|
|
87
|
+
margin-inline: var(--odx-spacing-negative-25);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
#{$root}__weekdays {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
91
|
+
font-size: var(--odx-typography-font-size-text-sm);
|
|
92
|
+
font-weight: var(--odx-typography-font-weight-semibold);
|
|
93
|
+
letter-spacing: var(--odx-typography-font-weight-semibold-letter-spacing);
|
|
95
94
|
text-align: center;
|
|
96
95
|
|
|
97
|
-
|
|
98
|
-
@include dimensions.container(1.5);
|
|
96
|
+
@include utils.non-interactive();
|
|
99
97
|
|
|
98
|
+
td {
|
|
99
|
+
height: var(--odx-size-225);
|
|
100
100
|
vertical-align: middle;
|
|
101
|
+
width: var(--odx-size-225);
|
|
101
102
|
}
|
|
102
103
|
}
|
|
103
104
|
|
|
104
105
|
#{$root}-cell {
|
|
105
106
|
&--is-current::after {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
background-color: var(--blue-700-15);
|
|
110
|
-
border-radius: 50%;
|
|
107
|
+
background-color: var(--odx-input-control-background-color);
|
|
108
|
+
border-radius: var(--odx-border-radius-circle);
|
|
111
109
|
content: '';
|
|
110
|
+
height: var(--odx-size-150);
|
|
112
111
|
left: 0;
|
|
112
|
+
margin: var(--odx-spacing-37);
|
|
113
113
|
position: absolute;
|
|
114
114
|
top: 0;
|
|
115
|
+
width: var(--odx-size-150);
|
|
115
116
|
z-index: -1;
|
|
116
117
|
}
|
|
117
118
|
|
|
@@ -127,20 +128,22 @@
|
|
|
127
128
|
}
|
|
128
129
|
|
|
129
130
|
&--is-range-start {
|
|
130
|
-
|
|
131
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
132
|
+
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
131
133
|
|
|
132
134
|
&::before {
|
|
133
|
-
border-bottom-left-radius: var(--odx-
|
|
134
|
-
border-top-left-radius: var(--odx-
|
|
135
|
+
border-bottom-left-radius: var(--odx-border-radius-control);
|
|
136
|
+
border-top-left-radius: var(--odx-border-radius-control);
|
|
135
137
|
}
|
|
136
138
|
}
|
|
137
139
|
|
|
138
140
|
&--is-range-end {
|
|
139
|
-
|
|
141
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
142
|
+
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
140
143
|
|
|
141
144
|
&::before {
|
|
142
|
-
border-bottom-right-radius: var(--odx-
|
|
143
|
-
border-top-right-radius: var(--odx-
|
|
145
|
+
border-bottom-right-radius: var(--odx-border-radius-control);
|
|
146
|
+
border-top-right-radius: var(--odx-border-radius-control);
|
|
144
147
|
}
|
|
145
148
|
}
|
|
146
149
|
|
|
@@ -160,22 +163,24 @@
|
|
|
160
163
|
}
|
|
161
164
|
|
|
162
165
|
&--is-preview-range-start {
|
|
163
|
-
|
|
166
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
167
|
+
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
164
168
|
|
|
165
169
|
&::before {
|
|
166
170
|
background-color: var(--odx-c-selected);
|
|
167
|
-
border-bottom-left-radius: var(--odx-
|
|
168
|
-
border-top-left-radius: var(--odx-
|
|
171
|
+
border-bottom-left-radius: var(--odx-border-radius-control);
|
|
172
|
+
border-top-left-radius: var(--odx-border-radius-control);
|
|
169
173
|
}
|
|
170
174
|
}
|
|
171
175
|
|
|
172
176
|
&--is-preview-range-end {
|
|
173
|
-
|
|
177
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
178
|
+
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
174
179
|
|
|
175
180
|
&::before {
|
|
176
181
|
background-color: var(--odx-c-selected);
|
|
177
|
-
border-bottom-right-radius: var(--odx-
|
|
178
|
-
border-top-right-radius: var(--odx-
|
|
182
|
+
border-bottom-right-radius: var(--odx-border-radius-control);
|
|
183
|
+
border-top-right-radius: var(--odx-border-radius-control);
|
|
179
184
|
}
|
|
180
185
|
}
|
|
181
186
|
|
|
@@ -189,7 +194,7 @@
|
|
|
189
194
|
&-years {
|
|
190
195
|
#{$root}-cell {
|
|
191
196
|
&--is-current {
|
|
192
|
-
background-color: var(--
|
|
197
|
+
background-color: var(--odx-input-control-background-color);
|
|
193
198
|
}
|
|
194
199
|
}
|
|
195
200
|
}
|
|
@@ -197,25 +202,24 @@
|
|
|
197
202
|
&-year {
|
|
198
203
|
#{$root}__body {
|
|
199
204
|
display: inline-table;
|
|
200
|
-
|
|
201
|
-
@include dimensions.margin-y(1.75);
|
|
205
|
+
margin-block: calc(var(--odx-spacing-100) * 2 + var(--odx-spacing-50) + var(--odx-spacing-12));
|
|
202
206
|
}
|
|
203
207
|
|
|
204
208
|
#{$root}__table {
|
|
205
|
-
|
|
209
|
+
margin-block-end: calc(var(--odx-spacing-100) * 2 + var(--odx-spacing-12));
|
|
206
210
|
}
|
|
207
211
|
|
|
208
212
|
#{$root}__season {
|
|
209
213
|
display: grid;
|
|
210
|
-
grid-gap:
|
|
214
|
+
grid-gap: var(--odx-size-300);
|
|
211
215
|
grid-template-columns: repeat(3, 1fr);
|
|
212
216
|
margin: 2px 0;
|
|
213
|
-
|
|
214
|
-
@include dimensions.padding-x(1.16);
|
|
217
|
+
padding-inline: calc(var(--odx-spacing-150) + var(--odx-spacing-25));
|
|
215
218
|
}
|
|
216
219
|
|
|
217
220
|
#{$root}-cell {
|
|
218
|
-
|
|
221
|
+
height: var(--odx-size-250);
|
|
222
|
+
width: var(--odx-size-250);
|
|
219
223
|
}
|
|
220
224
|
}
|
|
221
225
|
|
|
@@ -226,14 +230,14 @@
|
|
|
226
230
|
|
|
227
231
|
#{$root}__year-row {
|
|
228
232
|
display: grid;
|
|
229
|
-
grid-gap:
|
|
233
|
+
grid-gap: var(--odx-size-225);
|
|
230
234
|
grid-template-columns: repeat(3, 1fr);
|
|
231
235
|
margin: 2px 0;
|
|
232
236
|
}
|
|
233
237
|
|
|
234
238
|
#{$root}-cell {
|
|
235
|
-
|
|
236
|
-
|
|
239
|
+
block-size: var(--odx-size-250);
|
|
240
|
+
inline-size: var(--odx-control-height-lg);
|
|
237
241
|
}
|
|
238
242
|
}
|
|
239
243
|
}
|
package/scss/card.component.scss
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
1
|
@use '../abstract/breakpoints';
|
|
3
|
-
@use '../abstract/dimensions';
|
|
4
|
-
@use '../abstract/motion';
|
|
5
2
|
@use '../abstract/typography';
|
|
6
3
|
@use '../abstract/utils';
|
|
7
4
|
@use '../layout/typography' as *;
|
|
@@ -20,24 +17,25 @@
|
|
|
20
17
|
$root: &;
|
|
21
18
|
$main-padding: var(--odx-card-main-padding);
|
|
22
19
|
|
|
23
|
-
--odx-card-main-padding:
|
|
24
|
-
--odx-card-gap:
|
|
20
|
+
--odx-card-main-padding: var(--odx-spacing-75);
|
|
21
|
+
--odx-card-gap: var(--odx-spacing-75);
|
|
25
22
|
|
|
26
23
|
background-color: var(--odx-c-background-content);
|
|
27
24
|
behavior: button;
|
|
28
25
|
border: var(--odx-v-outline-width-bold) solid transparent;
|
|
29
|
-
border-radius: var(--odx-
|
|
26
|
+
border-radius: var(--odx-border-radius-md);
|
|
30
27
|
container-name: card-root;
|
|
31
28
|
container-type: inline-size;
|
|
32
29
|
display: block;
|
|
33
30
|
padding: $main-padding;
|
|
34
31
|
position: relative;
|
|
32
|
+
transition: var(--odx-motion-transition-default);
|
|
33
|
+
transition-property: box-shadow, color, border-color;
|
|
35
34
|
|
|
36
|
-
@include motion.transition(box-shadow color border-color);
|
|
37
35
|
@include utils.interactive();
|
|
38
36
|
|
|
39
37
|
&--image-card {
|
|
40
|
-
--odx-card-main-padding:
|
|
38
|
+
--odx-card-main-padding: var(--odx-spacing-150);
|
|
41
39
|
|
|
42
40
|
overflow: clip;
|
|
43
41
|
}
|
|
@@ -63,15 +61,13 @@
|
|
|
63
61
|
|
|
64
62
|
#{$root}--launch-tile &,
|
|
65
63
|
#{$root}--launch-tile-centered & {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
gap: dimensions.get-size(math.div(16, 24));
|
|
64
|
+
gap: var(--odx-spacing-100);
|
|
65
|
+
padding-block: var(--odx-size-125);
|
|
66
|
+
padding-inline: var(--odx-control-spacing-inline-lg);
|
|
70
67
|
|
|
71
68
|
@include breakpoints.up(phone) {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
gap: dimensions.get-size(1);
|
|
69
|
+
gap: var(--odx-spacing-150);
|
|
70
|
+
padding-block-end: var(--odx-spacing-150);
|
|
75
71
|
}
|
|
76
72
|
}
|
|
77
73
|
}
|
|
@@ -122,16 +118,16 @@
|
|
|
122
118
|
|
|
123
119
|
.odx-chip-list-row:has(.odx-chip) {
|
|
124
120
|
left: $main-padding;
|
|
125
|
-
padding:
|
|
121
|
+
padding: var(--odx-spacing-37) 0;
|
|
126
122
|
position: absolute;
|
|
127
123
|
top: $main-padding;
|
|
128
|
-
width: calc(100% -
|
|
129
|
-
z-index: var(--odx-
|
|
124
|
+
width: calc(100% - var(--odx-size-250) - #{$main-padding} - calc(var(--odx-vertical-rythm-base-size) * (30 / 24)));
|
|
125
|
+
z-index: var(--odx-z-level-foreground);
|
|
130
126
|
}
|
|
131
127
|
|
|
132
128
|
&__content {
|
|
133
129
|
#{$root}--default & {
|
|
134
|
-
padding-right:
|
|
130
|
+
padding-right: var(--odx-size-250);
|
|
135
131
|
}
|
|
136
132
|
|
|
137
133
|
#{$root}--launch-tile &,
|
|
@@ -145,28 +141,32 @@
|
|
|
145
141
|
|
|
146
142
|
&__title {
|
|
147
143
|
#{$root}--default & {
|
|
148
|
-
padding-right:
|
|
144
|
+
padding-right: var(--odx-size-225);
|
|
149
145
|
}
|
|
150
146
|
|
|
151
147
|
#{$root}--launch-tile & {
|
|
152
148
|
@include breakpoints.container-down(card-root, phone) {
|
|
153
|
-
margin-inline-end:
|
|
149
|
+
margin-inline-end: var(--odx-size-225);
|
|
154
150
|
}
|
|
155
151
|
}
|
|
156
152
|
|
|
157
153
|
#{$root}--launch-tile &,
|
|
158
154
|
#{$root}--launch-tile-centered & {
|
|
159
|
-
font-size:
|
|
160
|
-
|
|
155
|
+
font-size: var(--odx-size-125);
|
|
156
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
157
|
+
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
158
|
+
line-height: calc(var(--odx-spacing-150) + var(--odx-spacing-25) + var(--odx-spacing-12));
|
|
161
159
|
overflow-wrap: anywhere;
|
|
162
160
|
|
|
163
|
-
@include typography.font-weight(medium);
|
|
164
161
|
@include typography.line-clamp(3);
|
|
165
162
|
|
|
166
163
|
@include breakpoints.up(phone) {
|
|
167
|
-
|
|
164
|
+
font-size: calc(var(--odx-size-125) + var(--odx-spacing-25));
|
|
165
|
+
margin-block: calc(var(--odx-spacing-75) - var(--odx-spacing-12));
|
|
166
|
+
}
|
|
168
167
|
|
|
169
|
-
|
|
168
|
+
@include breakpoints.container-down(card-root, phone) {
|
|
169
|
+
margin-inline-end: var(--odx-size-225);
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
}
|
|
@@ -200,11 +200,11 @@
|
|
|
200
200
|
padding-right: unset;
|
|
201
201
|
|
|
202
202
|
#{$root}--launch-tile & {
|
|
203
|
-
|
|
203
|
+
padding-block: var(--odx-size-250);
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
#{$root}--launch-tile-centered & {
|
|
207
|
-
gap:
|
|
207
|
+
gap: var(--odx-spacing-100);
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
}
|
|
@@ -212,21 +212,19 @@
|
|
|
212
212
|
.odx-avatar {
|
|
213
213
|
flex: 0 0 auto;
|
|
214
214
|
height: var(--odx-card-avatar-size);
|
|
215
|
+
margin-block: var(--odx-spacing-25);
|
|
215
216
|
width: var(--odx-card-avatar-size);
|
|
216
217
|
|
|
217
|
-
@include dimensions.margin-y(math.div(4, 24));
|
|
218
|
-
|
|
219
218
|
@include breakpoints.up(phone) {
|
|
220
|
-
margin:
|
|
219
|
+
margin: var(--odx-spacing-25) auto 0;
|
|
221
220
|
}
|
|
222
221
|
}
|
|
223
222
|
|
|
224
223
|
&__footer {
|
|
225
|
-
@include dimensions.padding-x(0.5);
|
|
226
|
-
|
|
227
224
|
display: flex;
|
|
228
|
-
gap:
|
|
225
|
+
gap: var(--odx-spacing-75);
|
|
229
226
|
justify-content: flex-end;
|
|
227
|
+
padding-inline: var(--odx-size-125);
|
|
230
228
|
|
|
231
229
|
#{$root}--default & {
|
|
232
230
|
display: block;
|
|
@@ -242,7 +240,7 @@
|
|
|
242
240
|
justify-content: center;
|
|
243
241
|
}
|
|
244
242
|
|
|
245
|
-
padding-bottom:
|
|
243
|
+
padding-bottom: var(--odx-spacing-75);
|
|
246
244
|
}
|
|
247
245
|
|
|
248
246
|
.odx-button {
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
@use '../abstract/motion';
|
|
2
|
-
|
|
3
1
|
.odx-cdk-active-indicator {
|
|
4
|
-
@include motion.transition(all);
|
|
5
|
-
|
|
6
2
|
opacity: 0;
|
|
7
3
|
pointer-events: none;
|
|
8
4
|
position: absolute;
|
|
9
5
|
transform-origin: 0 0;
|
|
10
|
-
|
|
6
|
+
transition: var(--odx-motion-transition-default);
|
|
7
|
+
transition-property: all;
|
|
8
|
+
z-index: var(--odx-z-level-foreground);
|
|
11
9
|
|
|
12
10
|
&--horizontal {
|
|
13
11
|
left: 0;
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
|
-
@use '../abstract/motion';
|
|
4
|
-
@use '../abstract/typography';
|
|
5
|
-
@use '../abstract/utils';
|
|
6
|
-
|
|
7
1
|
.odx-cdk-connected-overlay {
|
|
8
|
-
@include motion.transition(opacity visibility overlay);
|
|
9
|
-
|
|
10
2
|
background: transparent;
|
|
11
3
|
border: 0;
|
|
12
4
|
color: var(--odx-c-text);
|
|
@@ -16,7 +8,9 @@
|
|
|
16
8
|
padding: 0;
|
|
17
9
|
position: fixed;
|
|
18
10
|
transform: translate(var(--odx-cdk-connected-overlay-position-x, 0), var(--odx-cdk-connected-overlay-position-y, 0));
|
|
11
|
+
transition: var(--odx-motion-transition-default);
|
|
19
12
|
transition-behavior: allow-discrete;
|
|
13
|
+
transition-property: opacity, visibility, overlay;
|
|
20
14
|
|
|
21
15
|
&.force-hidden {
|
|
22
16
|
display: none;
|
|
@@ -56,8 +50,8 @@
|
|
|
56
50
|
}
|
|
57
51
|
|
|
58
52
|
.odx-cdk-connected-overlay-arrow {
|
|
59
|
-
|
|
53
|
+
block-size: var(--odx-spacing-75);
|
|
54
|
+
inline-size: var(--odx-spacing-75);
|
|
60
55
|
position: fixed;
|
|
61
56
|
transform: rotate(45deg);
|
|
62
|
-
width: dimensions.get-size(0.5);
|
|
63
57
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
.odx-chart-footer {
|
|
2
|
-
align-items: center;
|
|
3
|
-
display: flex;
|
|
4
|
-
gap:
|
|
5
|
-
justify-content: flex-end;
|
|
6
|
-
padding: calc(var(--odx-vertical-rythm-base-size) * 0.5) 0;
|
|
7
|
-
width: 100%;
|
|
8
|
-
|
|
9
|
-
.legend-item {
|
|
10
|
-
align-items: center;
|
|
11
|
-
display: flex;
|
|
12
|
-
font-size: calc(var(--odx-typography-base-size) * 0.875);
|
|
13
|
-
gap:
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.legend-dot {
|
|
17
|
-
border-radius: 50%;
|
|
18
|
-
height: calc(var(--odx-vertical-rythm-base-size) * 0.375);
|
|
19
|
-
width: calc(var(--odx-vertical-rythm-base-size) * 0.375);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
1
|
+
.odx-chart-footer {
|
|
2
|
+
align-items: center;
|
|
3
|
+
display: flex;
|
|
4
|
+
gap: var(--odx-spacing-100);
|
|
5
|
+
justify-content: flex-end;
|
|
6
|
+
padding: calc(var(--odx-vertical-rythm-base-size) * 0.5) 0;
|
|
7
|
+
width: 100%;
|
|
8
|
+
|
|
9
|
+
.legend-item {
|
|
10
|
+
align-items: center;
|
|
11
|
+
display: flex;
|
|
12
|
+
font-size: calc(var(--odx-typography-base-size) * 0.875);
|
|
13
|
+
gap: var(--odx-control-spacing-inline-md);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.legend-dot {
|
|
17
|
+
border-radius: 50%;
|
|
18
|
+
height: calc(var(--odx-vertical-rythm-base-size) * 0.375);
|
|
19
|
+
width: calc(var(--odx-vertical-rythm-base-size) * 0.375);
|
|
20
|
+
}
|
|
21
|
+
}
|