@entur/modal 1.7.77 → 1.7.79-beta.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/styles.css +441 -297
- package/package.json +6 -6
package/dist/styles.css
CHANGED
|
@@ -1,320 +1,464 @@
|
|
|
1
|
-
/* DO NOT CHANGE!*/
|
|
2
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
/* DO NOT CHANGE!*/
|
|
4
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
|
-
/* DO NOT CHANGE!*/
|
|
6
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
7
1
|
[data-color-mode=light],
|
|
8
|
-
:root
|
|
9
|
-
--components-modal-drawer-contrast-background
|
|
10
|
-
--components-modal-drawer-contrast-text
|
|
11
|
-
--components-modal-drawer-standard-background
|
|
12
|
-
--components-modal-drawer-standard-text
|
|
13
|
-
--components-modal-modal-contrast-border:
|
|
14
|
-
--components-modal-modal-contrast-fill
|
|
15
|
-
--components-modal-modal-contrast-icon
|
|
16
|
-
--components-modal-modal-contrast-text
|
|
17
|
-
--components-modal-modal-standard-border
|
|
18
|
-
--components-modal-modal-standard-fill
|
|
19
|
-
--components-modal-modal-standard-icon
|
|
20
|
-
--components-modal-modal-standard-text
|
|
2
|
+
:root{
|
|
3
|
+
--components-modal-drawer-contrast-background:#393d79;
|
|
4
|
+
--components-modal-drawer-contrast-text:#ffffff;
|
|
5
|
+
--components-modal-drawer-standard-background:#eaeaf1;
|
|
6
|
+
--components-modal-drawer-standard-text:#181c56;
|
|
7
|
+
--components-modal-modal-contrast-border:rgba(255, 255, 255, 0);
|
|
8
|
+
--components-modal-modal-contrast-fill:#ffffff;
|
|
9
|
+
--components-modal-modal-contrast-icon:#181c56;
|
|
10
|
+
--components-modal-modal-contrast-text:#181c56;
|
|
11
|
+
--components-modal-modal-standard-border:#e3e6e8;
|
|
12
|
+
--components-modal-modal-standard-fill:#ffffff;
|
|
13
|
+
--components-modal-modal-standard-icon:#181c56;
|
|
14
|
+
--components-modal-modal-standard-text:#181c56;
|
|
21
15
|
}
|
|
22
16
|
|
|
23
|
-
[data-color-mode=dark]
|
|
24
|
-
--components-modal-drawer-contrast-background
|
|
25
|
-
--components-modal-drawer-contrast-text
|
|
26
|
-
--components-modal-drawer-standard-background
|
|
27
|
-
--components-modal-drawer-standard-text
|
|
28
|
-
--components-modal-modal-contrast-border:
|
|
29
|
-
--components-modal-modal-contrast-fill
|
|
30
|
-
--components-modal-modal-contrast-icon
|
|
31
|
-
--components-modal-modal-contrast-text
|
|
32
|
-
--components-modal-modal-standard-border:
|
|
33
|
-
--components-modal-modal-standard-fill
|
|
34
|
-
--components-modal-modal-standard-icon
|
|
35
|
-
--components-modal-modal-standard-text
|
|
17
|
+
[data-color-mode=dark]{
|
|
18
|
+
--components-modal-drawer-contrast-background:#393a49;
|
|
19
|
+
--components-modal-drawer-contrast-text:#e5e5e9;
|
|
20
|
+
--components-modal-drawer-standard-background:#393a49;
|
|
21
|
+
--components-modal-drawer-standard-text:#e5e5e9;
|
|
22
|
+
--components-modal-modal-contrast-border:rgba(255, 255, 255, 0);
|
|
23
|
+
--components-modal-modal-contrast-fill:#464755;
|
|
24
|
+
--components-modal-modal-contrast-icon:#e5e5e9;
|
|
25
|
+
--components-modal-modal-contrast-text:#e5e5e9;
|
|
26
|
+
--components-modal-modal-standard-border:rgba(255, 255, 255, 0);
|
|
27
|
+
--components-modal-modal-standard-fill:#464755;
|
|
28
|
+
--components-modal-modal-standard-icon:#e5e5e9;
|
|
29
|
+
--components-modal-modal-standard-text:#e5e5e9;
|
|
36
30
|
}
|
|
37
|
-
|
|
38
|
-
/* DO NOT CHANGE!*/
|
|
39
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
40
|
-
/* DO NOT CHANGE!*/
|
|
41
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
42
31
|
[data-color-mode=light],
|
|
43
|
-
:root
|
|
44
|
-
--basecolors-frame-contrast
|
|
45
|
-
--basecolors-frame-contrastalt
|
|
46
|
-
--basecolors-frame-contrastalt-2
|
|
47
|
-
--basecolors-frame-default
|
|
48
|
-
--basecolors-frame-elevated
|
|
49
|
-
--basecolors-frame-elevatedalt
|
|
50
|
-
--basecolors-frame-subdued
|
|
51
|
-
--basecolors-frame-tint
|
|
52
|
-
--basecolors-shape-accent
|
|
53
|
-
--basecolors-shape-bicycle-contrast
|
|
54
|
-
--basecolors-shape-bicycle-default
|
|
55
|
-
--basecolors-shape-bus-contrast
|
|
56
|
-
--basecolors-shape-bus-default
|
|
57
|
-
--basecolors-shape-cableway-contrast
|
|
58
|
-
--basecolors-shape-cableway-default
|
|
59
|
-
--basecolors-shape-disabled
|
|
60
|
-
--basecolors-shape-disabledalt
|
|
61
|
-
--basecolors-shape-ferry-contrast
|
|
62
|
-
--basecolors-shape-ferry-default
|
|
63
|
-
--basecolors-shape-funicular-contrast
|
|
64
|
-
--basecolors-shape-funicular-default
|
|
65
|
-
--basecolors-shape-helicopter-contrast
|
|
66
|
-
--basecolors-shape-helicopter-default
|
|
67
|
-
--basecolors-shape-highlight
|
|
68
|
-
--basecolors-shape-light
|
|
69
|
-
--basecolors-shape-mask
|
|
70
|
-
--basecolors-shape-maskalt
|
|
71
|
-
--basecolors-shape-metro-contrast
|
|
72
|
-
--basecolors-shape-metro-default
|
|
73
|
-
--basecolors-shape-mobility-contrast
|
|
74
|
-
--basecolors-shape-mobility-default
|
|
75
|
-
--basecolors-shape-plane-contrast
|
|
76
|
-
--basecolors-shape-plane-default
|
|
77
|
-
--basecolors-shape-subdued
|
|
78
|
-
--basecolors-shape-subduedalt
|
|
79
|
-
--basecolors-shape-taxi-contrast
|
|
80
|
-
--basecolors-shape-taxi-default
|
|
81
|
-
--basecolors-shape-train-contrast
|
|
82
|
-
--basecolors-shape-train-default
|
|
83
|
-
--basecolors-shape-tram-contrast
|
|
84
|
-
--basecolors-shape-tram-default
|
|
85
|
-
--basecolors-shape-walk-contrast
|
|
86
|
-
--basecolors-shape-walk-default
|
|
87
|
-
--basecolors-shape-airportlinkbus-contrast
|
|
88
|
-
--basecolors-shape-airportlinkbus-default
|
|
89
|
-
--basecolors-shape-airportlinkrail-contrast
|
|
90
|
-
--basecolors-shape-airportlinkrail-default
|
|
91
|
-
--basecolors-stroke-contrast
|
|
92
|
-
--basecolors-stroke-default
|
|
93
|
-
--basecolors-stroke-disabled
|
|
94
|
-
--basecolors-stroke-focus-contrast
|
|
95
|
-
--basecolors-stroke-focus-standard
|
|
96
|
-
--basecolors-stroke-highlight
|
|
97
|
-
--basecolors-stroke-light
|
|
98
|
-
--basecolors-stroke-subdued
|
|
99
|
-
--basecolors-stroke-subduedalt
|
|
100
|
-
--basecolors-text-accent
|
|
101
|
-
--basecolors-text-disabled
|
|
102
|
-
--basecolors-text-disabledalt
|
|
103
|
-
--basecolors-text-highlight
|
|
104
|
-
--basecolors-text-light
|
|
105
|
-
--basecolors-text-subdued
|
|
106
|
-
--basecolors-text-subduedalt
|
|
32
|
+
:root{
|
|
33
|
+
--basecolors-frame-contrast:#181c56;
|
|
34
|
+
--basecolors-frame-contrastalt:#393d79;
|
|
35
|
+
--basecolors-frame-contrastalt-2:#292b6a;
|
|
36
|
+
--basecolors-frame-default:#ffffff;
|
|
37
|
+
--basecolors-frame-elevated:#ffffff;
|
|
38
|
+
--basecolors-frame-elevatedalt:#f6f6f9;
|
|
39
|
+
--basecolors-frame-subdued:#d9dae8;
|
|
40
|
+
--basecolors-frame-tint:#f6f6f9;
|
|
41
|
+
--basecolors-shape-accent:#181c56;
|
|
42
|
+
--basecolors-shape-bicycle-contrast:#00db9b;
|
|
43
|
+
--basecolors-shape-bicycle-default:#33826b;
|
|
44
|
+
--basecolors-shape-bus-contrast:#ff6392;
|
|
45
|
+
--basecolors-shape-bus-default:#c5044e;
|
|
46
|
+
--basecolors-shape-cableway-contrast:#b482fb;
|
|
47
|
+
--basecolors-shape-cableway-default:#78469a;
|
|
48
|
+
--basecolors-shape-disabled:#6e6f73;
|
|
49
|
+
--basecolors-shape-disabledalt:#b6b8ba;
|
|
50
|
+
--basecolors-shape-ferry-contrast:#6fdfff;
|
|
51
|
+
--basecolors-shape-ferry-default:#0c6693;
|
|
52
|
+
--basecolors-shape-funicular-contrast:#b482fb;
|
|
53
|
+
--basecolors-shape-funicular-default:#78469a;
|
|
54
|
+
--basecolors-shape-helicopter-contrast:#fbafea;
|
|
55
|
+
--basecolors-shape-helicopter-default:#800664;
|
|
56
|
+
--basecolors-shape-highlight:#ff5959;
|
|
57
|
+
--basecolors-shape-light:#ffffff;
|
|
58
|
+
--basecolors-shape-mask:#ffffff;
|
|
59
|
+
--basecolors-shape-maskalt:#ffffff;
|
|
60
|
+
--basecolors-shape-metro-contrast:#f08901;
|
|
61
|
+
--basecolors-shape-metro-default:#bf5826;
|
|
62
|
+
--basecolors-shape-mobility-contrast:#00db9b;
|
|
63
|
+
--basecolors-shape-mobility-default:#33826b;
|
|
64
|
+
--basecolors-shape-plane-contrast:#fbafea;
|
|
65
|
+
--basecolors-shape-plane-default:#800664;
|
|
66
|
+
--basecolors-shape-subdued:#626493;
|
|
67
|
+
--basecolors-shape-subduedalt:#d9dae8;
|
|
68
|
+
--basecolors-shape-taxi-contrast:#ffe082;
|
|
69
|
+
--basecolors-shape-taxi-default:#3d3e40;
|
|
70
|
+
--basecolors-shape-train-contrast:#42a5f5;
|
|
71
|
+
--basecolors-shape-train-default:#00367f;
|
|
72
|
+
--basecolors-shape-tram-contrast:#b482fb;
|
|
73
|
+
--basecolors-shape-tram-default:#78469a;
|
|
74
|
+
--basecolors-shape-walk-contrast:#8284ab;
|
|
75
|
+
--basecolors-shape-walk-default:#8d8e9c;
|
|
76
|
+
--basecolors-shape-airportlinkbus-contrast:#fbafea;
|
|
77
|
+
--basecolors-shape-airportlinkbus-default:#800664;
|
|
78
|
+
--basecolors-shape-airportlinkrail-contrast:#fbafea;
|
|
79
|
+
--basecolors-shape-airportlinkrail-default:#800664;
|
|
80
|
+
--basecolors-stroke-contrast:#aeb7e2;
|
|
81
|
+
--basecolors-stroke-default:#181c56;
|
|
82
|
+
--basecolors-stroke-disabled:#949699;
|
|
83
|
+
--basecolors-stroke-focus-contrast:#aeb7e2;
|
|
84
|
+
--basecolors-stroke-focus-standard:#181c56;
|
|
85
|
+
--basecolors-stroke-highlight:#ff5959;
|
|
86
|
+
--basecolors-stroke-light:#ffffff;
|
|
87
|
+
--basecolors-stroke-subdued:#8284ab;
|
|
88
|
+
--basecolors-stroke-subduedalt:#e3e6e8;
|
|
89
|
+
--basecolors-text-accent:#181c56;
|
|
90
|
+
--basecolors-text-disabled:#6e6f73;
|
|
91
|
+
--basecolors-text-disabledalt:#b6b8ba;
|
|
92
|
+
--basecolors-text-highlight:#ff5959;
|
|
93
|
+
--basecolors-text-light:#ffffff;
|
|
94
|
+
--basecolors-text-subdued:#626493;
|
|
95
|
+
--basecolors-text-subduedalt:#d9dae8;
|
|
107
96
|
}
|
|
108
97
|
|
|
109
|
-
[data-color-mode=dark]
|
|
110
|
-
--basecolors-frame-contrast
|
|
111
|
-
--basecolors-frame-contrastalt
|
|
112
|
-
--basecolors-frame-contrastalt-2
|
|
113
|
-
--basecolors-frame-default
|
|
114
|
-
--basecolors-frame-elevated:
|
|
115
|
-
--basecolors-frame-elevatedalt
|
|
116
|
-
--basecolors-frame-subdued
|
|
117
|
-
--basecolors-frame-tint
|
|
118
|
-
--basecolors-shape-accent
|
|
119
|
-
--basecolors-shape-bicycle-contrast
|
|
120
|
-
--basecolors-shape-bicycle-default
|
|
121
|
-
--basecolors-shape-bus-contrast
|
|
122
|
-
--basecolors-shape-bus-default
|
|
123
|
-
--basecolors-shape-cableway-contrast
|
|
124
|
-
--basecolors-shape-cableway-default
|
|
125
|
-
--basecolors-shape-disabled
|
|
126
|
-
--basecolors-shape-disabledalt
|
|
127
|
-
--basecolors-shape-ferry-contrast
|
|
128
|
-
--basecolors-shape-ferry-default
|
|
129
|
-
--basecolors-shape-funicular-contrast
|
|
130
|
-
--basecolors-shape-funicular-default
|
|
131
|
-
--basecolors-shape-helicopter-contrast
|
|
132
|
-
--basecolors-shape-helicopter-default
|
|
133
|
-
--basecolors-shape-highlight
|
|
134
|
-
--basecolors-shape-light
|
|
135
|
-
--basecolors-shape-mask
|
|
136
|
-
--basecolors-shape-maskalt
|
|
137
|
-
--basecolors-shape-metro-contrast
|
|
138
|
-
--basecolors-shape-metro-default
|
|
139
|
-
--basecolors-shape-mobility-contrast
|
|
140
|
-
--basecolors-shape-mobility-default
|
|
141
|
-
--basecolors-shape-plane-contrast
|
|
142
|
-
--basecolors-shape-plane-default
|
|
143
|
-
--basecolors-shape-subdued
|
|
144
|
-
--basecolors-shape-subduedalt
|
|
145
|
-
--basecolors-shape-taxi-contrast
|
|
146
|
-
--basecolors-shape-taxi-default
|
|
147
|
-
--basecolors-shape-train-contrast
|
|
148
|
-
--basecolors-shape-train-default
|
|
149
|
-
--basecolors-shape-tram-contrast
|
|
150
|
-
--basecolors-shape-tram-default
|
|
151
|
-
--basecolors-shape-walk-contrast
|
|
152
|
-
--basecolors-shape-walk-default
|
|
153
|
-
--basecolors-shape-airportlinkbus-contrast
|
|
154
|
-
--basecolors-shape-airportlinkbus-default
|
|
155
|
-
--basecolors-shape-airportlinkrail-contrast
|
|
156
|
-
--basecolors-shape-airportlinkrail-default
|
|
157
|
-
--basecolors-stroke-contrast
|
|
158
|
-
--basecolors-stroke-default
|
|
159
|
-
--basecolors-stroke-disabled
|
|
160
|
-
--basecolors-stroke-focus-contrast
|
|
161
|
-
--basecolors-stroke-focus-standard
|
|
162
|
-
--basecolors-stroke-highlight
|
|
163
|
-
--basecolors-stroke-light
|
|
164
|
-
--basecolors-stroke-subdued
|
|
165
|
-
--basecolors-stroke-subduedalt
|
|
166
|
-
--basecolors-text-accent
|
|
167
|
-
--basecolors-text-disabled
|
|
168
|
-
--basecolors-text-disabledalt
|
|
169
|
-
--basecolors-text-highlight
|
|
170
|
-
--basecolors-text-light
|
|
171
|
-
--basecolors-text-subdued
|
|
172
|
-
--basecolors-text-subduedalt
|
|
98
|
+
[data-color-mode=dark]{
|
|
99
|
+
--basecolors-frame-contrast:#212233;
|
|
100
|
+
--basecolors-frame-contrastalt:#141527;
|
|
101
|
+
--basecolors-frame-contrastalt-2:#08091c;
|
|
102
|
+
--basecolors-frame-default:#08091c;
|
|
103
|
+
--basecolors-frame-elevated:rgba(229, 229, 233, 0.1490196078);
|
|
104
|
+
--basecolors-frame-elevatedalt:#464755;
|
|
105
|
+
--basecolors-frame-subdued:#2d2e3e;
|
|
106
|
+
--basecolors-frame-tint:#141527;
|
|
107
|
+
--basecolors-shape-accent:#e5e5e9;
|
|
108
|
+
--basecolors-shape-bicycle-contrast:#4db295;
|
|
109
|
+
--basecolors-shape-bicycle-default:#4db295;
|
|
110
|
+
--basecolors-shape-bus-contrast:#ef7398;
|
|
111
|
+
--basecolors-shape-bus-default:#ef7398;
|
|
112
|
+
--basecolors-shape-cableway-contrast:#b898e5;
|
|
113
|
+
--basecolors-shape-cableway-default:#b898e5;
|
|
114
|
+
--basecolors-shape-disabled:#b6b8ba;
|
|
115
|
+
--basecolors-shape-disabledalt:#b3b4bd;
|
|
116
|
+
--basecolors-shape-ferry-contrast:#8ccfe2;
|
|
117
|
+
--basecolors-shape-ferry-default:#8ccfe2;
|
|
118
|
+
--basecolors-shape-funicular-contrast:#b898e5;
|
|
119
|
+
--basecolors-shape-funicular-default:#b898e5;
|
|
120
|
+
--basecolors-shape-helicopter-contrast:#f2b8e5;
|
|
121
|
+
--basecolors-shape-helicopter-default:#f2b8e5;
|
|
122
|
+
--basecolors-shape-highlight:#ff9494;
|
|
123
|
+
--basecolors-shape-light:#e5e5e9;
|
|
124
|
+
--basecolors-shape-mask:#2d2e3e;
|
|
125
|
+
--basecolors-shape-maskalt:#393a49;
|
|
126
|
+
--basecolors-shape-metro-contrast:#dd973c;
|
|
127
|
+
--basecolors-shape-metro-default:#dd973c;
|
|
128
|
+
--basecolors-shape-mobility-contrast:#4db295;
|
|
129
|
+
--basecolors-shape-mobility-default:#4db295;
|
|
130
|
+
--basecolors-shape-plane-contrast:#f2b8e5;
|
|
131
|
+
--basecolors-shape-plane-default:#f2b8e5;
|
|
132
|
+
--basecolors-shape-subdued:#b3b4bd;
|
|
133
|
+
--basecolors-shape-subduedalt:#b3b4bd;
|
|
134
|
+
--basecolors-shape-taxi-contrast:#ffe082;
|
|
135
|
+
--basecolors-shape-taxi-default:#ffe082;
|
|
136
|
+
--basecolors-shape-train-contrast:#60a2d7;
|
|
137
|
+
--basecolors-shape-train-default:#60a2d7;
|
|
138
|
+
--basecolors-shape-tram-contrast:#b898e5;
|
|
139
|
+
--basecolors-shape-tram-default:#b898e5;
|
|
140
|
+
--basecolors-shape-walk-contrast:#8d8e9c;
|
|
141
|
+
--basecolors-shape-walk-default:#8d8e9c;
|
|
142
|
+
--basecolors-shape-airportlinkbus-contrast:#f2b8e5;
|
|
143
|
+
--basecolors-shape-airportlinkbus-default:#f2b8e5;
|
|
144
|
+
--basecolors-shape-airportlinkrail-contrast:#f2b8e5;
|
|
145
|
+
--basecolors-shape-airportlinkrail-default:#f2b8e5;
|
|
146
|
+
--basecolors-stroke-contrast:#aeb7e2;
|
|
147
|
+
--basecolors-stroke-default:#b3b4bd;
|
|
148
|
+
--basecolors-stroke-disabled:#e3e6e8;
|
|
149
|
+
--basecolors-stroke-focus-contrast:#aeb7e2;
|
|
150
|
+
--basecolors-stroke-focus-standard:#aeb7e2;
|
|
151
|
+
--basecolors-stroke-highlight:#ff9494;
|
|
152
|
+
--basecolors-stroke-light:#b3b4bd;
|
|
153
|
+
--basecolors-stroke-subdued:#81828f;
|
|
154
|
+
--basecolors-stroke-subduedalt:#949699;
|
|
155
|
+
--basecolors-text-accent:#e5e5e9;
|
|
156
|
+
--basecolors-text-disabled:#b6b8ba;
|
|
157
|
+
--basecolors-text-disabledalt:#b6b8ba;
|
|
158
|
+
--basecolors-text-highlight:#ff9494;
|
|
159
|
+
--basecolors-text-light:#e5e5e9;
|
|
160
|
+
--basecolors-text-subdued:#b3b4bd;
|
|
161
|
+
--basecolors-text-subduedalt:#b3b4bd;
|
|
173
162
|
}
|
|
174
163
|
|
|
175
|
-
:root
|
|
176
|
-
--eds-modal:
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
:root {
|
|
180
|
-
--reach-dialog: 1;
|
|
164
|
+
:root{
|
|
165
|
+
--eds-modal:1;
|
|
166
|
+
}:root{
|
|
167
|
+
--reach-dialog:1;
|
|
181
168
|
}
|
|
182
169
|
|
|
183
|
-
.eds-modal__overlay
|
|
184
|
-
background:
|
|
185
|
-
bottom:
|
|
186
|
-
display
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
}
|
|
236
|
-
.eds-modal__content--
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
170
|
+
.eds-modal__overlay{
|
|
171
|
+
background:rgba(0, 0, 0, 0.5);
|
|
172
|
+
bottom:0;
|
|
173
|
+
display:-webkit-box;
|
|
174
|
+
display:-webkit-flex;
|
|
175
|
+
display:-moz-box;
|
|
176
|
+
display:flex;
|
|
177
|
+
left:0;
|
|
178
|
+
overflow:hidden;
|
|
179
|
+
position:fixed;
|
|
180
|
+
right:0;
|
|
181
|
+
top:0;
|
|
182
|
+
z-index:30;
|
|
183
|
+
-webkit-animation:fadeInOverlay;
|
|
184
|
+
-moz-animation:fadeInOverlay;
|
|
185
|
+
-o-animation:fadeInOverlay;
|
|
186
|
+
animation:fadeInOverlay;
|
|
187
|
+
-webkit-animation-duration:0.2s;
|
|
188
|
+
-moz-animation-duration:0.2s;
|
|
189
|
+
-o-animation-duration:0.2s;
|
|
190
|
+
animation-duration:0.2s;
|
|
191
|
+
-webkit-animation-timing-function:ease-in-out;
|
|
192
|
+
-moz-animation-timing-function:ease-in-out;
|
|
193
|
+
-o-animation-timing-function:ease-in-out;
|
|
194
|
+
animation-timing-function:ease-in-out;
|
|
195
|
+
}
|
|
196
|
+
.eds-modal__content{
|
|
197
|
+
background:var(--components-modal-modal-standard-fill);
|
|
198
|
+
border:1px solid var(--components-modal-modal-standard-border);
|
|
199
|
+
-webkit-border-radius:0.75rem;
|
|
200
|
+
-moz-border-radius:0.75rem;
|
|
201
|
+
border-radius:0.75rem;
|
|
202
|
+
color:var(--components-modal-modal-standard-text);
|
|
203
|
+
margin:auto;
|
|
204
|
+
padding:1.5rem;
|
|
205
|
+
position:relative;
|
|
206
|
+
width:100%;
|
|
207
|
+
max-height:90vh;
|
|
208
|
+
overflow:auto;
|
|
209
|
+
z-index:40;
|
|
210
|
+
-webkit-animation:slideInContent;
|
|
211
|
+
-moz-animation:slideInContent;
|
|
212
|
+
-o-animation:slideInContent;
|
|
213
|
+
animation:slideInContent;
|
|
214
|
+
-webkit-animation-duration:0.2s;
|
|
215
|
+
-moz-animation-duration:0.2s;
|
|
216
|
+
-o-animation-duration:0.2s;
|
|
217
|
+
animation-duration:0.2s;
|
|
218
|
+
-webkit-animation-timing-function:ease-in-out;
|
|
219
|
+
-moz-animation-timing-function:ease-in-out;
|
|
220
|
+
-o-animation-timing-function:ease-in-out;
|
|
221
|
+
animation-timing-function:ease-in-out;
|
|
222
|
+
}
|
|
223
|
+
.eds-modal__content--align-center{
|
|
224
|
+
display:-webkit-box;
|
|
225
|
+
display:-webkit-flex;
|
|
226
|
+
display:-moz-box;
|
|
227
|
+
display:flex;
|
|
228
|
+
-webkit-box-orient:vertical;
|
|
229
|
+
-webkit-box-direction:normal;
|
|
230
|
+
-webkit-flex-direction:column;
|
|
231
|
+
-moz-box-orient:vertical;
|
|
232
|
+
-moz-box-direction:normal;
|
|
233
|
+
flex-direction:column;
|
|
234
|
+
-webkit-box-align:center;
|
|
235
|
+
-webkit-align-items:center;
|
|
236
|
+
-moz-box-align:center;
|
|
237
|
+
align-items:center;
|
|
238
|
+
text-align:center;
|
|
239
|
+
}
|
|
240
|
+
.eds-modal__content--align-end{
|
|
241
|
+
display:-webkit-box;
|
|
242
|
+
display:-webkit-flex;
|
|
243
|
+
display:-moz-box;
|
|
244
|
+
display:flex;
|
|
245
|
+
-webkit-box-orient:vertical;
|
|
246
|
+
-webkit-box-direction:normal;
|
|
247
|
+
-webkit-flex-direction:column;
|
|
248
|
+
-moz-box-orient:vertical;
|
|
249
|
+
-moz-box-direction:normal;
|
|
250
|
+
flex-direction:column;
|
|
251
|
+
-webkit-box-align:end;
|
|
252
|
+
-webkit-align-items:flex-end;
|
|
253
|
+
-moz-box-align:end;
|
|
254
|
+
align-items:flex-end;
|
|
255
|
+
}
|
|
256
|
+
.eds-modal__content--size-extraSmall{
|
|
257
|
+
max-width:21rem;
|
|
258
|
+
padding:1.5rem;
|
|
259
|
+
}
|
|
260
|
+
.eds-modal__content--size-small{
|
|
261
|
+
max-width:28.125rem;
|
|
262
|
+
padding:2.5rem;
|
|
263
|
+
}
|
|
264
|
+
.eds-modal__content--size-medium{
|
|
265
|
+
max-width:45rem;
|
|
266
|
+
padding:3rem;
|
|
267
|
+
}
|
|
268
|
+
.eds-modal__content--size-large{
|
|
269
|
+
max-width:56.25rem;
|
|
270
|
+
padding:3rem;
|
|
271
|
+
}
|
|
272
|
+
.eds-modal__content--size-extraLarge{
|
|
273
|
+
max-width:78.75rem;
|
|
274
|
+
padding:3rem;
|
|
275
|
+
}
|
|
276
|
+
.eds-modal__content::-webkit-scrollbar{
|
|
277
|
+
width:16px;
|
|
278
|
+
}
|
|
279
|
+
.eds-modal__content::-webkit-scrollbar-track{
|
|
280
|
+
margin-block:0.5rem;
|
|
281
|
+
}
|
|
282
|
+
.eds-modal__content::-webkit-scrollbar-thumb{
|
|
283
|
+
background-color:lightgrey;
|
|
284
|
+
border:4px solid transparent;
|
|
285
|
+
-webkit-border-radius:8px;
|
|
286
|
+
border-radius:8px;
|
|
287
|
+
background-clip:padding-box;
|
|
288
|
+
}
|
|
289
|
+
.eds-modal__content::-webkit-scrollbar-thumb:hover{
|
|
290
|
+
background-color:grey;
|
|
291
|
+
}
|
|
292
|
+
.eds-modal__close{
|
|
293
|
+
position:absolute;
|
|
294
|
+
top:1rem;
|
|
295
|
+
right:1rem;
|
|
296
|
+
color:var(--components-modal-modal-standard-icon);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
@-webkit-keyframes fadeInOverlay{
|
|
300
|
+
from{
|
|
301
|
+
opacity:0;
|
|
302
|
+
}
|
|
303
|
+
to{
|
|
304
|
+
opacity:1;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
@-moz-keyframes fadeInOverlay{
|
|
309
|
+
from{
|
|
310
|
+
opacity:0;
|
|
311
|
+
}
|
|
312
|
+
to{
|
|
313
|
+
opacity:1;
|
|
314
|
+
}
|
|
264
315
|
}
|
|
265
316
|
|
|
266
|
-
|
|
267
|
-
from
|
|
268
|
-
opacity:
|
|
317
|
+
@-o-keyframes fadeInOverlay{
|
|
318
|
+
from{
|
|
319
|
+
opacity:0;
|
|
269
320
|
}
|
|
270
|
-
to
|
|
271
|
-
opacity:
|
|
321
|
+
to{
|
|
322
|
+
opacity:1;
|
|
272
323
|
}
|
|
273
324
|
}
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
opacity:
|
|
325
|
+
|
|
326
|
+
@keyframes fadeInOverlay{
|
|
327
|
+
from{
|
|
328
|
+
opacity:0;
|
|
329
|
+
}
|
|
330
|
+
to{
|
|
331
|
+
opacity:1;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
@-webkit-keyframes slideInContent{
|
|
335
|
+
from{
|
|
336
|
+
top:5rem;
|
|
337
|
+
opacity:0;
|
|
338
|
+
}
|
|
339
|
+
to{
|
|
340
|
+
top:0%;
|
|
341
|
+
opacity:1;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
@-moz-keyframes slideInContent{
|
|
345
|
+
from{
|
|
346
|
+
top:5rem;
|
|
347
|
+
opacity:0;
|
|
348
|
+
}
|
|
349
|
+
to{
|
|
350
|
+
top:0%;
|
|
351
|
+
opacity:1;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
@-o-keyframes slideInContent{
|
|
355
|
+
from{
|
|
356
|
+
top:5rem;
|
|
357
|
+
opacity:0;
|
|
358
|
+
}
|
|
359
|
+
to{
|
|
360
|
+
top:0%;
|
|
361
|
+
opacity:1;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
@keyframes slideInContent{
|
|
365
|
+
from{
|
|
366
|
+
top:5rem;
|
|
367
|
+
opacity:0;
|
|
368
|
+
}
|
|
369
|
+
to{
|
|
370
|
+
top:0%;
|
|
371
|
+
opacity:1;
|
|
372
|
+
}
|
|
373
|
+
}.eds-drawer{
|
|
374
|
+
-webkit-animation:slideFromRight forwards ease-out 0.1s;
|
|
375
|
+
-moz-animation:slideFromRight forwards ease-out 0.1s;
|
|
376
|
+
-o-animation:slideFromRight forwards ease-out 0.1s;
|
|
377
|
+
animation:slideFromRight forwards ease-out 0.1s;
|
|
378
|
+
background-color:var(--components-modal-drawer-standard-background);
|
|
379
|
+
color:var(--components-modal-drawer-standard-text);
|
|
380
|
+
bottom:0;
|
|
381
|
+
padding:1.5rem;
|
|
382
|
+
position:fixed;
|
|
383
|
+
right:0;
|
|
384
|
+
top:0;
|
|
385
|
+
max-width:100%;
|
|
386
|
+
min-width:20rem;
|
|
387
|
+
width:25vw;
|
|
388
|
+
z-index:40;
|
|
389
|
+
overflow-y:auto;
|
|
390
|
+
}
|
|
391
|
+
.eds-contrast .eds-drawer{
|
|
392
|
+
background-color:var(--components-modal-drawer-contrast-background);
|
|
393
|
+
color:var(--components-modal-drawer-contrast-text);
|
|
394
|
+
}
|
|
395
|
+
.eds-drawer__close-button{
|
|
396
|
+
margin:0;
|
|
397
|
+
position:absolute;
|
|
398
|
+
top:1.5rem;
|
|
399
|
+
right:1.5rem;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
@-webkit-keyframes slideFromRight{
|
|
403
|
+
from{
|
|
404
|
+
-webkit-box-shadow:none;
|
|
405
|
+
box-shadow:none;
|
|
406
|
+
-webkit-transform:translateX(100%);
|
|
407
|
+
transform:translateX(100%);
|
|
408
|
+
}
|
|
409
|
+
to{
|
|
410
|
+
-webkit-box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
411
|
+
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
412
|
+
-webkit-transform:0;
|
|
413
|
+
transform:0;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
@-moz-keyframes slideFromRight{
|
|
418
|
+
from{
|
|
419
|
+
-moz-box-shadow:none;
|
|
420
|
+
box-shadow:none;
|
|
421
|
+
-moz-transform:translateX(100%);
|
|
422
|
+
transform:translateX(100%);
|
|
423
|
+
}
|
|
424
|
+
to{
|
|
425
|
+
-moz-box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
426
|
+
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
427
|
+
-moz-transform:0;
|
|
428
|
+
transform:0;
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
@-o-keyframes slideFromRight{
|
|
433
|
+
from{
|
|
434
|
+
box-shadow:none;
|
|
435
|
+
-o-transform:translateX(100%);
|
|
436
|
+
transform:translateX(100%);
|
|
278
437
|
}
|
|
279
|
-
to
|
|
280
|
-
|
|
281
|
-
|
|
438
|
+
to{
|
|
439
|
+
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
440
|
+
-o-transform:0;
|
|
441
|
+
transform:0;
|
|
282
442
|
}
|
|
283
|
-
}/* DO NOT CHANGE!*/
|
|
284
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
285
|
-
.eds-drawer {
|
|
286
|
-
animation: slideFromRight forwards ease-out 0.1s;
|
|
287
|
-
background-color: var(--components-modal-drawer-standard-background);
|
|
288
|
-
color: var(--components-modal-drawer-standard-text);
|
|
289
|
-
bottom: 0;
|
|
290
|
-
padding: 1.5rem;
|
|
291
|
-
position: fixed;
|
|
292
|
-
right: 0;
|
|
293
|
-
top: 0;
|
|
294
|
-
max-width: 100%;
|
|
295
|
-
min-width: 20rem;
|
|
296
|
-
width: 25vw;
|
|
297
|
-
z-index: 40;
|
|
298
|
-
overflow-y: auto;
|
|
299
|
-
}
|
|
300
|
-
.eds-contrast .eds-drawer {
|
|
301
|
-
background-color: var(--components-modal-drawer-contrast-background);
|
|
302
|
-
color: var(--components-modal-drawer-contrast-text);
|
|
303
|
-
}
|
|
304
|
-
.eds-drawer__close-button {
|
|
305
|
-
margin: 0;
|
|
306
|
-
position: absolute;
|
|
307
|
-
top: 1.5rem;
|
|
308
|
-
right: 1.5rem;
|
|
309
443
|
}
|
|
310
444
|
|
|
311
|
-
@keyframes slideFromRight
|
|
312
|
-
from
|
|
313
|
-
box-shadow:
|
|
314
|
-
|
|
445
|
+
@keyframes slideFromRight{
|
|
446
|
+
from{
|
|
447
|
+
-webkit-box-shadow:none;
|
|
448
|
+
-moz-box-shadow:none;
|
|
449
|
+
box-shadow:none;
|
|
450
|
+
-webkit-transform:translateX(100%);
|
|
451
|
+
-moz-transform:translateX(100%);
|
|
452
|
+
-o-transform:translateX(100%);
|
|
453
|
+
transform:translateX(100%);
|
|
315
454
|
}
|
|
316
|
-
to
|
|
317
|
-
box-shadow:
|
|
318
|
-
|
|
455
|
+
to{
|
|
456
|
+
-webkit-box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
457
|
+
-moz-box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
458
|
+
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
459
|
+
-webkit-transform:0;
|
|
460
|
+
-moz-transform:0;
|
|
461
|
+
-o-transform:0;
|
|
462
|
+
transform:0;
|
|
319
463
|
}
|
|
320
464
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/modal",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.79-beta.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/modal.cjs.js",
|
|
6
6
|
"module": "dist/modal.esm.js",
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@entur/a11y": "^0.2.102",
|
|
31
|
-
"@entur/button": "^3.
|
|
32
|
-
"@entur/icons": "^8.
|
|
33
|
-
"@entur/layout": "^3.2.
|
|
31
|
+
"@entur/button": "^3.4.0-beta.0",
|
|
32
|
+
"@entur/icons": "^8.3.0-beta.0",
|
|
33
|
+
"@entur/layout": "^3.2.3-beta.0",
|
|
34
34
|
"@entur/tokens": "^3.20.0",
|
|
35
|
-
"@entur/typography": "^2.0.
|
|
35
|
+
"@entur/typography": "^2.0.4-beta.0",
|
|
36
36
|
"@entur/utils": "^0.12.5",
|
|
37
37
|
"@reach/dialog": "^0.16.2",
|
|
38
38
|
"classnames": "^2.5.1",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"vite": "^7.1.3",
|
|
52
52
|
"vite-plugin-dts": "^4.5.4"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "e3da53c27deec5444106581c2339049814f633fe"
|
|
55
55
|
}
|