@hh.ru/magritte-ui-modal-deprecated 1.0.39 → 1.0.41
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/Modal.d.ts +2 -2
- package/Modal.js +255 -189
- package/Modal.js.map +1 -1
- package/ModalContentWithHeader-CxF78N1S.js +243 -0
- package/{ModalContentWithHeader-B7tpHFBW.js.map → ModalContentWithHeader-CxF78N1S.js.map} +1 -1
- package/ModalContentWithHeader.d.ts +1 -1
- package/ModalContentWithHeader.js +1 -1
- package/ModalHeader.d.ts +1 -1
- package/ModalHeader.js +105 -29
- package/ModalHeader.js.map +1 -1
- package/index.css +123 -123
- package/index.d.ts +2 -2
- package/index.js +1 -1
- package/index.mock.js +7 -3
- package/index.mock.js.map +1 -1
- package/package.json +12 -12
- package/useModalOrder.js +69 -76
- package/useModalOrder.js.map +1 -1
- package/ModalContentWithHeader-B7tpHFBW.js +0 -150
package/index.css
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
:root{
|
|
2
|
-
--magritte-color-component-modal-background-action-
|
|
3
|
-
--magritte-gradient-component-modal-background-fade-
|
|
2
|
+
--magritte-color-component-modal-background-action-v26-0-1:#20262bad;
|
|
3
|
+
--magritte-gradient-component-modal-background-fade-v26-0-1:#00000000 0%, #0000007a 100%;
|
|
4
4
|
}
|
|
5
|
-
.magritte-content___dnhh5_1-0-
|
|
5
|
+
.magritte-content___dnhh5_1-0-41{
|
|
6
6
|
display:flex;
|
|
7
7
|
align-items:flex-start;
|
|
8
8
|
}
|
|
9
|
-
.magritte-content___dnhh5_1-0-
|
|
9
|
+
.magritte-content___dnhh5_1-0-41 + .magritte-options___DlTFU_1-0-41{
|
|
10
10
|
margin-top:24px;
|
|
11
11
|
}
|
|
12
|
-
.magritte-actions___r-a0l_1-0-
|
|
12
|
+
.magritte-actions___r-a0l_1-0-41{
|
|
13
13
|
position:relative;
|
|
14
14
|
z-index:1;
|
|
15
15
|
display:flex;
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
margin-left:auto;
|
|
19
19
|
--magritte-ui-link-padding-override:9px;
|
|
20
20
|
}
|
|
21
|
-
.magritte-actions-with-link___y3-dV_1-0-
|
|
21
|
+
.magritte-actions-with-link___y3-dV_1-0-41{
|
|
22
22
|
padding:0 8px 0 28px;
|
|
23
23
|
}
|
|
24
|
-
.magritte-content-with-image___IwN4b_1-0-
|
|
24
|
+
.magritte-content-with-image___IwN4b_1-0-41{
|
|
25
25
|
position:relative;
|
|
26
26
|
flex-direction:column;
|
|
27
27
|
justify-content:flex-end;
|
|
@@ -31,61 +31,61 @@
|
|
|
31
31
|
padding:12px 24px 24px;
|
|
32
32
|
box-sizing:border-box;
|
|
33
33
|
}
|
|
34
|
-
.magritte-content-with-image___IwN4b_1-0-
|
|
34
|
+
.magritte-content-with-image___IwN4b_1-0-41 .magritte-actions___r-a0l_1-0-41{
|
|
35
35
|
order:-1;
|
|
36
36
|
gap:0;
|
|
37
37
|
margin-right:-16px;
|
|
38
38
|
margin-top:-4px;
|
|
39
39
|
margin-bottom:auto;
|
|
40
40
|
}
|
|
41
|
-
.magritte-content-with-image___IwN4b_1-0-
|
|
41
|
+
.magritte-content-with-image___IwN4b_1-0-41 .magritte-actions___r-a0l_1-0-41:not(.magritte-actions-with-link___y3-dV_1-0-41){
|
|
42
42
|
padding:0 4px;
|
|
43
|
-
background-color:var(--magritte-color-component-modal-background-action-
|
|
43
|
+
background-color:var(--magritte-color-component-modal-background-action-v26-0-1);
|
|
44
44
|
border-radius:12px;
|
|
45
45
|
}
|
|
46
|
-
.magritte-content-with-image___IwN4b_1-0-
|
|
46
|
+
.magritte-content-with-image___IwN4b_1-0-41 .magritte-actions___r-a0l_1-0-41.magritte-actions-single___QaDKO_1-0-41:not(.magritte-actions-with-link___y3-dV_1-0-41){
|
|
47
47
|
padding:0;
|
|
48
48
|
}
|
|
49
|
-
.magritte-image-container___2MBxK_1-0-
|
|
49
|
+
.magritte-image-container___2MBxK_1-0-41{
|
|
50
50
|
position:absolute;
|
|
51
51
|
left:0;
|
|
52
52
|
bottom:0;
|
|
53
53
|
right:0;
|
|
54
54
|
background-size:cover;
|
|
55
|
-
--modal-header-gradient:linear-gradient(180deg, var(--magritte-gradient-component-modal-background-fade-
|
|
55
|
+
--modal-header-gradient:linear-gradient(180deg, var(--magritte-gradient-component-modal-background-fade-v26-0-1));
|
|
56
56
|
}
|
|
57
|
-
.magritte-title-wrapper___XEFse_1-0-
|
|
57
|
+
.magritte-title-wrapper___XEFse_1-0-41{
|
|
58
58
|
position:relative;
|
|
59
59
|
width:100%;
|
|
60
60
|
}
|
|
61
|
-
.magritte-wrapper___R4t9N_1-0-
|
|
61
|
+
.magritte-wrapper___R4t9N_1-0-41{
|
|
62
62
|
margin-bottom:24px;
|
|
63
63
|
}
|
|
64
|
-
.magritte-only-actions___ypqS-_1-0-
|
|
64
|
+
.magritte-only-actions___ypqS-_1-0-41 .magritte-actions___r-a0l_1-0-41{
|
|
65
65
|
padding-left:0;
|
|
66
66
|
}
|
|
67
|
-
.magritte-only-actions___ypqS-_1-0-
|
|
67
|
+
.magritte-only-actions___ypqS-_1-0-41 .magritte-actions-with-link___y3-dV_1-0-41{
|
|
68
68
|
padding-left:12px;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
:root{
|
|
72
|
-
--magritte-color-background-overlay-
|
|
73
|
-
--magritte-color-stroke-neutral-
|
|
74
|
-
--magritte-color-component-modal-background-content-
|
|
72
|
+
--magritte-color-background-overlay-v26-0-1:#20262bad;
|
|
73
|
+
--magritte-color-stroke-neutral-v26-0-1:#DCE3EB;
|
|
74
|
+
--magritte-color-component-modal-background-content-v26-0-1:#ffffff;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
:root{
|
|
78
|
-
--magritte-semantic-animation-ease-in-out-200-timing-function-
|
|
79
|
-
--magritte-semantic-animation-ease-in-out-200-duration-
|
|
80
|
-
--magritte-semantic-animation-ease-in-out-300-timing-function-
|
|
81
|
-
--magritte-semantic-animation-ease-in-out-300-duration-
|
|
78
|
+
--magritte-semantic-animation-ease-in-out-200-timing-function-v26-0-1:cubic-bezier(0.25, 0.1, 0.25, 1);
|
|
79
|
+
--magritte-semantic-animation-ease-in-out-200-duration-v26-0-1:200ms;
|
|
80
|
+
--magritte-semantic-animation-ease-in-out-300-timing-function-v26-0-1:cubic-bezier(0.25, 0.1, 0.25, 1);
|
|
81
|
+
--magritte-semantic-animation-ease-in-out-300-duration-v26-0-1:300ms;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
.magritte-night-theme{
|
|
85
|
-
--magritte-color-stroke-neutral-
|
|
86
|
-
--magritte-color-component-modal-background-content-
|
|
85
|
+
--magritte-color-stroke-neutral-v26-0-1:#303030;
|
|
86
|
+
--magritte-color-component-modal-background-content-v26-0-1:#111;
|
|
87
87
|
}
|
|
88
|
-
.magritte-modal-overlay___uurgp_1-0-
|
|
88
|
+
.magritte-modal-overlay___uurgp_1-0-41{
|
|
89
89
|
position:fixed;
|
|
90
90
|
top:0;
|
|
91
91
|
right:0;
|
|
@@ -95,25 +95,25 @@
|
|
|
95
95
|
align-items:center;
|
|
96
96
|
justify-content:center;
|
|
97
97
|
}
|
|
98
|
-
.magritte-modal-overlay-with-background___mR-T0_1-0-
|
|
99
|
-
background-color:var(--magritte-color-background-overlay-
|
|
98
|
+
.magritte-modal-overlay-with-background___mR-T0_1-0-41{
|
|
99
|
+
background-color:var(--magritte-color-background-overlay-v26-0-1);
|
|
100
100
|
transition-property:opacity, transform;
|
|
101
101
|
user-select:text;
|
|
102
102
|
z-index:1;
|
|
103
103
|
}
|
|
104
|
-
.magritte-modal-overlay___uurgp_1-0-
|
|
104
|
+
.magritte-modal-overlay___uurgp_1-0-41:not(.magritte-modal-overlay-with-background___mR-T0_1-0-41){
|
|
105
105
|
pointer-events:none;
|
|
106
106
|
}
|
|
107
|
-
.magritte-modal-overlay___uurgp_1-0-
|
|
107
|
+
.magritte-modal-overlay___uurgp_1-0-41:not(.magritte-modal-overlay-with-background___mR-T0_1-0-41) .magritte-modal___2Wc4s_1-0-41{
|
|
108
108
|
pointer-events:auto;
|
|
109
109
|
}
|
|
110
|
-
.magritte-modal-overlay-left___qaiC9_1-0-
|
|
110
|
+
.magritte-modal-overlay-left___qaiC9_1-0-41{
|
|
111
111
|
justify-content:flex-start;
|
|
112
112
|
}
|
|
113
|
-
.magritte-modal-overlay-right___-HTKs_1-0-
|
|
113
|
+
.magritte-modal-overlay-right___-HTKs_1-0-41{
|
|
114
114
|
justify-content:flex-end;
|
|
115
115
|
}
|
|
116
|
-
.magritte-modal___2Wc4s_1-0-
|
|
116
|
+
.magritte-modal___2Wc4s_1-0-41{
|
|
117
117
|
display:flex;
|
|
118
118
|
box-sizing:border-box;
|
|
119
119
|
margin:0 12px;
|
|
@@ -122,40 +122,40 @@
|
|
|
122
122
|
max-height:calc(100% - 12px * 2);
|
|
123
123
|
max-width:calc(100vw - 12px * 2);
|
|
124
124
|
position:relative;
|
|
125
|
-
background-color:var(--magritte-color-component-modal-background-content-
|
|
125
|
+
background-color:var(--magritte-color-component-modal-background-content-v26-0-1);
|
|
126
126
|
border-radius:24px;
|
|
127
127
|
overflow:hidden;
|
|
128
128
|
width:800px;
|
|
129
129
|
transition-property:opacity, transform;
|
|
130
130
|
container-type:inline-size;
|
|
131
131
|
}
|
|
132
|
-
.magritte-modal___2Wc4s_1-0-
|
|
132
|
+
.magritte-modal___2Wc4s_1-0-41.magritte-size-small___nSBwy_1-0-41{
|
|
133
133
|
width:480px;
|
|
134
134
|
}
|
|
135
|
-
.magritte-modal___2Wc4s_1-0-
|
|
135
|
+
.magritte-modal___2Wc4s_1-0-41.magritte-size-medium___Zuz-t_1-0-41{
|
|
136
136
|
width:620px;
|
|
137
137
|
}
|
|
138
|
-
.magritte-no-vertical-paddings___XgMGS_1-0-
|
|
138
|
+
.magritte-no-vertical-paddings___XgMGS_1-0-41{
|
|
139
139
|
padding-top:0;
|
|
140
140
|
padding-bottom:0;
|
|
141
141
|
}
|
|
142
|
-
.magritte-no-horizontal-paddings___MJDv4_1-0-
|
|
142
|
+
.magritte-no-horizontal-paddings___MJDv4_1-0-41{
|
|
143
143
|
padding-left:0;
|
|
144
144
|
padding-right:0;
|
|
145
145
|
}
|
|
146
|
-
.magritte-modal-full-height___UThtH_1-0-
|
|
146
|
+
.magritte-modal-full-height___UThtH_1-0-41{
|
|
147
147
|
height:100%;
|
|
148
148
|
}
|
|
149
|
-
.magritte-modal-with-border___bqsql_1-0-
|
|
150
|
-
outline:1px solid var(--magritte-color-stroke-neutral-
|
|
149
|
+
.magritte-modal-with-border___bqsql_1-0-41{
|
|
150
|
+
outline:1px solid var(--magritte-color-stroke-neutral-v26-0-1);
|
|
151
151
|
}
|
|
152
|
-
.magritte-modal-content-wrapper___-eFo3_1-0-
|
|
152
|
+
.magritte-modal-content-wrapper___-eFo3_1-0-41{
|
|
153
153
|
display:flex;
|
|
154
154
|
flex-direction:column;
|
|
155
155
|
min-height:0;
|
|
156
156
|
flex:1 1;
|
|
157
157
|
}
|
|
158
|
-
.magritte-modal-content___KY9ma_1-0-
|
|
158
|
+
.magritte-modal-content___KY9ma_1-0-41{
|
|
159
159
|
position:relative;
|
|
160
160
|
display:flex;
|
|
161
161
|
flex-direction:column;
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
width:calc(100% + 24px);
|
|
167
167
|
width:calc(100cqw + 24px);
|
|
168
168
|
}
|
|
169
|
-
.magritte-modal-scroll-container___dg8jC_1-0-
|
|
169
|
+
.magritte-modal-scroll-container___dg8jC_1-0-41{
|
|
170
170
|
display:flex;
|
|
171
171
|
flex-direction:column;
|
|
172
172
|
flex:1 1;
|
|
@@ -177,212 +177,212 @@
|
|
|
177
177
|
padding:0 4px;
|
|
178
178
|
margin:0 -4px;
|
|
179
179
|
}
|
|
180
|
-
.magritte-modal-scroll-container___dg8jC_1-0-
|
|
180
|
+
.magritte-modal-scroll-container___dg8jC_1-0-41::-webkit-scrollbar{
|
|
181
181
|
display:none;
|
|
182
182
|
}
|
|
183
|
-
.magritte-modal-content-wrapper__one-line___ZkEgT_1-0-
|
|
183
|
+
.magritte-modal-content-wrapper__one-line___ZkEgT_1-0-41{
|
|
184
184
|
flex-direction:row-reverse;
|
|
185
185
|
}
|
|
186
|
-
.magritte-modal-content-wrapper__one-line___ZkEgT_1-0-
|
|
186
|
+
.magritte-modal-content-wrapper__one-line___ZkEgT_1-0-41 .magritte-modal-content___KY9ma_1-0-41{
|
|
187
187
|
width:auto;
|
|
188
188
|
container-type:inline-size;
|
|
189
189
|
margin-right:0;
|
|
190
190
|
}
|
|
191
|
-
.magritte-modal-content-wrapper__one-line___ZkEgT_1-0-
|
|
191
|
+
.magritte-modal-content-wrapper__one-line___ZkEgT_1-0-41 .magritte-content-sticky-container___VkZxO_1-0-41{
|
|
192
192
|
max-width:calc(100% - 16px);
|
|
193
193
|
max-width:calc(100cqw - 16px);
|
|
194
194
|
}
|
|
195
|
-
.magritte-divider-container___jKyxB_1-0-
|
|
195
|
+
.magritte-divider-container___jKyxB_1-0-41{
|
|
196
196
|
margin:0 -24px;
|
|
197
197
|
}
|
|
198
|
-
.magritte-divider-container___jKyxB_1-0-
|
|
198
|
+
.magritte-divider-container___jKyxB_1-0-41.magritte-divider-container-hidden___20nI5_1-0-41{
|
|
199
199
|
display:none;
|
|
200
200
|
}
|
|
201
|
-
.magritte-modal-footer___TbH6x_1-0-
|
|
201
|
+
.magritte-modal-footer___TbH6x_1-0-41{
|
|
202
202
|
margin:0 -24px -24px;
|
|
203
|
-
background-color:var(--magritte-color-component-modal-background-content-
|
|
203
|
+
background-color:var(--magritte-color-component-modal-background-content-v26-0-1);
|
|
204
204
|
z-index:1;
|
|
205
|
-
--magritte-ui-container-background-color-override:var(--magritte-color-component-modal-background-content-
|
|
205
|
+
--magritte-ui-container-background-color-override:var(--magritte-color-component-modal-background-content-v26-0-1);
|
|
206
206
|
}
|
|
207
|
-
.magritte-modal-buttons-container___9hXUo_1-0-
|
|
207
|
+
.magritte-modal-buttons-container___9hXUo_1-0-41{
|
|
208
208
|
display:flex;
|
|
209
209
|
gap:12px;
|
|
210
210
|
}
|
|
211
|
-
.magritte-animation-timeout___vK6nU_1-0-
|
|
211
|
+
.magritte-animation-timeout___vK6nU_1-0-41{
|
|
212
212
|
--enter-animation-duration:0;
|
|
213
213
|
--exit-animation-duration:0;
|
|
214
214
|
}
|
|
215
215
|
@media (prefers-reduced-motion: no-preference){
|
|
216
|
-
.magritte-animation-timeout___vK6nU_1-0-
|
|
217
|
-
--enter-animation-duration:var(--magritte-semantic-animation-ease-in-out-300-duration-
|
|
218
|
-
--exit-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-
|
|
216
|
+
.magritte-animation-timeout___vK6nU_1-0-41{
|
|
217
|
+
--enter-animation-duration:var(--magritte-semantic-animation-ease-in-out-300-duration-v26-0-1);
|
|
218
|
+
--exit-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-v26-0-1);
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
|
-
.magritte-animation-enter-center___9zWOQ_1-0-
|
|
221
|
+
.magritte-animation-enter-center___9zWOQ_1-0-41.magritte-modal-overlay-with-background___mR-T0_1-0-41{
|
|
222
222
|
opacity:0;
|
|
223
223
|
}
|
|
224
|
-
.magritte-animation-enter-center___9zWOQ_1-0-
|
|
224
|
+
.magritte-animation-enter-center___9zWOQ_1-0-41 .magritte-modal___2Wc4s_1-0-41{
|
|
225
225
|
opacity:0;
|
|
226
226
|
}
|
|
227
|
-
.magritte-animation-enter-center-active___dfICf_1-0-
|
|
227
|
+
.magritte-animation-enter-center-active___dfICf_1-0-41{
|
|
228
228
|
--enter-animation-duration:0;
|
|
229
229
|
--exit-animation-duration:0;
|
|
230
230
|
}
|
|
231
231
|
@media (prefers-reduced-motion: no-preference){
|
|
232
|
-
.magritte-animation-enter-center-active___dfICf_1-0-
|
|
233
|
-
--enter-animation-duration:var(--magritte-semantic-animation-ease-in-out-300-duration-
|
|
234
|
-
--exit-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-
|
|
232
|
+
.magritte-animation-enter-center-active___dfICf_1-0-41{
|
|
233
|
+
--enter-animation-duration:var(--magritte-semantic-animation-ease-in-out-300-duration-v26-0-1);
|
|
234
|
+
--exit-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-v26-0-1);
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
|
-
.magritte-animation-enter-center-active___dfICf_1-0-
|
|
238
|
-
.magritte-animation-enter-center-active___dfICf_1-0-
|
|
237
|
+
.magritte-animation-enter-center-active___dfICf_1-0-41 .magritte-modal___2Wc4s_1-0-41,
|
|
238
|
+
.magritte-animation-enter-center-active___dfICf_1-0-41.magritte-modal-overlay-with-background___mR-T0_1-0-41{
|
|
239
239
|
opacity:1;
|
|
240
240
|
transition-duration:var(--enter-animation-duration);
|
|
241
|
-
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-300-timing-function-
|
|
241
|
+
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-300-timing-function-v26-0-1);
|
|
242
242
|
}
|
|
243
|
-
.magritte-animation-exit-center___mrTCE_1-0-
|
|
243
|
+
.magritte-animation-exit-center___mrTCE_1-0-41.magritte-modal-overlay-with-background___mR-T0_1-0-41{
|
|
244
244
|
opacity:1;
|
|
245
245
|
}
|
|
246
|
-
.magritte-animation-exit-center___mrTCE_1-0-
|
|
246
|
+
.magritte-animation-exit-center___mrTCE_1-0-41 .magritte-modal___2Wc4s_1-0-41{
|
|
247
247
|
opacity:1;
|
|
248
248
|
}
|
|
249
|
-
.magritte-animation-exit-center-active___WZXYp_1-0-
|
|
249
|
+
.magritte-animation-exit-center-active___WZXYp_1-0-41{
|
|
250
250
|
--enter-animation-duration:0;
|
|
251
251
|
--exit-animation-duration:0;
|
|
252
252
|
}
|
|
253
253
|
@media (prefers-reduced-motion: no-preference){
|
|
254
|
-
.magritte-animation-exit-center-active___WZXYp_1-0-
|
|
255
|
-
--enter-animation-duration:var(--magritte-semantic-animation-ease-in-out-300-duration-
|
|
256
|
-
--exit-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-
|
|
254
|
+
.magritte-animation-exit-center-active___WZXYp_1-0-41{
|
|
255
|
+
--enter-animation-duration:var(--magritte-semantic-animation-ease-in-out-300-duration-v26-0-1);
|
|
256
|
+
--exit-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-v26-0-1);
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
|
-
.magritte-animation-exit-center-active___WZXYp_1-0-
|
|
259
|
+
.magritte-animation-exit-center-active___WZXYp_1-0-41.magritte-modal-overlay-with-background___mR-T0_1-0-41{
|
|
260
260
|
opacity:0;
|
|
261
261
|
}
|
|
262
|
-
.magritte-animation-exit-center-active___WZXYp_1-0-
|
|
262
|
+
.magritte-animation-exit-center-active___WZXYp_1-0-41 .magritte-modal___2Wc4s_1-0-41{
|
|
263
263
|
opacity:0;
|
|
264
264
|
}
|
|
265
|
-
.magritte-animation-exit-center-active___WZXYp_1-0-
|
|
266
|
-
.magritte-animation-exit-center-active___WZXYp_1-0-
|
|
265
|
+
.magritte-animation-exit-center-active___WZXYp_1-0-41 .magritte-modal___2Wc4s_1-0-41,
|
|
266
|
+
.magritte-animation-exit-center-active___WZXYp_1-0-41.magritte-modal-overlay-with-background___mR-T0_1-0-41{
|
|
267
267
|
transition-duration:var(--exit-animation-duration);
|
|
268
|
-
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-200-timing-function-
|
|
268
|
+
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-200-timing-function-v26-0-1);
|
|
269
269
|
}
|
|
270
|
-
.magritte-animation-enter-left___XiXzr_1-0-
|
|
270
|
+
.magritte-animation-enter-left___XiXzr_1-0-41.magritte-modal-overlay-with-background___mR-T0_1-0-41{
|
|
271
271
|
opacity:0;
|
|
272
272
|
}
|
|
273
|
-
.magritte-animation-enter-left___XiXzr_1-0-
|
|
273
|
+
.magritte-animation-enter-left___XiXzr_1-0-41 .magritte-modal___2Wc4s_1-0-41{
|
|
274
274
|
opacity:0;
|
|
275
275
|
transform:translateX(-100%);
|
|
276
276
|
}
|
|
277
|
-
.magritte-animation-enter-left-active___4Uaz6_1-0-
|
|
277
|
+
.magritte-animation-enter-left-active___4Uaz6_1-0-41{
|
|
278
278
|
--enter-animation-duration:0;
|
|
279
279
|
--exit-animation-duration:0;
|
|
280
280
|
}
|
|
281
281
|
@media (prefers-reduced-motion: no-preference){
|
|
282
|
-
.magritte-animation-enter-left-active___4Uaz6_1-0-
|
|
283
|
-
--enter-animation-duration:var(--magritte-semantic-animation-ease-in-out-300-duration-
|
|
284
|
-
--exit-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-
|
|
282
|
+
.magritte-animation-enter-left-active___4Uaz6_1-0-41{
|
|
283
|
+
--enter-animation-duration:var(--magritte-semantic-animation-ease-in-out-300-duration-v26-0-1);
|
|
284
|
+
--exit-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-v26-0-1);
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
|
-
.magritte-animation-enter-left-active___4Uaz6_1-0-
|
|
288
|
-
.magritte-animation-enter-left-active___4Uaz6_1-0-
|
|
287
|
+
.magritte-animation-enter-left-active___4Uaz6_1-0-41 .magritte-modal___2Wc4s_1-0-41,
|
|
288
|
+
.magritte-animation-enter-left-active___4Uaz6_1-0-41.magritte-modal-overlay-with-background___mR-T0_1-0-41{
|
|
289
289
|
opacity:1;
|
|
290
290
|
transition-duration:var(--enter-animation-duration);
|
|
291
|
-
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-300-timing-function-
|
|
291
|
+
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-300-timing-function-v26-0-1);
|
|
292
292
|
transform:translateX(0);
|
|
293
293
|
}
|
|
294
|
-
.magritte-animation-exit-left___NHvvO_1-0-
|
|
294
|
+
.magritte-animation-exit-left___NHvvO_1-0-41.magritte-modal-overlay-with-background___mR-T0_1-0-41{
|
|
295
295
|
opacity:1;
|
|
296
296
|
}
|
|
297
|
-
.magritte-animation-exit-left___NHvvO_1-0-
|
|
297
|
+
.magritte-animation-exit-left___NHvvO_1-0-41 .magritte-modal___2Wc4s_1-0-41{
|
|
298
298
|
opacity:1;
|
|
299
299
|
transform:translateX(0);
|
|
300
300
|
}
|
|
301
|
-
.magritte-animation-exit-left-active___oDszE_1-0-
|
|
301
|
+
.magritte-animation-exit-left-active___oDszE_1-0-41{
|
|
302
302
|
--enter-animation-duration:0;
|
|
303
303
|
--exit-animation-duration:0;
|
|
304
304
|
}
|
|
305
305
|
@media (prefers-reduced-motion: no-preference){
|
|
306
|
-
.magritte-animation-exit-left-active___oDszE_1-0-
|
|
307
|
-
--enter-animation-duration:var(--magritte-semantic-animation-ease-in-out-300-duration-
|
|
308
|
-
--exit-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-
|
|
306
|
+
.magritte-animation-exit-left-active___oDszE_1-0-41{
|
|
307
|
+
--enter-animation-duration:var(--magritte-semantic-animation-ease-in-out-300-duration-v26-0-1);
|
|
308
|
+
--exit-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-v26-0-1);
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
.magritte-animation-exit-left-active___oDszE_1-0-
|
|
311
|
+
.magritte-animation-exit-left-active___oDszE_1-0-41.magritte-modal-overlay-with-background___mR-T0_1-0-41{
|
|
312
312
|
opacity:0;
|
|
313
313
|
}
|
|
314
|
-
.magritte-animation-exit-left-active___oDszE_1-0-
|
|
314
|
+
.magritte-animation-exit-left-active___oDszE_1-0-41 .magritte-modal___2Wc4s_1-0-41{
|
|
315
315
|
opacity:0;
|
|
316
316
|
transform:translateX(-100%);
|
|
317
317
|
}
|
|
318
|
-
.magritte-animation-exit-left-active___oDszE_1-0-
|
|
319
|
-
.magritte-animation-exit-left-active___oDszE_1-0-
|
|
318
|
+
.magritte-animation-exit-left-active___oDszE_1-0-41 .magritte-modal___2Wc4s_1-0-41,
|
|
319
|
+
.magritte-animation-exit-left-active___oDszE_1-0-41.magritte-modal-overlay-with-background___mR-T0_1-0-41{
|
|
320
320
|
transition-duration:var(--exit-animation-duration);
|
|
321
|
-
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-200-timing-function-
|
|
321
|
+
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-200-timing-function-v26-0-1);
|
|
322
322
|
}
|
|
323
|
-
.magritte-animation-enter-right___1bqPX_1-0-
|
|
323
|
+
.magritte-animation-enter-right___1bqPX_1-0-41.magritte-modal-overlay-with-background___mR-T0_1-0-41{
|
|
324
324
|
opacity:0;
|
|
325
325
|
}
|
|
326
|
-
.magritte-animation-enter-right___1bqPX_1-0-
|
|
326
|
+
.magritte-animation-enter-right___1bqPX_1-0-41 .magritte-modal___2Wc4s_1-0-41{
|
|
327
327
|
opacity:0;
|
|
328
328
|
transform:translateX(100%);
|
|
329
329
|
}
|
|
330
|
-
.magritte-animation-enter-right-active___OR65U_1-0-
|
|
330
|
+
.magritte-animation-enter-right-active___OR65U_1-0-41{
|
|
331
331
|
--enter-animation-duration:0;
|
|
332
332
|
--exit-animation-duration:0;
|
|
333
333
|
}
|
|
334
334
|
@media (prefers-reduced-motion: no-preference){
|
|
335
|
-
.magritte-animation-enter-right-active___OR65U_1-0-
|
|
336
|
-
--enter-animation-duration:var(--magritte-semantic-animation-ease-in-out-300-duration-
|
|
337
|
-
--exit-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-
|
|
335
|
+
.magritte-animation-enter-right-active___OR65U_1-0-41{
|
|
336
|
+
--enter-animation-duration:var(--magritte-semantic-animation-ease-in-out-300-duration-v26-0-1);
|
|
337
|
+
--exit-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-v26-0-1);
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
|
-
.magritte-animation-enter-right-active___OR65U_1-0-
|
|
341
|
-
.magritte-animation-enter-right-active___OR65U_1-0-
|
|
340
|
+
.magritte-animation-enter-right-active___OR65U_1-0-41 .magritte-modal___2Wc4s_1-0-41,
|
|
341
|
+
.magritte-animation-enter-right-active___OR65U_1-0-41.magritte-modal-overlay-with-background___mR-T0_1-0-41{
|
|
342
342
|
opacity:1;
|
|
343
343
|
transition-duration:var(--enter-animation-duration);
|
|
344
|
-
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-300-timing-function-
|
|
344
|
+
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-300-timing-function-v26-0-1);
|
|
345
345
|
transform:translateX(0);
|
|
346
346
|
}
|
|
347
|
-
.magritte-animation-exit-right___hyYBh_1-0-
|
|
347
|
+
.magritte-animation-exit-right___hyYBh_1-0-41.magritte-modal-overlay-with-background___mR-T0_1-0-41{
|
|
348
348
|
opacity:1;
|
|
349
349
|
}
|
|
350
|
-
.magritte-animation-exit-right___hyYBh_1-0-
|
|
350
|
+
.magritte-animation-exit-right___hyYBh_1-0-41 .magritte-modal___2Wc4s_1-0-41{
|
|
351
351
|
opacity:1;
|
|
352
352
|
transform:translateX(0);
|
|
353
353
|
}
|
|
354
|
-
.magritte-animation-exit-right-active___ft6Lz_1-0-
|
|
354
|
+
.magritte-animation-exit-right-active___ft6Lz_1-0-41{
|
|
355
355
|
--enter-animation-duration:0;
|
|
356
356
|
--exit-animation-duration:0;
|
|
357
357
|
}
|
|
358
358
|
@media (prefers-reduced-motion: no-preference){
|
|
359
|
-
.magritte-animation-exit-right-active___ft6Lz_1-0-
|
|
360
|
-
--enter-animation-duration:var(--magritte-semantic-animation-ease-in-out-300-duration-
|
|
361
|
-
--exit-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-
|
|
359
|
+
.magritte-animation-exit-right-active___ft6Lz_1-0-41{
|
|
360
|
+
--enter-animation-duration:var(--magritte-semantic-animation-ease-in-out-300-duration-v26-0-1);
|
|
361
|
+
--exit-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-v26-0-1);
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
.magritte-animation-exit-right-active___ft6Lz_1-0-
|
|
364
|
+
.magritte-animation-exit-right-active___ft6Lz_1-0-41.magritte-modal-overlay-with-background___mR-T0_1-0-41{
|
|
365
365
|
opacity:0;
|
|
366
366
|
}
|
|
367
|
-
.magritte-animation-exit-right-active___ft6Lz_1-0-
|
|
367
|
+
.magritte-animation-exit-right-active___ft6Lz_1-0-41 .magritte-modal___2Wc4s_1-0-41{
|
|
368
368
|
opacity:0;
|
|
369
369
|
transform:translateX(100%);
|
|
370
370
|
}
|
|
371
|
-
.magritte-animation-exit-right-active___ft6Lz_1-0-
|
|
372
|
-
.magritte-animation-exit-right-active___ft6Lz_1-0-
|
|
371
|
+
.magritte-animation-exit-right-active___ft6Lz_1-0-41 .magritte-modal___2Wc4s_1-0-41,
|
|
372
|
+
.magritte-animation-exit-right-active___ft6Lz_1-0-41.magritte-modal-overlay-with-background___mR-T0_1-0-41{
|
|
373
373
|
transition-duration:var(--exit-animation-duration);
|
|
374
|
-
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-200-timing-function-
|
|
374
|
+
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-200-timing-function-v26-0-1);
|
|
375
375
|
}
|
|
376
|
-
.magritte-space-preserver___nz3Nw_1-0-
|
|
376
|
+
.magritte-space-preserver___nz3Nw_1-0-41{
|
|
377
377
|
flex:0 0 auto;
|
|
378
378
|
}
|
|
379
|
-
.magritte-tree-selector-container___XZh1C_1-0-
|
|
379
|
+
.magritte-tree-selector-container___XZh1C_1-0-41{
|
|
380
380
|
height:100%;
|
|
381
381
|
max-width:calc(100% - 24px);
|
|
382
382
|
max-width:100cqw;
|
|
383
383
|
--magritte-ui-scrollbar-offset-right:-24px;
|
|
384
384
|
}
|
|
385
|
-
.magritte-content-sticky-container___VkZxO_1-0-
|
|
385
|
+
.magritte-content-sticky-container___VkZxO_1-0-41{
|
|
386
386
|
display:flex;
|
|
387
387
|
flex-direction:column;
|
|
388
388
|
position:sticky;
|
|
@@ -392,6 +392,6 @@
|
|
|
392
392
|
max-width:calc(100% - 24px);
|
|
393
393
|
max-width:100cqw;
|
|
394
394
|
}
|
|
395
|
-
.magritte-grow-limiter___SPuoT_1-0-
|
|
395
|
+
.magritte-grow-limiter___SPuoT_1-0-41{
|
|
396
396
|
flex:1 0;
|
|
397
397
|
}
|
package/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Modal as ModalDeprecated } from '
|
|
2
|
-
export type { ModalProps as ModalDeprecatedProps } from '
|
|
1
|
+
export { Modal as ModalDeprecated } from './Modal';
|
|
2
|
+
export type { ModalProps as ModalDeprecatedProps } from './types';
|
package/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import '@hh.ru/magritte-common-use-no-bubbling';
|
|
|
14
14
|
import '@hh.ru/magritte-ui-action-bar';
|
|
15
15
|
import '@hh.ru/magritte-ui-breakpoint';
|
|
16
16
|
import '@hh.ru/magritte-ui-layer';
|
|
17
|
-
import './ModalContentWithHeader-
|
|
17
|
+
import './ModalContentWithHeader-CxF78N1S.js';
|
|
18
18
|
import '@hh.ru/magritte-common-func-utils';
|
|
19
19
|
import '@hh.ru/magritte-ui-content-overlay';
|
|
20
20
|
import '@hh.ru/magritte-ui-divider';
|
package/index.mock.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
import { mockComponent } from '@hh.ru/magritte-ui-mock-component';
|
|
3
3
|
|
|
4
|
-
const ModalDeprecated = mockComponent(
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
const ModalDeprecated = mockComponent(
|
|
5
|
+
"ModalDeprecated",
|
|
6
|
+
void 0,
|
|
7
|
+
{
|
|
8
|
+
withChildren: true
|
|
9
|
+
}
|
|
10
|
+
);
|
|
7
11
|
|
|
8
12
|
export { ModalDeprecated };
|
|
9
13
|
//# sourceMappingURL=index.mock.js.map
|
package/index.mock.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mock.js","sources":["src/index.mock.ts"],"sourcesContent":["import { ForwardRefExoticComponent } from 'react';\n\nimport { mockComponent } from '@hh.ru/magritte-ui-mock-component';\n\nexport const ModalDeprecated: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent(\n 'ModalDeprecated',\n undefined,\n {\n withChildren: true,\n }\n);\n"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"index.mock.js","sources":["src/index.mock.ts"],"sourcesContent":["import { ForwardRefExoticComponent } from 'react';\n\nimport { mockComponent } from '@hh.ru/magritte-ui-mock-component';\n\nexport const ModalDeprecated: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent(\n 'ModalDeprecated',\n undefined,\n {\n withChildren: true,\n }\n);\n"],"names":[],"mappings":";;AAIO,MAAM,eAAsE,GAAA,aAAA;AAAA,EAC/E,iBAAA;AAAA,EACA,KAAA,CAAA;AAAA,EACA;AAAA,IACI,YAAc,EAAA,IAAA;AAAA,GAClB;AACJ;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-modal-deprecated",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.41",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -27,21 +27,21 @@
|
|
|
27
27
|
"@hh.ru/magritte-common-mouse": "1.2.1",
|
|
28
28
|
"@hh.ru/magritte-common-use-multiple-refs": "1.1.12",
|
|
29
29
|
"@hh.ru/magritte-common-use-no-bubbling": "1.0.9",
|
|
30
|
-
"@hh.ru/magritte-design-tokens": "
|
|
30
|
+
"@hh.ru/magritte-design-tokens": "26.0.1",
|
|
31
31
|
"@hh.ru/magritte-internal-layer-name": "3.4.2",
|
|
32
|
-
"@hh.ru/magritte-ui-action-bar": "5.4.
|
|
32
|
+
"@hh.ru/magritte-ui-action-bar": "5.4.25",
|
|
33
33
|
"@hh.ru/magritte-ui-breakpoint": "6.1.2",
|
|
34
34
|
"@hh.ru/magritte-ui-content-overlay": "1.2.2",
|
|
35
|
-
"@hh.ru/magritte-ui-divider": "3.2.
|
|
36
|
-
"@hh.ru/magritte-ui-icon": "15.1.
|
|
35
|
+
"@hh.ru/magritte-ui-divider": "3.2.12",
|
|
36
|
+
"@hh.ru/magritte-ui-icon": "15.1.5",
|
|
37
37
|
"@hh.ru/magritte-ui-layer": "3.2.8",
|
|
38
38
|
"@hh.ru/magritte-ui-mock-component": "1.1.8",
|
|
39
|
-
"@hh.ru/magritte-ui-progress-bar": "5.0.
|
|
40
|
-
"@hh.ru/magritte-ui-scrollbar": "1.0.
|
|
41
|
-
"@hh.ru/magritte-ui-textarea": "3.3.
|
|
42
|
-
"@hh.ru/magritte-ui-theme-wrapper": "1.1.
|
|
43
|
-
"@hh.ru/magritte-ui-title": "8.3.
|
|
44
|
-
"@hh.ru/magritte-ui-tree-selector": "5.5.
|
|
39
|
+
"@hh.ru/magritte-ui-progress-bar": "5.0.37",
|
|
40
|
+
"@hh.ru/magritte-ui-scrollbar": "1.0.39",
|
|
41
|
+
"@hh.ru/magritte-ui-textarea": "3.3.55",
|
|
42
|
+
"@hh.ru/magritte-ui-theme-wrapper": "1.1.29",
|
|
43
|
+
"@hh.ru/magritte-ui-title": "8.3.14",
|
|
44
|
+
"@hh.ru/magritte-ui-tree-selector": "5.5.81"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"classnames": ">=2.3.2",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "f6539d7a0e7cd42dd851458db1de04a748bbee03"
|
|
56
56
|
}
|