@atlaskit/ds-explorations 2.4.0 → 3.0.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.
Files changed (60) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/index.js +0 -21
  3. package/dist/es2019/index.js +0 -3
  4. package/dist/esm/index.js +0 -3
  5. package/dist/types/components/surface-provider.d.ts +2 -2
  6. package/dist/types/index.d.ts +0 -6
  7. package/dist/types-ts4.5/components/surface-provider.d.ts +2 -2
  8. package/dist/types-ts4.5/index.d.ts +0 -6
  9. package/examples/02-text-advanced.tsx +11 -20
  10. package/examples/02-text.tsx +15 -10
  11. package/examples/06-section-message.tsx +2 -4
  12. package/examples/07-comment.tsx +1 -3
  13. package/examples/08-lozenge.tsx +8 -4
  14. package/examples/99-interactions.tsx +49 -33
  15. package/package.json +3 -5
  16. package/report.api.md +0 -465
  17. package/scripts/codegen-styles.tsx +16 -89
  18. package/src/components/__tests__/unit/interaction-suface.test.tsx +2 -2
  19. package/src/components/surface-provider.tsx +1 -1
  20. package/src/index.tsx +0 -6
  21. package/tmp/api-report-tmp.d.ts +0 -451
  22. package/tsconfig.app.json +3 -0
  23. package/tsconfig.dev.json +0 -9
  24. package/box/package.json +0 -15
  25. package/dist/cjs/components/box.partial.js +0 -620
  26. package/dist/cjs/components/inline.partial.js +0 -182
  27. package/dist/cjs/components/stack.partial.js +0 -148
  28. package/dist/es2019/components/box.partial.js +0 -614
  29. package/dist/es2019/components/inline.partial.js +0 -177
  30. package/dist/es2019/components/stack.partial.js +0 -144
  31. package/dist/esm/components/box.partial.js +0 -617
  32. package/dist/esm/components/inline.partial.js +0 -177
  33. package/dist/esm/components/stack.partial.js +0 -143
  34. package/dist/types/components/box.partial.d.ts +0 -357
  35. package/dist/types/components/inline.partial.d.ts +0 -108
  36. package/dist/types/components/stack.partial.d.ts +0 -92
  37. package/dist/types-ts4.5/components/box.partial.d.ts +0 -357
  38. package/dist/types-ts4.5/components/inline.partial.d.ts +0 -108
  39. package/dist/types-ts4.5/components/stack.partial.d.ts +0 -92
  40. package/examples/00-basic.tsx +0 -22
  41. package/examples/01-box.tsx +0 -171
  42. package/examples/03-stack.tsx +0 -99
  43. package/examples/04-inline.tsx +0 -99
  44. package/examples/05-badge.tsx +0 -23
  45. package/inline/package.json +0 -15
  46. package/src/components/__tests__/unit/box.test.tsx +0 -55
  47. package/src/components/__tests__/unit/inline.test.tsx +0 -43
  48. package/src/components/__tests__/unit/stack.test.tsx +0 -31
  49. package/src/components/__tests__/visual-regression/__image_snapshots__/inline-snapshot-test-tsx-inline-alignment-example-should-match-snapshot-1-snap.png +0 -3
  50. package/src/components/__tests__/visual-regression/__image_snapshots__/inline-snapshot-test-tsx-inline-spacing-example-should-match-snapshot-1-snap.png +0 -3
  51. package/src/components/__tests__/visual-regression/__image_snapshots__/stack-snapshot-test-tsx-stack-alignment-example-should-match-snapshot-1-snap.png +0 -3
  52. package/src/components/__tests__/visual-regression/__image_snapshots__/stack-snapshot-test-tsx-stack-spacing-example-should-match-snapshot-1-snap.png +0 -3
  53. package/src/components/__tests__/visual-regression/inline-snapshot-test.tsx +0 -28
  54. package/src/components/__tests__/visual-regression/stack-snapshot-test.tsx +0 -28
  55. package/src/components/__tests__/vr-tests/__snapshots__/box--default.png +0 -0
  56. package/src/components/__tests__/vr-tests/box-snapshot-test.vr.tsx +0 -6
  57. package/src/components/box.partial.tsx +0 -706
  58. package/src/components/inline.partial.tsx +0 -218
  59. package/src/components/stack.partial.tsx +0 -174
  60. package/stack/package.json +0 -15
@@ -1,617 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
- var _excluded = ["children", "as", "className", "display", "flexDirection", "alignItems", "justifyContent", "backgroundColor", "borderColor", "borderStyle", "borderWidth", "borderRadius", "shadow", "layer", "padding", "paddingBlock", "paddingInline", "position", "height", "overflow", "width", "UNSAFE_style", "testId"];
4
- /** @jsx jsx */
5
- import { forwardRef } from 'react';
6
- import { css, jsx } from '@emotion/react';
7
- import { LAYERS } from '../constants';
8
- import { SurfaceContext } from './surface-provider';
9
-
10
- /**
11
- * @private
12
- * @deprecated DSP-8009: This type is scheduled for deletion.
13
- * Please use `Box` from `@atlaskit/primitives` instead.
14
- */
15
-
16
- // Without this type annotation on Box we don't get autocomplete for props due to forwardRef types
17
-
18
- /**
19
- * __Box__
20
- *
21
- * Box is a primitive component that has the design decisions of the Atlassian Design System baked in.
22
- * Renders a `div` by default.
23
- *
24
- * @private
25
- * @deprecated DSP-8009: This primitive is scheduled for deletion.
26
- * Please use `Box` from `@atlaskit/primitives` instead.
27
- */
28
- export var Box = /*#__PURE__*/forwardRef(function (_ref, ref) {
29
- var children = _ref.children,
30
- as = _ref.as,
31
- className = _ref.className,
32
- _ref$display = _ref.display,
33
- display = _ref$display === void 0 ? 'flex' : _ref$display,
34
- flexDirection = _ref.flexDirection,
35
- alignItems = _ref.alignItems,
36
- justifyContent = _ref.justifyContent,
37
- backgroundColor = _ref.backgroundColor,
38
- borderColor = _ref.borderColor,
39
- borderStyle = _ref.borderStyle,
40
- borderWidth = _ref.borderWidth,
41
- borderRadius = _ref.borderRadius,
42
- shadow = _ref.shadow,
43
- layer = _ref.layer,
44
- padding = _ref.padding,
45
- paddingBlock = _ref.paddingBlock,
46
- paddingInline = _ref.paddingInline,
47
- _ref$position = _ref.position,
48
- position = _ref$position === void 0 ? 'relative' : _ref$position,
49
- height = _ref.height,
50
- overflow = _ref.overflow,
51
- width = _ref.width,
52
- UNSAFE_style = _ref.UNSAFE_style,
53
- testId = _ref.testId,
54
- htmlAttributes = _objectWithoutProperties(_ref, _excluded);
55
- var Component = as || 'div';
56
- var node = jsx(Component, _extends({
57
- style: UNSAFE_style,
58
- ref: ref
59
- // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
60
- }, htmlAttributes, {
61
- className: className,
62
- css: [baseStyles, display && displayMap[display], padding && paddingMap[padding], position && positionMap[position], paddingBlock && paddingBlockMap[paddingBlock], paddingInline && paddingInlineMap[paddingInline], alignItems && flexAlignItemsMap[alignItems], justifyContent && flexJustifyContentMap[justifyContent], backgroundColor && backgroundColorMap[backgroundColor], borderColor && borderColorMap[borderColor], borderStyle && borderStyleMap[borderStyle], borderWidth && borderWidthMap[borderWidth], borderRadius && borderRadiusMap[borderRadius], shadow && shadowMap[shadow], layer && layerMap[layer], flexDirection && flexDirectionMap[flexDirection], overflow && overflowMap[overflow], width && widthMap[width], height && heightMap[height]],
63
- "data-testid": testId
64
- }), children);
65
- return backgroundColor ? jsx(SurfaceContext.Provider, {
66
- value: backgroundColor
67
- }, node) : node;
68
- });
69
- Box.displayName = 'Box';
70
- export default Box;
71
-
72
- // <<< STYLES GO HERE >>>
73
-
74
- var borderStyleMap = {
75
- none: css({
76
- borderStyle: 'none'
77
- }),
78
- solid: css({
79
- borderStyle: 'solid'
80
- }),
81
- dashed: css({
82
- borderStyle: 'dashed'
83
- }),
84
- dotted: css({
85
- borderStyle: 'dotted'
86
- })
87
- };
88
- var borderWidthMap = {
89
- '0px': css({
90
- borderWidth: '0px'
91
- }),
92
- '1px': css({
93
- borderWidth: '1px'
94
- }),
95
- '2px': css({
96
- borderWidth: '2px'
97
- }),
98
- '3px': css({
99
- borderWidth: '3px'
100
- })
101
- };
102
- var borderRadiusMap = {
103
- normal: css({
104
- borderRadius: '3px'
105
- }),
106
- rounded: css({
107
- borderRadius: '50%'
108
- }),
109
- badge: css({
110
- borderRadius: '8px'
111
- })
112
- };
113
-
114
- /**
115
- * @experimental - this is likely to be removed
116
- */
117
-
118
- var flexDirectionMap = {
119
- column: css({
120
- flexDirection: 'column'
121
- }),
122
- row: css({
123
- flexDirection: 'row'
124
- })
125
- };
126
-
127
- /**
128
- * @experimental - this is likely to be removed
129
- */
130
-
131
- var flexAlignItemsMap = {
132
- center: css({
133
- alignItems: 'center'
134
- }),
135
- baseline: css({
136
- alignItems: 'baseline'
137
- }),
138
- flexStart: css({
139
- alignItems: 'flex-start'
140
- }),
141
- flexEnd: css({
142
- alignItems: 'flex-end'
143
- }),
144
- start: css({
145
- alignItems: 'start'
146
- }),
147
- end: css({
148
- alignItems: 'end'
149
- })
150
- };
151
-
152
- /**
153
- * @experimental - this is likely to be removed
154
- */
155
-
156
- var flexJustifyContentMap = {
157
- center: css({
158
- justifyContent: 'center'
159
- }),
160
- flexStart: css({
161
- justifyContent: 'flex-start'
162
- }),
163
- flexEnd: css({
164
- justifyContent: 'flex-end'
165
- }),
166
- start: css({
167
- justifyContent: 'start'
168
- }),
169
- end: css({
170
- justifyContent: 'end'
171
- })
172
- };
173
- var displayMap = {
174
- block: css({
175
- display: 'block'
176
- }),
177
- inline: css({
178
- display: 'inline'
179
- }),
180
- flex: css({
181
- display: 'flex'
182
- }),
183
- inlineFlex: css({
184
- display: 'inline-flex'
185
- }),
186
- inlineBlock: css({
187
- display: 'inline-block'
188
- })
189
- };
190
- var positionMap = {
191
- absolute: css({
192
- position: 'absolute'
193
- }),
194
- fixed: css({
195
- position: 'fixed'
196
- }),
197
- relative: css({
198
- position: 'relative'
199
- }),
200
- static: css({
201
- position: 'static'
202
- })
203
- };
204
- var overflowMap = {
205
- auto: css({
206
- overflow: 'auto'
207
- }),
208
- hidden: css({
209
- overflow: 'hidden'
210
- })
211
- };
212
- var baseStyles = css({
213
- boxSizing: 'border-box',
214
- appearance: 'none',
215
- border: 'none'
216
- });
217
-
218
- /**
219
- * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
220
- * @codegen <<SignedSource::327e769aaa3da9422a919a0ca9490070>>
221
- * @codegenId dimensions
222
- * @codegenCommand yarn codegen-styles
223
- * @codegenParams ["width", "height"]
224
- */
225
- var widthMap = {
226
- '100%': css({
227
- width: '100%'
228
- }),
229
- 'size.100': css({
230
- width: '16px'
231
- }),
232
- 'size.1000': css({
233
- width: '192px'
234
- }),
235
- 'size.200': css({
236
- width: '24px'
237
- }),
238
- 'size.300': css({
239
- width: '32px'
240
- }),
241
- 'size.400': css({
242
- width: '40px'
243
- }),
244
- 'size.500': css({
245
- width: '48px'
246
- }),
247
- 'size.600': css({
248
- width: '96px'
249
- })
250
- };
251
- var heightMap = {
252
- '100%': css({
253
- height: '100%'
254
- }),
255
- 'size.100': css({
256
- height: '16px'
257
- }),
258
- 'size.1000': css({
259
- height: '192px'
260
- }),
261
- 'size.200': css({
262
- height: '24px'
263
- }),
264
- 'size.300': css({
265
- height: '32px'
266
- }),
267
- 'size.400': css({
268
- height: '40px'
269
- }),
270
- 'size.500': css({
271
- height: '48px'
272
- }),
273
- 'size.600': css({
274
- height: '96px'
275
- })
276
- };
277
- /**
278
- * @codegenEnd
279
- */
280
- /**
281
- * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
282
- * @codegen <<SignedSource::8aa9e47916dc6f6d72f32999f48fbd27>>
283
- * @codegenId spacing
284
- * @codegenCommand yarn codegen-styles
285
- * @codegenParams ["padding", "paddingBlock", "paddingInline"]
286
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::298080e8024fb3eb37589721413e0156>>
287
- */
288
- var paddingMap = {
289
- 'space.0': css({
290
- padding: "var(--ds-space-0, 0px)"
291
- }),
292
- 'space.025': css({
293
- padding: "var(--ds-space-025, 2px)"
294
- }),
295
- 'space.050': css({
296
- padding: "var(--ds-space-050, 4px)"
297
- }),
298
- 'space.075': css({
299
- padding: "var(--ds-space-075, 6px)"
300
- }),
301
- 'space.100': css({
302
- padding: "var(--ds-space-100, 8px)"
303
- }),
304
- 'space.1000': css({
305
- padding: "var(--ds-space-1000, 80px)"
306
- }),
307
- 'space.150': css({
308
- padding: "var(--ds-space-150, 12px)"
309
- }),
310
- 'space.200': css({
311
- padding: "var(--ds-space-200, 16px)"
312
- }),
313
- 'space.250': css({
314
- padding: "var(--ds-space-250, 20px)"
315
- }),
316
- 'space.300': css({
317
- padding: "var(--ds-space-300, 24px)"
318
- }),
319
- 'space.400': css({
320
- padding: "var(--ds-space-400, 32px)"
321
- }),
322
- 'space.500': css({
323
- padding: "var(--ds-space-500, 40px)"
324
- }),
325
- 'space.600': css({
326
- padding: "var(--ds-space-600, 48px)"
327
- }),
328
- 'space.800': css({
329
- padding: "var(--ds-space-800, 64px)"
330
- })
331
- };
332
- var paddingBlockMap = {
333
- 'space.0': css({
334
- paddingBlock: "var(--ds-space-0, 0px)"
335
- }),
336
- 'space.025': css({
337
- paddingBlock: "var(--ds-space-025, 2px)"
338
- }),
339
- 'space.050': css({
340
- paddingBlock: "var(--ds-space-050, 4px)"
341
- }),
342
- 'space.075': css({
343
- paddingBlock: "var(--ds-space-075, 6px)"
344
- }),
345
- 'space.100': css({
346
- paddingBlock: "var(--ds-space-100, 8px)"
347
- }),
348
- 'space.1000': css({
349
- paddingBlock: "var(--ds-space-1000, 80px)"
350
- }),
351
- 'space.150': css({
352
- paddingBlock: "var(--ds-space-150, 12px)"
353
- }),
354
- 'space.200': css({
355
- paddingBlock: "var(--ds-space-200, 16px)"
356
- }),
357
- 'space.250': css({
358
- paddingBlock: "var(--ds-space-250, 20px)"
359
- }),
360
- 'space.300': css({
361
- paddingBlock: "var(--ds-space-300, 24px)"
362
- }),
363
- 'space.400': css({
364
- paddingBlock: "var(--ds-space-400, 32px)"
365
- }),
366
- 'space.500': css({
367
- paddingBlock: "var(--ds-space-500, 40px)"
368
- }),
369
- 'space.600': css({
370
- paddingBlock: "var(--ds-space-600, 48px)"
371
- }),
372
- 'space.800': css({
373
- paddingBlock: "var(--ds-space-800, 64px)"
374
- })
375
- };
376
- var paddingInlineMap = {
377
- 'space.0': css({
378
- paddingInline: "var(--ds-space-0, 0px)"
379
- }),
380
- 'space.025': css({
381
- paddingInline: "var(--ds-space-025, 2px)"
382
- }),
383
- 'space.050': css({
384
- paddingInline: "var(--ds-space-050, 4px)"
385
- }),
386
- 'space.075': css({
387
- paddingInline: "var(--ds-space-075, 6px)"
388
- }),
389
- 'space.100': css({
390
- paddingInline: "var(--ds-space-100, 8px)"
391
- }),
392
- 'space.1000': css({
393
- paddingInline: "var(--ds-space-1000, 80px)"
394
- }),
395
- 'space.150': css({
396
- paddingInline: "var(--ds-space-150, 12px)"
397
- }),
398
- 'space.200': css({
399
- paddingInline: "var(--ds-space-200, 16px)"
400
- }),
401
- 'space.250': css({
402
- paddingInline: "var(--ds-space-250, 20px)"
403
- }),
404
- 'space.300': css({
405
- paddingInline: "var(--ds-space-300, 24px)"
406
- }),
407
- 'space.400': css({
408
- paddingInline: "var(--ds-space-400, 32px)"
409
- }),
410
- 'space.500': css({
411
- paddingInline: "var(--ds-space-500, 40px)"
412
- }),
413
- 'space.600': css({
414
- paddingInline: "var(--ds-space-600, 48px)"
415
- }),
416
- 'space.800': css({
417
- paddingInline: "var(--ds-space-800, 64px)"
418
- })
419
- };
420
- /**
421
- * @codegenEnd
422
- */
423
- /**
424
- * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
425
- * @codegen <<SignedSource::1c951d1c65e5ffddea3f0a92075d4614>>
426
- * @codegenId colors
427
- * @codegenCommand yarn codegen-styles
428
- * @codegenParams ["border", "background", "shadow"]
429
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
430
- */
431
- var borderColorMap = {
432
- 'color.border': css({
433
- borderColor: "var(--ds-border, #091e4221)"
434
- }),
435
- disabled: css({
436
- borderColor: "var(--ds-border-disabled, #FAFBFC)"
437
- }),
438
- focused: css({
439
- borderColor: "var(--ds-border-focused, #2684FF)"
440
- }),
441
- input: css({
442
- borderColor: "var(--ds-border-input, #FAFBFC)"
443
- }),
444
- inverse: css({
445
- borderColor: "var(--ds-border-inverse, #FFFFFF)"
446
- }),
447
- selected: css({
448
- borderColor: "var(--ds-border-selected, #0052CC)"
449
- }),
450
- brand: css({
451
- borderColor: "var(--ds-border-brand, #0052CC)"
452
- }),
453
- danger: css({
454
- borderColor: "var(--ds-border-danger, #FF5630)"
455
- }),
456
- warning: css({
457
- borderColor: "var(--ds-border-warning, #FFC400)"
458
- }),
459
- success: css({
460
- borderColor: "var(--ds-border-success, #00875A)"
461
- }),
462
- discovery: css({
463
- borderColor: "var(--ds-border-discovery, #998DD9)"
464
- }),
465
- information: css({
466
- borderColor: "var(--ds-border-information, #0065FF)"
467
- }),
468
- bold: css({
469
- borderColor: "var(--ds-border-bold, #344563)"
470
- })
471
- };
472
- var backgroundColorMap = {
473
- disabled: css({
474
- backgroundColor: "var(--ds-background-disabled, #091e4289)"
475
- }),
476
- input: css({
477
- backgroundColor: "var(--ds-background-input, #FAFBFC)"
478
- }),
479
- 'inverse.subtle': css({
480
- backgroundColor: "var(--ds-background-inverse-subtle, #00000029)"
481
- }),
482
- neutral: css({
483
- backgroundColor: "var(--ds-background-neutral, #DFE1E6)"
484
- }),
485
- 'neutral.subtle': css({
486
- backgroundColor: "var(--ds-background-neutral-subtle, transparent)"
487
- }),
488
- 'neutral.bold': css({
489
- backgroundColor: "var(--ds-background-neutral-bold, #42526E)"
490
- }),
491
- selected: css({
492
- backgroundColor: "var(--ds-background-selected, #DEEBFF)"
493
- }),
494
- 'selected.bold': css({
495
- backgroundColor: "var(--ds-background-selected-bold, #0052CC)"
496
- }),
497
- 'brand.subtlest': css({
498
- backgroundColor: "var(--ds-background-brand-subtlest, #B3D4FF)"
499
- }),
500
- 'brand.bold': css({
501
- backgroundColor: "var(--ds-background-brand-bold, #0052CC)"
502
- }),
503
- 'brand.boldest': css({
504
- backgroundColor: "var(--ds-background-brand-boldest, #0747A6)"
505
- }),
506
- danger: css({
507
- backgroundColor: "var(--ds-background-danger, #FFEBE6)"
508
- }),
509
- 'danger.bold': css({
510
- backgroundColor: "var(--ds-background-danger-bold, #DE350B)"
511
- }),
512
- warning: css({
513
- backgroundColor: "var(--ds-background-warning, #FFFAE6)"
514
- }),
515
- 'warning.bold': css({
516
- backgroundColor: "var(--ds-background-warning-bold, #FFAB00)"
517
- }),
518
- success: css({
519
- backgroundColor: "var(--ds-background-success, #E3FCEF)"
520
- }),
521
- 'success.bold': css({
522
- backgroundColor: "var(--ds-background-success-bold, #00875A)"
523
- }),
524
- discovery: css({
525
- backgroundColor: "var(--ds-background-discovery, #EAE6FF)"
526
- }),
527
- 'discovery.bold': css({
528
- backgroundColor: "var(--ds-background-discovery-bold, #5243AA)"
529
- }),
530
- information: css({
531
- backgroundColor: "var(--ds-background-information, #DEEBFF)"
532
- }),
533
- 'information.bold': css({
534
- backgroundColor: "var(--ds-background-information-bold, #0052CC)"
535
- }),
536
- 'color.blanket': css({
537
- backgroundColor: "var(--ds-blanket, #091e4289)"
538
- }),
539
- 'color.blanket.selected': css({
540
- backgroundColor: "var(--ds-blanket-selected, #388BFF14)"
541
- }),
542
- 'color.blanket.danger': css({
543
- backgroundColor: "var(--ds-blanket-danger, #EF5C4814)"
544
- }),
545
- 'elevation.surface': css({
546
- backgroundColor: "var(--ds-surface, #FFFFFF)"
547
- }),
548
- 'elevation.surface.overlay': css({
549
- backgroundColor: "var(--ds-surface-overlay, #FFFFFF)"
550
- }),
551
- 'elevation.surface.raised': css({
552
- backgroundColor: "var(--ds-surface-raised, #FFFFFF)"
553
- }),
554
- 'elevation.surface.sunken': css({
555
- backgroundColor: "var(--ds-surface-sunken, #F4F5F7)"
556
- })
557
- };
558
- var shadowMap = {
559
- overflow: css({
560
- boxShadow: "var(--ds-shadow-overflow, 0px 0px 8px #091e423f, 0px 0px 1px #091e424f)"
561
- }),
562
- 'overflow.perimeter': css({
563
- boxShadow: "var(--ds-shadow-overflow-perimeter, #091e421f)"
564
- }),
565
- 'overflow.spread': css({
566
- boxShadow: "var(--ds-shadow-overflow-spread, #091e4229)"
567
- }),
568
- overlay: css({
569
- boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #091e423f, 0px 0px 1px #091e424f)"
570
- }),
571
- raised: css({
572
- boxShadow: "var(--ds-shadow-raised, 0px 1px 1px #091e423f, 0px 0px 1px #091e4221)"
573
- })
574
- };
575
- /**
576
- * @codegenEnd
577
- */
578
- /**
579
- * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
580
- * @codegen <<SignedSource::bacbea271b30ec7d2f61306c9a8a9e63>>
581
- * @codegenId misc
582
- * @codegenCommand yarn codegen-styles
583
- * @codegenParams ["layer"]
584
- */
585
- var layerMap = {
586
- card: css({
587
- zIndex: LAYERS['card']
588
- }),
589
- navigation: css({
590
- zIndex: LAYERS['navigation']
591
- }),
592
- dialog: css({
593
- zIndex: LAYERS['dialog']
594
- }),
595
- layer: css({
596
- zIndex: LAYERS['layer']
597
- }),
598
- blanket: css({
599
- zIndex: LAYERS['blanket']
600
- }),
601
- modal: css({
602
- zIndex: LAYERS['modal']
603
- }),
604
- flag: css({
605
- zIndex: LAYERS['flag']
606
- }),
607
- spotlight: css({
608
- zIndex: LAYERS['spotlight']
609
- }),
610
- tooltip: css({
611
- zIndex: LAYERS['tooltip']
612
- })
613
- };
614
-
615
- /**
616
- * @codegenEnd
617
- */