sales-frontend-design-system 0.0.136 → 0.0.138

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.
@@ -0,0 +1,188 @@
1
+ @use '../../../styles/design-system-context.scss' as *;
2
+
3
+ .drop-down {
4
+ z-index: 100;
5
+ overflow: hidden;
6
+ box-shadow: shadow(large);
7
+ }
8
+
9
+ .calendar {
10
+ display: flex;
11
+ flex-direction: column;
12
+ color: colors(text-body);
13
+ }
14
+
15
+ .calendar-title {
16
+ padding: padding(xlarge) padding(xlarge) padding(zero);
17
+
18
+ @include apply-typography(title5);
19
+ }
20
+
21
+ .calendar-navigation {
22
+ display: flex;
23
+ align-items: center;
24
+ padding: padding(large) padding(large) padding(xsmall);
25
+
26
+ .title {
27
+ @include apply-typography(subtitle3);
28
+
29
+ flex: 1;
30
+ margin: margin(zero) margin(button-small);
31
+ text-align: center;
32
+ }
33
+
34
+ .button {
35
+ display: inline-flex;
36
+ align-items: center;
37
+ justify-content: center;
38
+ width: 32px;
39
+ height: 32px;
40
+
41
+ .arrow-icon {
42
+ display: inline-block;
43
+ width: 20px;
44
+ height: 20px;
45
+ }
46
+
47
+ @include hover {
48
+ .arrow-icon > path {
49
+ fill: colors(text-primary);
50
+ }
51
+ }
52
+ }
53
+ }
54
+
55
+ .calendar-month {
56
+ display: flex;
57
+ flex-direction: column;
58
+ gap: padding(xxxsmall);
59
+ padding: padding(zero) padding(large) padding(large);
60
+ cursor: default;
61
+
62
+ @include apply-typography(body3);
63
+
64
+ @mixin calendar-month-row {
65
+ display: flex;
66
+ gap: padding(xsmall);
67
+ align-items: center;
68
+ align-self: stretch;
69
+ }
70
+
71
+ @mixin calendar-month-item {
72
+ display: flex;
73
+ flex: 1 0 0;
74
+ align-items: center;
75
+ justify-content: center;
76
+ width: 32px;
77
+ height: 32px;
78
+ }
79
+
80
+ .calendar-week {
81
+ @include calendar-month-row();
82
+
83
+ color: colors(text-body_3);
84
+ }
85
+
86
+ .calendar-week-item {
87
+ @include calendar-month-item();
88
+ }
89
+
90
+ .calendar-day {
91
+ @include calendar-month-row();
92
+
93
+ color: colors(text-neutral_1);
94
+ }
95
+
96
+ .calendar-day-item {
97
+ @include calendar-month-item();
98
+
99
+ color: colors(text-body);
100
+
101
+ &[aria-current='false'],
102
+ &[aria-disabled='true'] {
103
+ color: colors(text-neutral_2);
104
+ }
105
+
106
+ &[aria-description='Today'] {
107
+ color: colors(text-primary);
108
+ }
109
+
110
+ &[aria-pressed='true'] {
111
+ background-color: colors(surface-neutral_4);
112
+ border-radius: radius-basic(full);
113
+ }
114
+
115
+ @include hover {
116
+ &:not([aria-disabled='true']) {
117
+ background-color: colors(surface-neutral_4);
118
+ border-radius: radius-basic(full);
119
+ }
120
+ }
121
+
122
+ &[aria-selected='true'] {
123
+ color: colors(text-body_0);
124
+ background-color: colors(surface-primary);
125
+ border-radius: radius-basic(full);
126
+ }
127
+ }
128
+ }
129
+
130
+ .calendar-cta {
131
+ padding: padding(zero) padding(large) padding(large);
132
+ }
133
+
134
+ .mobile {
135
+ margin-bottom: padding(xlarge);
136
+
137
+ .calendar-title {
138
+ display: none;
139
+ }
140
+
141
+ .calendar-navigation {
142
+ padding: padding(zero) padding(zero) padding(large);
143
+
144
+ .title {
145
+ @include apply-typography(subtitle1);
146
+ }
147
+ }
148
+
149
+ .calendar-month {
150
+ gap: padding(xsmall);
151
+ padding: padding(zero);
152
+
153
+ @include apply-typography(body2);
154
+
155
+ .calendar-week {
156
+ @include apply-typography(body3);
157
+ }
158
+
159
+ .calendar-week,
160
+ .calendar-day {
161
+ justify-content: space-between;
162
+ }
163
+
164
+ .calendar-week-item,
165
+ .calendar-day-item {
166
+ max-width: 32px;
167
+ max-height: 32px;
168
+ }
169
+ }
170
+
171
+ .calendar-cta {
172
+ padding: padding(xlarge) padding(zero) padding(zero);
173
+ }
174
+ }
175
+
176
+ .date-picker-range {
177
+ display: flex;
178
+ gap: padding(xxxsmall);
179
+ align-items: center;
180
+ justify-content: center;
181
+ }
182
+
183
+ .date-picker-range-separator {
184
+ display: block;
185
+ width: 8px;
186
+ height: 2px;
187
+ background-color: colors(border-neutral_4);
188
+ }
@@ -291,6 +291,10 @@ $modal-zindex-value: zindex(modal);
291
291
  gap: margin(button-medium);
292
292
  align-items: center;
293
293
  padding: 0 margin(modal) margin(modal);
294
+
295
+ &.modal-footer-align-vertical {
296
+ flex-direction: column;
297
+ }
294
298
  }
295
299
 
296
300
  @keyframes slide-up {