@primer/react 38.19.1-rc.d5c143d51 → 38.20.0-rc.06e01b632
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 +21 -1
- package/dist/ActionList/{ActionList-8b212f46.css → ActionList-e35e912e.css} +2 -2
- package/dist/ActionList/ActionList-e35e912e.css.map +1 -0
- package/dist/ActionList/ActionList.module.css.js +1 -1
- package/dist/ActionMenu/ActionMenu-c4e2a589.css +2 -0
- package/dist/ActionMenu/ActionMenu-c4e2a589.css.map +1 -0
- package/dist/ActionMenu/ActionMenu.d.ts.map +1 -1
- package/dist/ActionMenu/ActionMenu.js +0 -5
- package/dist/ActionMenu/ActionMenu.module.css.js +1 -1
- package/dist/AnchoredOverlay/AnchoredOverlay-0c26c5f8.css +2 -0
- package/dist/AnchoredOverlay/AnchoredOverlay-0c26c5f8.css.map +1 -0
- package/dist/AnchoredOverlay/AnchoredOverlay.d.ts.map +1 -1
- package/dist/AnchoredOverlay/AnchoredOverlay.js +45 -20
- package/dist/AnchoredOverlay/AnchoredOverlay.module.css.js +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.js +43 -58
- package/dist/Card/Card-65d85331.css +2 -0
- package/dist/Card/Card-65d85331.css.map +1 -0
- package/dist/Card/Card.d.ts +96 -0
- package/dist/Card/Card.d.ts.map +1 -0
- package/dist/Card/Card.js +485 -0
- package/dist/Card/Card.module.css.js +5 -0
- package/dist/Card/index.d.ts +31 -0
- package/dist/Card/index.d.ts.map +1 -0
- package/dist/Card/index.js +12 -0
- package/dist/FeatureFlags/DefaultFeatureFlags.d.ts.map +1 -1
- package/dist/FeatureFlags/DefaultFeatureFlags.js +1 -4
- package/dist/Overlay/Overlay-95cfd3c7.css +2 -0
- package/dist/Overlay/Overlay-95cfd3c7.css.map +1 -0
- package/dist/Overlay/Overlay.d.ts +1 -1
- package/dist/Overlay/Overlay.d.ts.map +1 -1
- package/dist/Overlay/Overlay.js +31 -36
- package/dist/Overlay/Overlay.module.css.js +1 -1
- package/dist/Spinner/Spinner.d.ts.map +1 -1
- package/dist/Spinner/Spinner.js +3 -6
- package/dist/Timeline/Timeline-d1c91434.css +2 -0
- package/dist/Timeline/{Timeline-4d67684a.css.map → Timeline-d1c91434.css.map} +1 -1
- package/dist/Timeline/Timeline.d.ts +4 -1
- package/dist/Timeline/Timeline.d.ts.map +1 -1
- package/dist/Timeline/Timeline.js +17 -11
- package/dist/Timeline/Timeline.module.css.js +1 -1
- package/dist/Timeline/index.d.ts +1 -1
- package/dist/Timeline/index.d.ts.map +1 -1
- package/dist/Token/IssueLabelToken-10cfada5.css +2 -0
- package/dist/Token/{IssueLabelToken-ea9392ab.css.map → IssueLabelToken-10cfada5.css.map} +1 -1
- package/dist/Token/IssueLabelToken.module.css.js +1 -1
- package/dist/Token/_TokenTextContainer-55ce2de3.css +2 -0
- package/dist/Token/_TokenTextContainer-55ce2de3.css.map +1 -0
- package/dist/Token/_TokenTextContainer.module.css.js +1 -1
- package/dist/experimental/index.d.ts +2 -0
- package/dist/experimental/index.d.ts.map +1 -1
- package/dist/experimental/index.js +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/generated/components.json +103 -2
- package/package.json +2 -3
- package/dist/ActionList/ActionList-8b212f46.css.map +0 -1
- package/dist/ActionMenu/ActionMenu-58362ca7.css +0 -2
- package/dist/ActionMenu/ActionMenu-58362ca7.css.map +0 -1
- package/dist/AnchoredOverlay/AnchoredOverlay-647c7065.css +0 -2
- package/dist/AnchoredOverlay/AnchoredOverlay-647c7065.css.map +0 -1
- package/dist/Overlay/Overlay-f81a131d.css +0 -2
- package/dist/Overlay/Overlay-f81a131d.css.map +0 -1
- package/dist/Timeline/Timeline-4d67684a.css +0 -2
- package/dist/Token/IssueLabelToken-ea9392ab.css +0 -2
- package/dist/Token/_TokenTextContainer-24678fbc.css +0 -2
- package/dist/Token/_TokenTextContainer-24678fbc.css.map +0 -1
|
@@ -0,0 +1,485 @@
|
|
|
1
|
+
import { c } from 'react-compiler-runtime';
|
|
2
|
+
import { clsx } from 'clsx';
|
|
3
|
+
import React, { forwardRef } from 'react';
|
|
4
|
+
import classes from './Card.module.css.js';
|
|
5
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
6
|
+
|
|
7
|
+
const CardImpl = /*#__PURE__*/forwardRef(function Card(t0, ref) {
|
|
8
|
+
const $ = c(48);
|
|
9
|
+
let children;
|
|
10
|
+
let className;
|
|
11
|
+
let rest;
|
|
12
|
+
let t1;
|
|
13
|
+
if ($[0] !== t0) {
|
|
14
|
+
({
|
|
15
|
+
children,
|
|
16
|
+
className,
|
|
17
|
+
padding: t1,
|
|
18
|
+
...rest
|
|
19
|
+
} = t0);
|
|
20
|
+
$[0] = t0;
|
|
21
|
+
$[1] = children;
|
|
22
|
+
$[2] = className;
|
|
23
|
+
$[3] = rest;
|
|
24
|
+
$[4] = t1;
|
|
25
|
+
} else {
|
|
26
|
+
children = $[1];
|
|
27
|
+
className = $[2];
|
|
28
|
+
rest = $[3];
|
|
29
|
+
t1 = $[4];
|
|
30
|
+
}
|
|
31
|
+
const padding = t1 === undefined ? "normal" : t1;
|
|
32
|
+
let description;
|
|
33
|
+
let heading;
|
|
34
|
+
let menu;
|
|
35
|
+
let metadata;
|
|
36
|
+
let t2;
|
|
37
|
+
let t3;
|
|
38
|
+
let t4;
|
|
39
|
+
let t5;
|
|
40
|
+
let t6;
|
|
41
|
+
let t7;
|
|
42
|
+
if ($[5] !== children || $[6] !== className || $[7] !== padding || $[8] !== ref || $[9] !== rest) {
|
|
43
|
+
t7 = Symbol.for("react.early_return_sentinel");
|
|
44
|
+
bb0: {
|
|
45
|
+
let icon = null;
|
|
46
|
+
let image = null;
|
|
47
|
+
heading = null;
|
|
48
|
+
description = null;
|
|
49
|
+
metadata = null;
|
|
50
|
+
menu = null;
|
|
51
|
+
const childArray = React.Children.toArray(children);
|
|
52
|
+
for (const child of childArray) {
|
|
53
|
+
if (! /*#__PURE__*/React.isValidElement(child)) {
|
|
54
|
+
continue;
|
|
55
|
+
}
|
|
56
|
+
if (child.type === CardIcon) {
|
|
57
|
+
icon = child;
|
|
58
|
+
} else {
|
|
59
|
+
if (child.type === CardImage) {
|
|
60
|
+
image = child;
|
|
61
|
+
} else {
|
|
62
|
+
if (child.type === CardHeading) {
|
|
63
|
+
heading = child;
|
|
64
|
+
} else {
|
|
65
|
+
if (child.type === CardDescription) {
|
|
66
|
+
description = child;
|
|
67
|
+
} else {
|
|
68
|
+
if (child.type === CardMetadata) {
|
|
69
|
+
metadata = child;
|
|
70
|
+
} else {
|
|
71
|
+
if (child.type === CardMenu) {
|
|
72
|
+
menu = child;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
const hasSlotChildren = icon || image || heading || description || metadata || menu;
|
|
81
|
+
if (!hasSlotChildren) {
|
|
82
|
+
let t8;
|
|
83
|
+
if ($[20] !== className) {
|
|
84
|
+
t8 = clsx(classes.Card, className);
|
|
85
|
+
$[20] = className;
|
|
86
|
+
$[21] = t8;
|
|
87
|
+
} else {
|
|
88
|
+
t8 = $[21];
|
|
89
|
+
}
|
|
90
|
+
let t9;
|
|
91
|
+
if ($[22] !== children || $[23] !== padding || $[24] !== ref || $[25] !== rest || $[26] !== t8) {
|
|
92
|
+
t9 = /*#__PURE__*/jsx("div", {
|
|
93
|
+
ref: ref,
|
|
94
|
+
className: t8,
|
|
95
|
+
"data-padding": padding,
|
|
96
|
+
...rest,
|
|
97
|
+
children: children
|
|
98
|
+
});
|
|
99
|
+
$[22] = children;
|
|
100
|
+
$[23] = padding;
|
|
101
|
+
$[24] = ref;
|
|
102
|
+
$[25] = rest;
|
|
103
|
+
$[26] = t8;
|
|
104
|
+
$[27] = t9;
|
|
105
|
+
} else {
|
|
106
|
+
t9 = $[27];
|
|
107
|
+
}
|
|
108
|
+
t7 = t9;
|
|
109
|
+
break bb0;
|
|
110
|
+
}
|
|
111
|
+
t2 = ref;
|
|
112
|
+
if ($[28] !== className) {
|
|
113
|
+
t3 = clsx(classes.Card, className);
|
|
114
|
+
$[28] = className;
|
|
115
|
+
$[29] = t3;
|
|
116
|
+
} else {
|
|
117
|
+
t3 = $[29];
|
|
118
|
+
}
|
|
119
|
+
t4 = padding;
|
|
120
|
+
t5 = rest;
|
|
121
|
+
t6 = (image || icon) && /*#__PURE__*/jsx("div", {
|
|
122
|
+
className: clsx(classes.CardHeader, image && classes.CardHeaderEdgeToEdge),
|
|
123
|
+
children: image || icon
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
$[5] = children;
|
|
127
|
+
$[6] = className;
|
|
128
|
+
$[7] = padding;
|
|
129
|
+
$[8] = ref;
|
|
130
|
+
$[9] = rest;
|
|
131
|
+
$[10] = description;
|
|
132
|
+
$[11] = heading;
|
|
133
|
+
$[12] = menu;
|
|
134
|
+
$[13] = metadata;
|
|
135
|
+
$[14] = t2;
|
|
136
|
+
$[15] = t3;
|
|
137
|
+
$[16] = t4;
|
|
138
|
+
$[17] = t5;
|
|
139
|
+
$[18] = t6;
|
|
140
|
+
$[19] = t7;
|
|
141
|
+
} else {
|
|
142
|
+
description = $[10];
|
|
143
|
+
heading = $[11];
|
|
144
|
+
menu = $[12];
|
|
145
|
+
metadata = $[13];
|
|
146
|
+
t2 = $[14];
|
|
147
|
+
t3 = $[15];
|
|
148
|
+
t4 = $[16];
|
|
149
|
+
t5 = $[17];
|
|
150
|
+
t6 = $[18];
|
|
151
|
+
t7 = $[19];
|
|
152
|
+
}
|
|
153
|
+
if (t7 !== Symbol.for("react.early_return_sentinel")) {
|
|
154
|
+
return t7;
|
|
155
|
+
}
|
|
156
|
+
let t8;
|
|
157
|
+
if ($[30] !== description || $[31] !== heading) {
|
|
158
|
+
t8 = /*#__PURE__*/jsxs("div", {
|
|
159
|
+
className: classes.CardContent,
|
|
160
|
+
children: [heading, description]
|
|
161
|
+
});
|
|
162
|
+
$[30] = description;
|
|
163
|
+
$[31] = heading;
|
|
164
|
+
$[32] = t8;
|
|
165
|
+
} else {
|
|
166
|
+
t8 = $[32];
|
|
167
|
+
}
|
|
168
|
+
let t9;
|
|
169
|
+
if ($[33] !== metadata) {
|
|
170
|
+
t9 = metadata ? /*#__PURE__*/jsx("div", {
|
|
171
|
+
className: classes.CardMetadataContainer,
|
|
172
|
+
children: metadata
|
|
173
|
+
}) : null;
|
|
174
|
+
$[33] = metadata;
|
|
175
|
+
$[34] = t9;
|
|
176
|
+
} else {
|
|
177
|
+
t9 = $[34];
|
|
178
|
+
}
|
|
179
|
+
let t10;
|
|
180
|
+
if ($[35] !== t8 || $[36] !== t9) {
|
|
181
|
+
t10 = /*#__PURE__*/jsxs("div", {
|
|
182
|
+
className: classes.CardBody,
|
|
183
|
+
children: [t8, t9]
|
|
184
|
+
});
|
|
185
|
+
$[35] = t8;
|
|
186
|
+
$[36] = t9;
|
|
187
|
+
$[37] = t10;
|
|
188
|
+
} else {
|
|
189
|
+
t10 = $[37];
|
|
190
|
+
}
|
|
191
|
+
let t11;
|
|
192
|
+
if ($[38] !== menu) {
|
|
193
|
+
t11 = menu ? /*#__PURE__*/jsx("div", {
|
|
194
|
+
className: classes.CardMenu,
|
|
195
|
+
children: menu
|
|
196
|
+
}) : null;
|
|
197
|
+
$[38] = menu;
|
|
198
|
+
$[39] = t11;
|
|
199
|
+
} else {
|
|
200
|
+
t11 = $[39];
|
|
201
|
+
}
|
|
202
|
+
let t12;
|
|
203
|
+
if ($[40] !== t10 || $[41] !== t11 || $[42] !== t2 || $[43] !== t3 || $[44] !== t4 || $[45] !== t5 || $[46] !== t6) {
|
|
204
|
+
t12 = /*#__PURE__*/jsxs("div", {
|
|
205
|
+
ref: t2,
|
|
206
|
+
className: t3,
|
|
207
|
+
"data-padding": t4,
|
|
208
|
+
...t5,
|
|
209
|
+
children: [t6, t10, t11]
|
|
210
|
+
});
|
|
211
|
+
$[40] = t10;
|
|
212
|
+
$[41] = t11;
|
|
213
|
+
$[42] = t2;
|
|
214
|
+
$[43] = t3;
|
|
215
|
+
$[44] = t4;
|
|
216
|
+
$[45] = t5;
|
|
217
|
+
$[46] = t6;
|
|
218
|
+
$[47] = t12;
|
|
219
|
+
} else {
|
|
220
|
+
t12 = $[47];
|
|
221
|
+
}
|
|
222
|
+
return t12;
|
|
223
|
+
});
|
|
224
|
+
const CardIcon = t0 => {
|
|
225
|
+
const $ = c(10);
|
|
226
|
+
const {
|
|
227
|
+
icon: IconComponent,
|
|
228
|
+
"aria-label": ariaLabel,
|
|
229
|
+
className
|
|
230
|
+
} = t0;
|
|
231
|
+
let t1;
|
|
232
|
+
if ($[0] !== className) {
|
|
233
|
+
t1 = clsx(classes.CardIcon, className);
|
|
234
|
+
$[0] = className;
|
|
235
|
+
$[1] = t1;
|
|
236
|
+
} else {
|
|
237
|
+
t1 = $[1];
|
|
238
|
+
}
|
|
239
|
+
const t2 = ariaLabel ? "img" : undefined;
|
|
240
|
+
const t3 = !ariaLabel;
|
|
241
|
+
let t4;
|
|
242
|
+
if ($[2] !== IconComponent) {
|
|
243
|
+
t4 = /*#__PURE__*/jsx(IconComponent, {});
|
|
244
|
+
$[2] = IconComponent;
|
|
245
|
+
$[3] = t4;
|
|
246
|
+
} else {
|
|
247
|
+
t4 = $[3];
|
|
248
|
+
}
|
|
249
|
+
let t5;
|
|
250
|
+
if ($[4] !== ariaLabel || $[5] !== t1 || $[6] !== t2 || $[7] !== t3 || $[8] !== t4) {
|
|
251
|
+
t5 = /*#__PURE__*/jsx("span", {
|
|
252
|
+
className: t1,
|
|
253
|
+
role: t2,
|
|
254
|
+
"aria-label": ariaLabel,
|
|
255
|
+
"aria-hidden": t3,
|
|
256
|
+
children: t4
|
|
257
|
+
});
|
|
258
|
+
$[4] = ariaLabel;
|
|
259
|
+
$[5] = t1;
|
|
260
|
+
$[6] = t2;
|
|
261
|
+
$[7] = t3;
|
|
262
|
+
$[8] = t4;
|
|
263
|
+
$[9] = t5;
|
|
264
|
+
} else {
|
|
265
|
+
t5 = $[9];
|
|
266
|
+
}
|
|
267
|
+
return t5;
|
|
268
|
+
};
|
|
269
|
+
CardIcon.displayName = 'Card.Icon';
|
|
270
|
+
const CardImage = t0 => {
|
|
271
|
+
const $ = c(12);
|
|
272
|
+
let className;
|
|
273
|
+
let rest;
|
|
274
|
+
let src;
|
|
275
|
+
let t1;
|
|
276
|
+
if ($[0] !== t0) {
|
|
277
|
+
({
|
|
278
|
+
src,
|
|
279
|
+
alt: t1,
|
|
280
|
+
className,
|
|
281
|
+
...rest
|
|
282
|
+
} = t0);
|
|
283
|
+
$[0] = t0;
|
|
284
|
+
$[1] = className;
|
|
285
|
+
$[2] = rest;
|
|
286
|
+
$[3] = src;
|
|
287
|
+
$[4] = t1;
|
|
288
|
+
} else {
|
|
289
|
+
className = $[1];
|
|
290
|
+
rest = $[2];
|
|
291
|
+
src = $[3];
|
|
292
|
+
t1 = $[4];
|
|
293
|
+
}
|
|
294
|
+
const alt = t1 === undefined ? "" : t1;
|
|
295
|
+
let t2;
|
|
296
|
+
if ($[5] !== className) {
|
|
297
|
+
t2 = clsx(classes.CardImage, className);
|
|
298
|
+
$[5] = className;
|
|
299
|
+
$[6] = t2;
|
|
300
|
+
} else {
|
|
301
|
+
t2 = $[6];
|
|
302
|
+
}
|
|
303
|
+
let t3;
|
|
304
|
+
if ($[7] !== alt || $[8] !== rest || $[9] !== src || $[10] !== t2) {
|
|
305
|
+
t3 = /*#__PURE__*/jsx("img", {
|
|
306
|
+
src: src,
|
|
307
|
+
alt: alt,
|
|
308
|
+
className: t2,
|
|
309
|
+
...rest
|
|
310
|
+
});
|
|
311
|
+
$[7] = alt;
|
|
312
|
+
$[8] = rest;
|
|
313
|
+
$[9] = src;
|
|
314
|
+
$[10] = t2;
|
|
315
|
+
$[11] = t3;
|
|
316
|
+
} else {
|
|
317
|
+
t3 = $[11];
|
|
318
|
+
}
|
|
319
|
+
return t3;
|
|
320
|
+
};
|
|
321
|
+
CardImage.displayName = 'Card.Image';
|
|
322
|
+
const CardHeading = /*#__PURE__*/forwardRef(function CardHeading(t0, ref) {
|
|
323
|
+
const $ = c(13);
|
|
324
|
+
let children;
|
|
325
|
+
let className;
|
|
326
|
+
let rest;
|
|
327
|
+
let t1;
|
|
328
|
+
if ($[0] !== t0) {
|
|
329
|
+
({
|
|
330
|
+
as: t1,
|
|
331
|
+
children,
|
|
332
|
+
className,
|
|
333
|
+
...rest
|
|
334
|
+
} = t0);
|
|
335
|
+
$[0] = t0;
|
|
336
|
+
$[1] = children;
|
|
337
|
+
$[2] = className;
|
|
338
|
+
$[3] = rest;
|
|
339
|
+
$[4] = t1;
|
|
340
|
+
} else {
|
|
341
|
+
children = $[1];
|
|
342
|
+
className = $[2];
|
|
343
|
+
rest = $[3];
|
|
344
|
+
t1 = $[4];
|
|
345
|
+
}
|
|
346
|
+
const Component = t1 === undefined ? "h3" : t1;
|
|
347
|
+
let t2;
|
|
348
|
+
if ($[5] !== className) {
|
|
349
|
+
t2 = clsx(classes.CardHeading, className);
|
|
350
|
+
$[5] = className;
|
|
351
|
+
$[6] = t2;
|
|
352
|
+
} else {
|
|
353
|
+
t2 = $[6];
|
|
354
|
+
}
|
|
355
|
+
let t3;
|
|
356
|
+
if ($[7] !== Component || $[8] !== children || $[9] !== ref || $[10] !== rest || $[11] !== t2) {
|
|
357
|
+
t3 = /*#__PURE__*/jsx(Component, {
|
|
358
|
+
ref: ref,
|
|
359
|
+
className: t2,
|
|
360
|
+
...rest,
|
|
361
|
+
children: children
|
|
362
|
+
});
|
|
363
|
+
$[7] = Component;
|
|
364
|
+
$[8] = children;
|
|
365
|
+
$[9] = ref;
|
|
366
|
+
$[10] = rest;
|
|
367
|
+
$[11] = t2;
|
|
368
|
+
$[12] = t3;
|
|
369
|
+
} else {
|
|
370
|
+
t3 = $[12];
|
|
371
|
+
}
|
|
372
|
+
return t3;
|
|
373
|
+
});
|
|
374
|
+
const CardDescription = /*#__PURE__*/forwardRef(function CardDescription(t0, ref) {
|
|
375
|
+
const $ = c(11);
|
|
376
|
+
let children;
|
|
377
|
+
let className;
|
|
378
|
+
let rest;
|
|
379
|
+
if ($[0] !== t0) {
|
|
380
|
+
({
|
|
381
|
+
children,
|
|
382
|
+
className,
|
|
383
|
+
...rest
|
|
384
|
+
} = t0);
|
|
385
|
+
$[0] = t0;
|
|
386
|
+
$[1] = children;
|
|
387
|
+
$[2] = className;
|
|
388
|
+
$[3] = rest;
|
|
389
|
+
} else {
|
|
390
|
+
children = $[1];
|
|
391
|
+
className = $[2];
|
|
392
|
+
rest = $[3];
|
|
393
|
+
}
|
|
394
|
+
let t1;
|
|
395
|
+
if ($[4] !== className) {
|
|
396
|
+
t1 = clsx(classes.CardDescription, className);
|
|
397
|
+
$[4] = className;
|
|
398
|
+
$[5] = t1;
|
|
399
|
+
} else {
|
|
400
|
+
t1 = $[5];
|
|
401
|
+
}
|
|
402
|
+
let t2;
|
|
403
|
+
if ($[6] !== children || $[7] !== ref || $[8] !== rest || $[9] !== t1) {
|
|
404
|
+
t2 = /*#__PURE__*/jsx("p", {
|
|
405
|
+
ref: ref,
|
|
406
|
+
className: t1,
|
|
407
|
+
...rest,
|
|
408
|
+
children: children
|
|
409
|
+
});
|
|
410
|
+
$[6] = children;
|
|
411
|
+
$[7] = ref;
|
|
412
|
+
$[8] = rest;
|
|
413
|
+
$[9] = t1;
|
|
414
|
+
$[10] = t2;
|
|
415
|
+
} else {
|
|
416
|
+
t2 = $[10];
|
|
417
|
+
}
|
|
418
|
+
return t2;
|
|
419
|
+
});
|
|
420
|
+
const CardMenu = t0 => {
|
|
421
|
+
const $ = c(2);
|
|
422
|
+
const {
|
|
423
|
+
children
|
|
424
|
+
} = t0;
|
|
425
|
+
let t1;
|
|
426
|
+
if ($[0] !== children) {
|
|
427
|
+
t1 = /*#__PURE__*/jsx(Fragment, {
|
|
428
|
+
children: children
|
|
429
|
+
});
|
|
430
|
+
$[0] = children;
|
|
431
|
+
$[1] = t1;
|
|
432
|
+
} else {
|
|
433
|
+
t1 = $[1];
|
|
434
|
+
}
|
|
435
|
+
return t1;
|
|
436
|
+
};
|
|
437
|
+
CardMenu.displayName = 'Card.Menu';
|
|
438
|
+
const CardMetadata = /*#__PURE__*/forwardRef(function CardMetadata(t0, ref) {
|
|
439
|
+
const $ = c(11);
|
|
440
|
+
let children;
|
|
441
|
+
let className;
|
|
442
|
+
let rest;
|
|
443
|
+
if ($[0] !== t0) {
|
|
444
|
+
({
|
|
445
|
+
children,
|
|
446
|
+
className,
|
|
447
|
+
...rest
|
|
448
|
+
} = t0);
|
|
449
|
+
$[0] = t0;
|
|
450
|
+
$[1] = children;
|
|
451
|
+
$[2] = className;
|
|
452
|
+
$[3] = rest;
|
|
453
|
+
} else {
|
|
454
|
+
children = $[1];
|
|
455
|
+
className = $[2];
|
|
456
|
+
rest = $[3];
|
|
457
|
+
}
|
|
458
|
+
let t1;
|
|
459
|
+
if ($[4] !== className) {
|
|
460
|
+
t1 = clsx(classes.CardMetadataItem, className);
|
|
461
|
+
$[4] = className;
|
|
462
|
+
$[5] = t1;
|
|
463
|
+
} else {
|
|
464
|
+
t1 = $[5];
|
|
465
|
+
}
|
|
466
|
+
let t2;
|
|
467
|
+
if ($[6] !== children || $[7] !== ref || $[8] !== rest || $[9] !== t1) {
|
|
468
|
+
t2 = /*#__PURE__*/jsx("div", {
|
|
469
|
+
ref: ref,
|
|
470
|
+
className: t1,
|
|
471
|
+
...rest,
|
|
472
|
+
children: children
|
|
473
|
+
});
|
|
474
|
+
$[6] = children;
|
|
475
|
+
$[7] = ref;
|
|
476
|
+
$[8] = rest;
|
|
477
|
+
$[9] = t1;
|
|
478
|
+
$[10] = t2;
|
|
479
|
+
} else {
|
|
480
|
+
t2 = $[10];
|
|
481
|
+
}
|
|
482
|
+
return t2;
|
|
483
|
+
});
|
|
484
|
+
|
|
485
|
+
export { CardDescription, CardHeading, CardIcon, CardImage, CardImpl, CardMenu, CardMetadata };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import './Card-65d85331.css';
|
|
2
|
+
|
|
3
|
+
var classes = {"Card":"prc-Card-Card-pYjuL","CardHeader":"prc-Card-CardHeader-P5Qbb","CardHeaderEdgeToEdge":"prc-Card-CardHeaderEdgeToEdge-3yCqT","CardImage":"prc-Card-CardImage-2M8DM","CardIcon":"prc-Card-CardIcon-mIMfj","CardBody":"prc-Card-CardBody-W1o-l","CardContent":"prc-Card-CardContent-omZDS","CardHeading":"prc-Card-CardHeading-3HXyS","CardDescription":"prc-Card-CardDescription-MnJ3F","CardMetadataContainer":"prc-Card-CardMetadataContainer-K-UlH","CardMetadataItem":"prc-Card-CardMetadataItem-ellY9","CardMenu":"prc-Card-CardMenu-1b3uS"};
|
|
4
|
+
|
|
5
|
+
export { classes as default };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { CardProps, CardIconProps, CardImageProps, CardHeadingProps, CardDescriptionProps, CardMenuProps, CardMetadataProps } from './Card';
|
|
2
|
+
declare const Card: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
+
className?: string;
|
|
4
|
+
padding?: "none" | "condensed" | "normal";
|
|
5
|
+
} & import("react").RefAttributes<HTMLDivElement>> & {
|
|
6
|
+
Icon: {
|
|
7
|
+
({ icon: IconComponent, "aria-label": ariaLabel, className }: CardIconProps): import("react").JSX.Element;
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
10
|
+
Image: {
|
|
11
|
+
({ src, alt, className, ...rest }: CardImageProps): import("react").JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
14
|
+
Heading: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
|
|
15
|
+
as?: "h2" | "h3" | "h4" | "h5" | "h6";
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
} & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
18
|
+
Description: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & {
|
|
19
|
+
children: React.ReactNode;
|
|
20
|
+
} & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
21
|
+
Menu: {
|
|
22
|
+
({ children }: CardMenuProps): import("react").JSX.Element;
|
|
23
|
+
displayName: string;
|
|
24
|
+
};
|
|
25
|
+
Metadata: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
26
|
+
children: React.ReactNode;
|
|
27
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
28
|
+
};
|
|
29
|
+
export { Card };
|
|
30
|
+
export type { CardProps, CardIconProps, CardImageProps, CardHeadingProps, CardDescriptionProps, CardMenuProps, CardMetadataProps, };
|
|
31
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Card/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,SAAS,EACT,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EAClB,MAAM,QAAQ,CAAA;AAEf,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;CAOR,CAAA;AAEF,OAAO,EAAC,IAAI,EAAC,CAAA;AACb,YAAY,EACV,SAAS,EACT,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,GAClB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CardImpl, CardMetadata, CardMenu, CardDescription, CardHeading, CardImage, CardIcon } from './Card.js';
|
|
2
|
+
|
|
3
|
+
const Card = Object.assign(CardImpl, {
|
|
4
|
+
Icon: CardIcon,
|
|
5
|
+
Image: CardImage,
|
|
6
|
+
Heading: CardHeading,
|
|
7
|
+
Description: CardDescription,
|
|
8
|
+
Menu: CardMenu,
|
|
9
|
+
Metadata: CardMetadata
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
export { Card };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultFeatureFlags.d.ts","sourceRoot":"","sources":["../../src/FeatureFlags/DefaultFeatureFlags.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAA;AAEnD,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"DefaultFeatureFlags.d.ts","sourceRoot":"","sources":["../../src/FeatureFlags/DefaultFeatureFlags.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAA;AAEnD,eAAO,MAAM,mBAAmB,kBAK9B,CAAA"}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { FeatureFlagScope } from './FeatureFlagScope.js';
|
|
2
2
|
|
|
3
3
|
const DefaultFeatureFlags = FeatureFlagScope.create({
|
|
4
|
-
primer_react_breadcrumbs_overflow_menu: false,
|
|
5
4
|
primer_react_css_anchor_positioning: false,
|
|
6
5
|
primer_react_select_panel_fullscreen_on_narrow: false,
|
|
7
6
|
primer_react_select_panel_order_selected_at_top: false,
|
|
8
|
-
primer_react_select_panel_remove_active_descendant: false
|
|
9
|
-
primer_react_spinner_synchronize_animations: false,
|
|
10
|
-
primer_react_overlay_max_height_clamp_to_viewport: false
|
|
7
|
+
primer_react_select_panel_remove_active_descendant: false
|
|
11
8
|
});
|
|
12
9
|
|
|
13
10
|
export { DefaultFeatureFlags };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
@keyframes prc-Overlay-overlay-appear-JpFey{0%{opacity:0}to{opacity:1}}.prc-Overlay-Overlay-jfs-T{background-color:var(--overlay-bgColor,var(--color-canvas-overlay));border-radius:var(--borderRadius-large,.75rem);box-shadow:var(--shadow-floating-small,var(--color-overlay-shadow));height:auto;max-height:100vh;max-width:calc(100vw - 2rem);min-width:192px;overflow:auto;position:absolute;width:auto}.prc-Overlay-Overlay-jfs-T:not([data-anchor-position]):not([data-variant=modal]),.prc-Overlay-Overlay-jfs-T[data-anchor-position=false]{bottom:var(--bottom,auto);right:var(--right,auto)}@media screen and (max-width:calc(48rem - 0.02px)){[data-responsive=fullscreen]:is(.prc-Overlay-Overlay-jfs-T[data-anchor-position=false],.prc-Overlay-Overlay-jfs-T:not([data-anchor-position]):not([data-variant=modal])):not([data-variant]){left:0;top:0}}:is(.prc-Overlay-Overlay-jfs-T[data-anchor-position=false],.prc-Overlay-Overlay-jfs-T:not([data-anchor-position]):not([data-variant=modal])):not([data-variant]){left:var(--left,auto);top:var(--top,auto)}.prc-Overlay-Overlay-jfs-T:focus{outline:none}@media (forced-colors:active){.prc-Overlay-Overlay-jfs-T{outline:1px solid transparent}}.prc-Overlay-Overlay-jfs-T:where([data-reflow-container=true]){max-width:calc(100vw - 2rem)}.prc-Overlay-Overlay-jfs-T:where([data-overflow-auto]){overflow:auto}.prc-Overlay-Overlay-jfs-T:where([data-overflow-hidden]){overflow:hidden}.prc-Overlay-Overlay-jfs-T:where([data-overflow-scroll]){overflow:scroll}.prc-Overlay-Overlay-jfs-T:where([data-overflow-visible]){overflow:visible}.prc-Overlay-Overlay-jfs-T:where([data-height-xsmall]){height:192px}.prc-Overlay-Overlay-jfs-T:where([data-height-small]){height:256px}.prc-Overlay-Overlay-jfs-T:where([data-height-medium]){height:320px}.prc-Overlay-Overlay-jfs-T:where([data-height-large]){height:432px}.prc-Overlay-Overlay-jfs-T:where([data-height-xlarge]){height:600px}.prc-Overlay-Overlay-jfs-T:where([data-height-auto]),.prc-Overlay-Overlay-jfs-T:where([data-height-initial]){height:auto}.prc-Overlay-Overlay-jfs-T:where([data-height-fit-content]){height:-moz-fit-content;height:fit-content}.prc-Overlay-Overlay-jfs-T:where([data-max-height-xsmall]){max-height:min(192px,100vh)}@supports (height:100dvh){.prc-Overlay-Overlay-jfs-T:where([data-max-height-xsmall]){max-height:min(192px,100dvh)}}.prc-Overlay-Overlay-jfs-T:where([data-max-height-small]){max-height:min(256px,100vh)}@supports (height:100dvh){.prc-Overlay-Overlay-jfs-T:where([data-max-height-small]){max-height:min(256px,100dvh)}}.prc-Overlay-Overlay-jfs-T:where([data-max-height-medium]){max-height:min(320px,100vh)}@supports (height:100dvh){.prc-Overlay-Overlay-jfs-T:where([data-max-height-medium]){max-height:min(320px,100dvh)}}.prc-Overlay-Overlay-jfs-T:where([data-max-height-large]){max-height:min(432px,100vh)}@supports (height:100dvh){.prc-Overlay-Overlay-jfs-T:where([data-max-height-large]){max-height:min(432px,100dvh)}}.prc-Overlay-Overlay-jfs-T:where([data-max-height-xlarge]){max-height:min(600px,100vh)}@supports (height:100dvh){.prc-Overlay-Overlay-jfs-T:where([data-max-height-xlarge]){max-height:min(600px,100dvh)}}.prc-Overlay-Overlay-jfs-T:where([data-max-height-fit-content]){max-height:-moz-fit-content;max-height:fit-content}.prc-Overlay-Overlay-jfs-T:where([data-width-small]){width:256px}.prc-Overlay-Overlay-jfs-T:where([data-width-medium]){width:320px}.prc-Overlay-Overlay-jfs-T:where([data-width-large]){width:480px}.prc-Overlay-Overlay-jfs-T:where([data-width-xlarge]){width:640px}.prc-Overlay-Overlay-jfs-T:where([data-width-xxlarge]){width:960px}.prc-Overlay-Overlay-jfs-T:where([data-width-auto]){width:auto}.prc-Overlay-Overlay-jfs-T:where([data-max-width-small]){max-width:256px}.prc-Overlay-Overlay-jfs-T:where([data-max-width-medium]){max-width:320px}.prc-Overlay-Overlay-jfs-T:where([data-max-width-large]){max-width:480px}.prc-Overlay-Overlay-jfs-T:where([data-max-width-xlarge]){max-width:640px}.prc-Overlay-Overlay-jfs-T:where([data-max-width-xxlarge]){max-width:960px}.prc-Overlay-Overlay-jfs-T:where([data-visibility-visible]){visibility:visible}.prc-Overlay-Overlay-jfs-T:where([data-visibility-hidden]){visibility:hidden}@media screen and (max-width:calc(48rem - 0.02px)){.prc-Overlay-Overlay-jfs-T:where([data-responsive=fullscreen]),.prc-Overlay-Overlay-jfs-T[data-responsive=fullscreen][data-anchor-position=true]{border-radius:unset;height:100vh;left:0;margin:0;max-height:none;max-width:none;padding-bottom:env(safe-area-inset-bottom);position:fixed;top:0;width:100vw}@supports (height:100dvh){.prc-Overlay-Overlay-jfs-T:where([data-responsive=fullscreen]),.prc-Overlay-Overlay-jfs-T[data-responsive=fullscreen][data-anchor-position=true]{height:100dvh}}}@supports (height:100dvh){.prc-Overlay-Overlay-jfs-T:where([data-variant=fullscreen]){height:100dvh}}@media (prefers-reduced-motion:no-preference){.prc-Overlay-Overlay-jfs-T{animation:prc-Overlay-overlay-appear-JpFey .2s cubic-bezier(.33,1,.68,1)}}
|
|
2
|
+
/*# sourceMappingURL=Overlay-95cfd3c7.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/Overlay/Overlay.module.css.js"],"names":[],"mappings":"AAAA,4CACE,GACE,SACF,CAEA,GACE,SACF,CACF,CAEA,2BAQE,mEAAwC,CACxC,8CAAwC,CACxC,mEAAwC,CALxC,WAAY,CACZ,gBAAiB,CAJjB,4BAA6B,CAE7B,eAAgB,CAGhB,aAAc,CANd,iBAAkB,CAElB,UAyNF,CAhNE,wIAKE,yBAA2B,CAF3B,uBAkBF,CAZI,mDADF,6LAGI,MAAO,CADP,KAGJ,CADE,CAGF,iKAIE,qBAAuB,CAFvB,mBAGF,CAGF,iCACE,YACF,CAEA,8BAvCF,2BAyCI,6BAmLJ,CAlLE,CAEA,+DACE,4BACF,CAEA,uDACE,aACF,CAEA,yDACE,eACF,CAEA,yDACE,eACF,CAEA,0DACE,gBACF,CAEA,uDACE,YACF,CAEA,sDACE,YACF,CAEA,uDACE,YACF,CAEA,sDACE,YACF,CAEA,uDACE,YACF,CAEA,6GAEE,WACF,CAEA,4DACE,uBAAmB,CAAnB,kBACF,CAEA,2DACE,2BAKF,CAHE,0BAHF,2DAII,4BAEJ,CADE,CAGF,0DACE,2BAKF,CAHE,0BAHF,0DAII,4BAEJ,CADE,CAGF,2DACE,2BAKF,CAHE,0BAHF,2DAII,4BAEJ,CADE,CAGF,0DACE,2BAKF,CAHE,0BAHF,0DAII,4BAEJ,CADE,CAGF,2DACE,2BAKF,CAHE,0BAHF,2DAII,4BAEJ,CADE,CAGF,gEACE,2BAAuB,CAAvB,sBACF,CAEA,qDACE,WACF,CAEA,sDACE,WACF,CAEA,qDAEE,WACF,CAEA,sDAEE,WACF,CAEA,uDAEE,WACF,CAEA,oDACE,UACF,CAEA,yDACE,eACF,CAEA,0DACE,eACF,CAEA,yDACE,eACF,CAEA,0DACE,eACF,CAEA,2DACE,eACF,CAEA,4DACE,kBACF,CAEA,2DACE,iBACF,CAIE,mDAFF,iJAWI,mBAAoB,CAHpB,YAAa,CAHb,MAAO,CAKP,QAAS,CADT,eAAgB,CAFhB,cAAe,CAMf,0CAA2C,CAV3C,cAAe,CACf,KAAM,CAEN,WAcJ,CALI,0BAfJ,iJAiBM,aAGN,CAFI,CACF,CAGF,0BAEE,4DACE,aACF,CACF,CAGF,8CACE,2BACE,wEACF,CACF","file":"Overlay-95cfd3c7.css","sourcesContent":["@keyframes overlay-appear {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n.Overlay {\n position: absolute;\n max-width: calc(100vw - 2rem);\n width: auto;\n min-width: 192px;\n height: auto;\n max-height: 100vh;\n overflow: auto;\n background-color: var(--overlay-bgColor);\n border-radius: var(--borderRadius-large);\n box-shadow: var(--shadow-floating-small);\n\n &[data-anchor-position='false'],\n &:not([data-anchor-position]):not([data-variant='modal']) {\n /* stylelint-disable-next-line primer/spacing */\n right: var(--right, auto);\n /* stylelint-disable-next-line primer/spacing */\n bottom: var(--bottom, auto);\n\n /* stylelint-disable-next-line selector-max-specificity */\n &[data-responsive='fullscreen']:not([data-variant]) {\n @media screen and (--viewportRange-narrow) {\n top: 0;\n left: 0;\n }\n }\n\n &:not([data-variant]) {\n /* stylelint-disable-next-line primer/spacing */\n top: var(--top, auto);\n /* stylelint-disable-next-line primer/spacing */\n left: var(--left, auto);\n }\n }\n\n &:focus {\n outline: none;\n }\n\n @media (forced-colors: active) {\n /* Support for Windows high contrast https://sarahmhigley.com/writing/whcm-quick-tips */\n outline: solid 1px transparent;\n }\n\n &:where([data-reflow-container='true']) {\n max-width: calc(100vw - 2rem);\n }\n\n &:where([data-overflow-auto]) {\n overflow: auto;\n }\n\n &:where([data-overflow-hidden]) {\n overflow: hidden;\n }\n\n &:where([data-overflow-scroll]) {\n overflow: scroll;\n }\n\n &:where([data-overflow-visible]) {\n overflow: visible;\n }\n\n &:where([data-height-xsmall]) {\n height: 192px;\n }\n\n &:where([data-height-small]) {\n height: 256px;\n }\n\n &:where([data-height-medium]) {\n height: 320px;\n }\n\n &:where([data-height-large]) {\n height: 432px;\n }\n\n &:where([data-height-xlarge]) {\n height: 600px;\n }\n\n &:where([data-height-auto]),\n &:where([data-height-initial]) {\n height: auto;\n }\n\n &:where([data-height-fit-content]) {\n height: fit-content;\n }\n\n &:where([data-max-height-xsmall]) {\n max-height: min(192px, 100vh);\n\n @supports (height: 100dvh) {\n max-height: min(192px, 100dvh);\n }\n }\n\n &:where([data-max-height-small]) {\n max-height: min(256px, 100vh);\n\n @supports (height: 100dvh) {\n max-height: min(256px, 100dvh);\n }\n }\n\n &:where([data-max-height-medium]) {\n max-height: min(320px, 100vh);\n\n @supports (height: 100dvh) {\n max-height: min(320px, 100dvh);\n }\n }\n\n &:where([data-max-height-large]) {\n max-height: min(432px, 100vh);\n\n @supports (height: 100dvh) {\n max-height: min(432px, 100dvh);\n }\n }\n\n &:where([data-max-height-xlarge]) {\n max-height: min(600px, 100vh);\n\n @supports (height: 100dvh) {\n max-height: min(600px, 100dvh);\n }\n }\n\n &:where([data-max-height-fit-content]) {\n max-height: fit-content;\n }\n\n &:where([data-width-small]) {\n width: 256px;\n }\n\n &:where([data-width-medium]) {\n width: 320px;\n }\n\n &:where([data-width-large]) {\n /* stylelint-disable-next-line primer/responsive-widths */\n width: 480px;\n }\n\n &:where([data-width-xlarge]) {\n /* stylelint-disable-next-line primer/responsive-widths */\n width: 640px;\n }\n\n &:where([data-width-xxlarge]) {\n /* stylelint-disable-next-line primer/responsive-widths */\n width: 960px;\n }\n\n &:where([data-width-auto]) {\n width: auto;\n }\n\n &:where([data-max-width-small]) {\n max-width: 256px;\n }\n\n &:where([data-max-width-medium]) {\n max-width: 320px;\n }\n\n &:where([data-max-width-large]) {\n max-width: 480px;\n }\n\n &:where([data-max-width-xlarge]) {\n max-width: 640px;\n }\n\n &:where([data-max-width-xxlarge]) {\n max-width: 960px;\n }\n\n &:where([data-visibility-visible]) {\n visibility: visible;\n }\n\n &:where([data-visibility-hidden]) {\n visibility: hidden;\n }\n\n &:where([data-responsive='fullscreen']),\n &[data-responsive='fullscreen'][data-anchor-position='true'] {\n @media screen and (--viewportRange-narrow) {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n max-width: none;\n height: 100vh;\n max-height: none;\n margin: 0;\n border-radius: unset;\n /* stylelint-disable-next-line primer/spacing */\n padding-bottom: env(safe-area-inset-bottom);\n\n @supports (height: 100dvh) {\n /* fix for mobile safari (100vh clips the screen with the toolbar) */\n height: 100dvh;\n }\n }\n }\n\n @supports (height: 100dvh) {\n /* fix for mobile safari (100vh clips the screen with the toolbar) */\n &:where([data-variant='fullscreen']) {\n height: 100dvh;\n }\n }\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .Overlay {\n animation: overlay-appear 200ms cubic-bezier(0.33, 1, 0.68, 1);\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Overlay.d.ts","sourceRoot":"","sources":["../../src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