@@ -88,205 +88,6 @@ Array [
8888
8989exports [` renders components/drawer/demo/basic-right.tsx extend context correctly 2` ] = ` []` ;
9090
91- exports [` renders components/drawer/demo/classNames.tsx extend context correctly 1` ] = `
92- Array [
93- <div
94- class = " ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small css-var-test-id"
95- >
96- <div
97- class = " ant-space-item"
98- >
99- <button
100- class = " ant-btn css-var-test-id ant-btn-primary ant-btn-color-primary ant-btn-variant-solid"
101- type = " button"
102- >
103- <span >
104- Open
105- </span >
106- </button >
107- </div >
108- <div
109- class = " ant-space-item"
110- >
111- <button
112- class = " ant-btn css-var-test-id ant-btn-primary ant-btn-color-primary ant-btn-variant-solid"
113- type = " button"
114- >
115- <span >
116- ConfigProvider
117- </span >
118- </button >
119- </div >
120- </div >,
121- <div
122- class = " ant-drawer ant-drawer-right css-var-test-id ant-drawer-open ant-drawer-inline"
123- tabindex = " -1"
124- >
125- <div
126- class = " ant-drawer-mask acss-c0hvaj"
127- />
128- <div
129- class = " ant-drawer-content-wrapper"
130- style = " width: 378px;"
131- >
132- <div
133- aria-labelledby = " test-id"
134- aria-modal = " true"
135- class = " ant-drawer-section acss-10412ne"
136- role = " dialog"
137- style = " box-shadow: -10px 0 10px #666;"
138- >
139- <div
140- class = " ant-drawer-header acss-1l0wu1y"
141- style = " border-bottom: 1px solid rgb(22, 119, 255);"
142- >
143- <div
144- class = " ant-drawer-header-title"
145- >
146- <button
147- aria-label = " Close"
148- class = " ant-drawer-close"
149- type = " button"
150- >
151- <span
152- aria-label = " close"
153- class = " anticon anticon-close"
154- role = " img"
155- >
156- <svg
157- aria-hidden = " true"
158- data-icon = " close"
159- fill = " currentColor"
160- fill-rule = " evenodd"
161- focusable = " false"
162- height = " 1em"
163- viewBox = " 64 64 896 896"
164- width = " 1em"
165- >
166- <path
167- d = " M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"
168- />
169- </svg >
170- </span >
171- </button >
172- <div
173- class = " ant-drawer-title"
174- id = " test-id"
175- >
176- Basic Drawer
177- </div >
178- </div >
179- </div >
180- <div
181- class = " ant-drawer-body acss-pgpe64"
182- style = " font-size: 16px;"
183- >
184- <p >
185- Some contents...
186- </p >
187- <p >
188- Some contents...
189- </p >
190- <p >
191- Some contents...
192- </p >
193- </div >
194- <div
195- class = " ant-drawer-footer acss-r4s437"
196- style = " border-top: 1px solid rgb(217, 217, 217);"
197- >
198- Footer
199- </div >
200- </div >
201- </div >
202- </div >,
203- <div
204- class = " ant-drawer ant-drawer-right css-var-test-id ant-drawer-open ant-drawer-inline"
205- tabindex = " -1"
206- >
207- <div
208- class = " ant-drawer-mask acss-c0hvaj"
209- />
210- <div
211- class = " ant-drawer-content-wrapper"
212- style = " width: 378px;"
213- >
214- <div
215- aria-labelledby = " test-id"
216- aria-modal = " true"
217- class = " ant-drawer-section acss-10412ne"
218- role = " dialog"
219- style = " box-shadow: -10px 0 10px #666;"
220- >
221- <div
222- class = " ant-drawer-header acss-1l0wu1y"
223- style = " border-bottom: 1px solid rgb(22, 119, 255);"
224- >
225- <div
226- class = " ant-drawer-header-title"
227- >
228- <button
229- aria-label = " Close"
230- class = " ant-drawer-close"
231- type = " button"
232- >
233- <span
234- aria-label = " close"
235- class = " anticon anticon-close"
236- role = " img"
237- >
238- <svg
239- aria-hidden = " true"
240- data-icon = " close"
241- fill = " currentColor"
242- fill-rule = " evenodd"
243- focusable = " false"
244- height = " 1em"
245- viewBox = " 64 64 896 896"
246- width = " 1em"
247- >
248- <path
249- d = " M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"
250- />
251- </svg >
252- </span >
253- </button >
254- <div
255- class = " ant-drawer-title"
256- id = " test-id"
257- >
258- Basic Drawer
259- </div >
260- </div >
261- </div >
262- <div
263- class = " ant-drawer-body acss-pgpe64"
264- style = " font-size: 16px;"
265- >
266- <p >
267- Some contents...
268- </p >
269- <p >
270- Some contents...
271- </p >
272- <p >
273- Some contents...
274- </p >
275- </div >
276- <div
277- class = " ant-drawer-footer acss-r4s437"
278- style = " border-top: 1px solid rgb(217, 217, 217);"
279- >
280- Footer
281- </div >
282- </div >
283- </div >
284- </div >,
285- ]
286- ` ;
287-
288- exports [` renders components/drawer/demo/classNames.tsx extend context correctly 2` ] = ` []` ;
289-
29091exports [` renders components/drawer/demo/closable-placement.tsx extend context correctly 1` ] = `
29192Array [
29293 <button
0 commit comments