@atlaskit/ds-explorations 2.2.15 → 2.3.1

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