@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,6 +1,6 @@
1
1
  import { createContext, useContext } from 'react';
2
2
 
3
- import type { BackgroundColor } from './box.partial';
3
+ import type { BackgroundColor } from '@atlaskit/primitives';
4
4
 
5
5
  /**
6
6
  * __Surface context__
@@ -317,11 +317,11 @@ export type LineHeight = keyof typeof lineHeightMap;
317
317
 
318
318
  /**
319
319
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
320
- * @codegen <<SignedSource::d2da3ae653a14d48ae7649d16e323e40>>
320
+ * @codegen <<SignedSource::2e1a574ee1c58d7f4f1167778503c704>>
321
321
  * @codegenId colors
322
322
  * @codegenCommand yarn codegen-styles
323
323
  * @codegenParams ["text"]
324
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::815ddd719715ae06521cad06e1921e40>>
324
+ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
325
325
  */
326
326
  const textColorMap = {
327
327
  'color.text': css({
package/src/index.tsx CHANGED
@@ -1,9 +1,3 @@
1
- export { default as UNSAFE_Box } from './components/box.partial';
2
1
  export { default as UNSAFE_Text } from './components/text.partial';
3
- export { default as UNSAFE_Inline } from './components/inline.partial';
4
- export { default as UNSAFE_Stack } from './components/stack.partial';
5
2
  export { default as UNSAFE_InteractionSurface } from './components/interaction-surface.partial';
6
- export type { BoxProps as UNSAFE_BoxProps } from './components/box.partial';
7
3
  export type { TextProps as UNSAFE_TextProps } from './components/text.partial';
8
- export type { InlineProps as UNSAFE_InlineProps } from './components/inline.partial';
9
- export type { StackProps as UNSAFE_StackProps } from './components/stack.partial';
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * The color map is used to map a background color token to a matching text color that will meet contrast.
5
5
  *
6
- * @codegen <<SignedSource::49cf3a9a4b6ea82d76f3d977759cac32>>
6
+ * @codegen <<SignedSource::f70c0e13112cb1620980353c239c14d8>>
7
7
  * @codegenCommand yarn codegen-styles
8
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::815ddd719715ae06521cad06e1921e40>>
8
+ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
9
9
  */
10
10
  export default {
11
11
  'neutral.bold': 'inverse',
@@ -4,17 +4,10 @@
4
4
 
5
5
  ```ts
6
6
 
7
- import { ComponentPropsWithoutRef } from 'react';
8
- import { ComponentPropsWithRef } from 'react';
9
7
  import type { CSSProperties } from 'react';
10
- import { ElementType } from 'react';
11
8
  import { FC } from 'react';
12
- import { ForwardRefExoticComponent } from 'react';
13
9
  import { jsx } from '@emotion/react';
14
- import { MemoExoticComponent } from 'react';
15
- import { ReactElement } from 'react';
16
10
  import { ReactNode } from 'react';
17
- import { RefAttributes } from 'react';
18
11
  import { SerializedStyles } from '@emotion/react';
19
12
 
20
13
  // @public (undocumented)
@@ -23,41 +16,6 @@ const asAllowlist: readonly ["span", "div", "p", "strong"];
23
16
  // @public (undocumented)
24
17
  type AsElement = (typeof asAllowlist)[number];
25
18
 
26
- // @public (undocumented)
27
- type BackgroundColor = keyof typeof backgroundColorMap;
28
-
29
- // @public (undocumented)
30
- const backgroundColorMap: {
31
- readonly disabled: SerializedStyles;
32
- readonly input: SerializedStyles;
33
- readonly 'inverse.subtle': SerializedStyles;
34
- readonly neutral: SerializedStyles;
35
- readonly 'neutral.subtle': SerializedStyles;
36
- readonly 'neutral.bold': SerializedStyles;
37
- readonly selected: SerializedStyles;
38
- readonly 'selected.bold': SerializedStyles;
39
- readonly 'brand.subtlest': SerializedStyles;
40
- readonly 'brand.bold': SerializedStyles;
41
- readonly 'brand.boldest': SerializedStyles;
42
- readonly danger: SerializedStyles;
43
- readonly 'danger.bold': SerializedStyles;
44
- readonly warning: SerializedStyles;
45
- readonly 'warning.bold': SerializedStyles;
46
- readonly success: SerializedStyles;
47
- readonly 'success.bold': SerializedStyles;
48
- readonly discovery: SerializedStyles;
49
- readonly 'discovery.bold': SerializedStyles;
50
- readonly information: SerializedStyles;
51
- readonly 'information.bold': SerializedStyles;
52
- readonly 'color.blanket': SerializedStyles;
53
- readonly 'color.blanket.selected': SerializedStyles;
54
- readonly 'color.blanket.danger': SerializedStyles;
55
- readonly 'elevation.surface': SerializedStyles;
56
- readonly 'elevation.surface.overlay': SerializedStyles;
57
- readonly 'elevation.surface.raised': SerializedStyles;
58
- readonly 'elevation.surface.sunken': SerializedStyles;
59
- };
60
-
61
19
  // @public (undocumented)
62
20
  const backgroundHoverColorMap: {
63
21
  'accent.lime.subtlest': SerializedStyles;
@@ -131,222 +89,6 @@ interface BasePrimitiveProps {
131
89
  UNSAFE_style?: CSSProperties;
132
90
  }
133
91
 
134
- // @public (undocumented)
135
- type BorderColor = keyof typeof borderColorMap;
136
-
137
- // @public
138
- const borderColorMap: {
139
- readonly 'color.border': SerializedStyles;
140
- readonly disabled: SerializedStyles;
141
- readonly focused: SerializedStyles;
142
- readonly input: SerializedStyles;
143
- readonly inverse: SerializedStyles;
144
- readonly selected: SerializedStyles;
145
- readonly brand: SerializedStyles;
146
- readonly danger: SerializedStyles;
147
- readonly warning: SerializedStyles;
148
- readonly success: SerializedStyles;
149
- readonly discovery: SerializedStyles;
150
- readonly information: SerializedStyles;
151
- readonly bold: SerializedStyles;
152
- };
153
-
154
- // @public (undocumented)
155
- type BorderRadius = keyof typeof borderRadiusMap;
156
-
157
- // @public (undocumented)
158
- const borderRadiusMap: {
159
- normal: SerializedStyles;
160
- rounded: SerializedStyles;
161
- badge: SerializedStyles;
162
- };
163
-
164
- // @public (undocumented)
165
- type BorderStyle = keyof typeof borderStyleMap;
166
-
167
- // @public (undocumented)
168
- const borderStyleMap: {
169
- none: SerializedStyles;
170
- solid: SerializedStyles;
171
- dashed: SerializedStyles;
172
- dotted: SerializedStyles;
173
- };
174
-
175
- // @public (undocumented)
176
- type BorderWidth = keyof typeof borderWidthMap;
177
-
178
- // @public (undocumented)
179
- const borderWidthMap: {
180
- '0px': SerializedStyles;
181
- '1px': SerializedStyles;
182
- '2px': SerializedStyles;
183
- '3px': SerializedStyles;
184
- };
185
-
186
- // @public (undocumented)
187
- type BoxComponent<T extends ElementType = 'div'> = (<T extends ElementType = 'div'>(props: UNSAFE_BoxProps<T>) => ReactElement | null) & FC<UNSAFE_BoxProps<T>>;
188
-
189
- // @public (undocumented)
190
- type BoxPropsBase<T extends ElementType> = {
191
- as?: T;
192
- children?: ReactNode;
193
- className?: string;
194
- backgroundColor?: BackgroundColor;
195
- shadow?: Shadow;
196
- borderStyle?: BorderStyle;
197
- borderWidth?: BorderWidth;
198
- borderColor?: BorderColor;
199
- borderRadius?: BorderRadius;
200
- layer?: Layer;
201
- flexDirection?: FlexDirection;
202
- alignItems?: FlexAlignItems;
203
- justifyContent?: FlexJustifyContent;
204
- overflow?: Overflow;
205
- padding?: Padding;
206
- paddingBlock?: PaddingBlock;
207
- paddingInline?: PaddingInline;
208
- width?: Width;
209
- height?: Height;
210
- display?: Display;
211
- position?: Position;
212
- ref?: ComponentPropsWithRef<T>['ref'];
213
- };
214
-
215
- // @public (undocumented)
216
- type ColumnGap = keyof typeof columnGapMap;
217
-
218
- // @public
219
- const columnGapMap: {
220
- 'space.0': SerializedStyles;
221
- 'space.025': SerializedStyles;
222
- 'space.050': SerializedStyles;
223
- 'space.075': SerializedStyles;
224
- 'space.100': SerializedStyles;
225
- 'space.1000': SerializedStyles;
226
- 'space.150': SerializedStyles;
227
- 'space.200': SerializedStyles;
228
- 'space.250': SerializedStyles;
229
- 'space.300': SerializedStyles;
230
- 'space.400': SerializedStyles;
231
- 'space.500': SerializedStyles;
232
- 'space.600': SerializedStyles;
233
- 'space.800': SerializedStyles;
234
- };
235
-
236
- // @public (undocumented)
237
- type Display = keyof typeof displayMap;
238
-
239
- // @public (undocumented)
240
- const displayMap: {
241
- block: SerializedStyles;
242
- inline: SerializedStyles;
243
- flex: SerializedStyles;
244
- inlineFlex: SerializedStyles;
245
- inlineBlock: SerializedStyles;
246
- };
247
-
248
- // @public
249
- type FlexAlignItems = keyof typeof flexAlignItemsMap;
250
-
251
- // @public (undocumented)
252
- type FlexAlignItems_2 = keyof typeof flexAlignItemsMap_2;
253
-
254
- // @public (undocumented)
255
- type FlexAlignItems_3 = keyof typeof flexAlignItemsMap_3;
256
-
257
- // @public (undocumented)
258
- const flexAlignItemsMap: {
259
- center: SerializedStyles;
260
- baseline: SerializedStyles;
261
- flexStart: SerializedStyles;
262
- flexEnd: SerializedStyles;
263
- start: SerializedStyles;
264
- end: SerializedStyles;
265
- };
266
-
267
- // @public (undocumented)
268
- const flexAlignItemsMap_2: {
269
- center: SerializedStyles;
270
- baseline: SerializedStyles;
271
- flexStart: SerializedStyles;
272
- flexEnd: SerializedStyles;
273
- start: SerializedStyles;
274
- end: SerializedStyles;
275
- };
276
-
277
- // @public (undocumented)
278
- const flexAlignItemsMap_3: {
279
- center: SerializedStyles;
280
- baseline: SerializedStyles;
281
- flexStart: SerializedStyles;
282
- flexEnd: SerializedStyles;
283
- start: SerializedStyles;
284
- end: SerializedStyles;
285
- };
286
-
287
- // @public
288
- type FlexDirection = keyof typeof flexDirectionMap;
289
-
290
- // @public (undocumented)
291
- const flexDirectionMap: {
292
- column: SerializedStyles;
293
- row: SerializedStyles;
294
- };
295
-
296
- // @public
297
- type FlexJustifyContent = keyof typeof flexJustifyContentMap;
298
-
299
- // @public (undocumented)
300
- type FlexJustifyContent_2 = keyof typeof flexJustifyContentMap_2;
301
-
302
- // @public (undocumented)
303
- type FlexJustifyContent_3 = keyof typeof flexJustifyContentMap_3;
304
-
305
- // @public (undocumented)
306
- const flexJustifyContentMap: {
307
- center: SerializedStyles;
308
- flexStart: SerializedStyles;
309
- flexEnd: SerializedStyles;
310
- start: SerializedStyles;
311
- end: SerializedStyles;
312
- };
313
-
314
- // @public (undocumented)
315
- const flexJustifyContentMap_2: {
316
- center: SerializedStyles;
317
- flexStart: SerializedStyles;
318
- 'space-between': SerializedStyles;
319
- flexEnd: SerializedStyles;
320
- start: SerializedStyles;
321
- end: SerializedStyles;
322
- spaceBetween: SerializedStyles;
323
- };
324
-
325
- // @public (undocumented)
326
- const flexJustifyContentMap_3: {
327
- center: SerializedStyles;
328
- flexStart: SerializedStyles;
329
- flexEnd: SerializedStyles;
330
- start: SerializedStyles;
331
- end: SerializedStyles;
332
- };
333
-
334
- // @public (undocumented)
335
- type FlexWrap = keyof typeof flexWrapMap;
336
-
337
- // @public (undocumented)
338
- type FlexWrap_2 = keyof typeof flexWrapMap_2;
339
-
340
- // @public (undocumented)
341
- const flexWrapMap: {
342
- wrap: SerializedStyles;
343
- };
344
-
345
- // @public (undocumented)
346
- const flexWrapMap_2: {
347
- wrap: SerializedStyles;
348
- };
349
-
350
92
  // @public (undocumented)
351
93
  type FontSize = keyof typeof fontSizeMap;
352
94
 
@@ -373,21 +115,6 @@ const fontWeightMap: {
373
115
  semibold: SerializedStyles;
374
116
  };
375
117
 
376
- // @public (undocumented)
377
- type Height = keyof typeof heightMap;
378
-
379
- // @public (undocumented)
380
- const heightMap: {
381
- '100%': SerializedStyles;
382
- 'size.100': SerializedStyles;
383
- 'size.1000': SerializedStyles;
384
- 'size.200': SerializedStyles;
385
- 'size.300': SerializedStyles;
386
- 'size.400': SerializedStyles;
387
- 'size.500': SerializedStyles;
388
- 'size.600': SerializedStyles;
389
- };
390
-
391
118
  // @public (undocumented)
392
119
  type InteractionBackgroundColor = keyof typeof backgroundHoverColorMap;
393
120
 
@@ -399,22 +126,6 @@ interface InteractionSurfaceProps extends BasePrimitiveProps {
399
126
  children: ReactNode;
400
127
  }
401
128
 
402
- // @public (undocumented)
403
- type Layer = keyof typeof LAYERS;
404
-
405
- // @public (undocumented)
406
- const LAYERS: {
407
- readonly card: 100;
408
- readonly navigation: 200;
409
- readonly dialog: 300;
410
- readonly layer: 400;
411
- readonly blanket: 500;
412
- readonly modal: 510;
413
- readonly flag: 600;
414
- readonly spotlight: 700;
415
- readonly tooltip: 800;
416
- };
417
-
418
129
  // @public (undocumented)
419
130
  type LineHeight = keyof typeof lineHeightMap;
420
131
 
@@ -429,122 +140,6 @@ const lineHeightMap: {
429
140
  'lineHeight.600': SerializedStyles;
430
141
  };
431
142
 
432
- // @public (undocumented)
433
- type Overflow = keyof typeof overflowMap;
434
-
435
- // @public (undocumented)
436
- const overflowMap: {
437
- auto: SerializedStyles;
438
- hidden: SerializedStyles;
439
- };
440
-
441
- // @public (undocumented)
442
- type Padding = keyof typeof paddingMap;
443
-
444
- // @public (undocumented)
445
- type PaddingBlock = keyof typeof paddingBlockMap;
446
-
447
- // @public (undocumented)
448
- const paddingBlockMap: {
449
- 'space.0': SerializedStyles;
450
- 'space.025': SerializedStyles;
451
- 'space.050': SerializedStyles;
452
- 'space.075': SerializedStyles;
453
- 'space.100': SerializedStyles;
454
- 'space.1000': SerializedStyles;
455
- 'space.150': SerializedStyles;
456
- 'space.200': SerializedStyles;
457
- 'space.250': SerializedStyles;
458
- 'space.300': SerializedStyles;
459
- 'space.400': SerializedStyles;
460
- 'space.500': SerializedStyles;
461
- 'space.600': SerializedStyles;
462
- 'space.800': SerializedStyles;
463
- };
464
-
465
- // @public (undocumented)
466
- type PaddingInline = keyof typeof paddingInlineMap;
467
-
468
- // @public (undocumented)
469
- const paddingInlineMap: {
470
- 'space.0': SerializedStyles;
471
- 'space.025': SerializedStyles;
472
- 'space.050': SerializedStyles;
473
- 'space.075': SerializedStyles;
474
- 'space.100': SerializedStyles;
475
- 'space.1000': SerializedStyles;
476
- 'space.150': SerializedStyles;
477
- 'space.200': SerializedStyles;
478
- 'space.250': SerializedStyles;
479
- 'space.300': SerializedStyles;
480
- 'space.400': SerializedStyles;
481
- 'space.500': SerializedStyles;
482
- 'space.600': SerializedStyles;
483
- 'space.800': SerializedStyles;
484
- };
485
-
486
- // @public
487
- const paddingMap: {
488
- 'space.0': SerializedStyles;
489
- 'space.025': SerializedStyles;
490
- 'space.050': SerializedStyles;
491
- 'space.075': SerializedStyles;
492
- 'space.100': SerializedStyles;
493
- 'space.1000': SerializedStyles;
494
- 'space.150': SerializedStyles;
495
- 'space.200': SerializedStyles;
496
- 'space.250': SerializedStyles;
497
- 'space.300': SerializedStyles;
498
- 'space.400': SerializedStyles;
499
- 'space.500': SerializedStyles;
500
- 'space.600': SerializedStyles;
501
- 'space.800': SerializedStyles;
502
- };
503
-
504
- // @public (undocumented)
505
- type Position = keyof typeof positionMap;
506
-
507
- // @public (undocumented)
508
- const positionMap: {
509
- absolute: SerializedStyles;
510
- fixed: SerializedStyles;
511
- relative: SerializedStyles;
512
- static: SerializedStyles;
513
- };
514
-
515
- // @public (undocumented)
516
- type RowGap = keyof typeof rowGapMap;
517
-
518
- // @public
519
- const rowGapMap: {
520
- 'space.0': SerializedStyles;
521
- 'space.025': SerializedStyles;
522
- 'space.050': SerializedStyles;
523
- 'space.075': SerializedStyles;
524
- 'space.100': SerializedStyles;
525
- 'space.1000': SerializedStyles;
526
- 'space.150': SerializedStyles;
527
- 'space.200': SerializedStyles;
528
- 'space.250': SerializedStyles;
529
- 'space.300': SerializedStyles;
530
- 'space.400': SerializedStyles;
531
- 'space.500': SerializedStyles;
532
- 'space.600': SerializedStyles;
533
- 'space.800': SerializedStyles;
534
- };
535
-
536
- // @public (undocumented)
537
- type Shadow = keyof typeof shadowMap;
538
-
539
- // @public (undocumented)
540
- const shadowMap: {
541
- readonly overflow: SerializedStyles;
542
- readonly 'overflow.perimeter': SerializedStyles;
543
- readonly 'overflow.spread': SerializedStyles;
544
- readonly overlay: SerializedStyles;
545
- readonly raised: SerializedStyles;
546
- };
547
-
548
143
  // @public (undocumented)
549
144
  type TextAlign = keyof typeof textAlignMap;
550
145
 
@@ -585,40 +180,9 @@ const textTransformMap: {
585
180
  uppercase: SerializedStyles;
586
181
  };
587
182
 
588
- // @public @deprecated
589
- export const UNSAFE_Box: BoxComponent;
590
-
591
- // @public @deprecated (undocumented)
592
- export type UNSAFE_BoxProps<T extends ElementType = 'div'> = Omit<ComponentPropsWithoutRef<T>, 'as' | 'className' | 'style'> & BasePrimitiveProps & BoxPropsBase<T>;
593
-
594
- // @public @deprecated
595
- export const UNSAFE_Inline: MemoExoticComponent<ForwardRefExoticComponent<UNSAFE_InlineProps & RefAttributes<HTMLDivElement>>>;
596
-
597
- // @public @deprecated (undocumented)
598
- export interface UNSAFE_InlineProps extends BasePrimitiveProps {
599
- alignItems?: FlexAlignItems_2;
600
- children: ReactNode;
601
- divider?: ReactNode;
602
- flexWrap?: FlexWrap;
603
- gap: ColumnGap;
604
- justifyContent?: FlexJustifyContent_2;
605
- }
606
-
607
183
  // @public (undocumented)
608
184
  export const UNSAFE_InteractionSurface: ({ appearance, children, testId, }: InteractionSurfaceProps) => jsx.JSX.Element;
609
185
 
610
- // @public @deprecated
611
- export const UNSAFE_Stack: MemoExoticComponent<ForwardRefExoticComponent<UNSAFE_StackProps & RefAttributes<HTMLDivElement>>>;
612
-
613
- // @public @deprecated (undocumented)
614
- export interface UNSAFE_StackProps extends BasePrimitiveProps {
615
- alignItems?: FlexAlignItems_3;
616
- children: ReactNode;
617
- flexWrap?: FlexWrap_2;
618
- gap: RowGap;
619
- justifyContent?: FlexJustifyContent_3;
620
- }
621
-
622
186
  // @internal
623
187
  export const UNSAFE_Text: FC<UNSAFE_TextProps>;
624
188
 
@@ -647,21 +211,6 @@ const verticalAlignMap: {
647
211
  bottom: SerializedStyles;
648
212
  };
649
213
 
650
- // @public (undocumented)
651
- type Width = keyof typeof widthMap;
652
-
653
- // @public
654
- const widthMap: {
655
- '100%': SerializedStyles;
656
- 'size.100': SerializedStyles;
657
- 'size.1000': SerializedStyles;
658
- 'size.200': SerializedStyles;
659
- 'size.300': SerializedStyles;
660
- 'size.400': SerializedStyles;
661
- 'size.500': SerializedStyles;
662
- 'size.600': SerializedStyles;
663
- };
664
-
665
214
  // (No @packageDocumentation comment for this package)
666
215
 
667
216
  ```
package/tsconfig.app.json CHANGED
@@ -32,6 +32,9 @@
32
32
  "outDir": "../../../tsDist/@atlaskit__ds-explorations/app"
33
33
  },
34
34
  "references": [
35
+ {
36
+ "path": "../primitives/tsconfig.app.json"
37
+ },
35
38
  {
36
39
  "path": "../tokens/tsconfig.app.json"
37
40
  },
package/tsconfig.dev.json CHANGED
@@ -75,14 +75,8 @@
75
75
  {
76
76
  "path": "../textfield/tsconfig.app.json"
77
77
  },
78
- {
79
- "path": "../theme/tsconfig.app.json"
80
- },
81
78
  {
82
79
  "path": "../tokens/tsconfig.app.json"
83
- },
84
- {
85
- "path": "../../../build/test-tooling/visual-regression/tsconfig.app.json"
86
80
  }
87
81
  ]
88
82
  }
package/box/package.json DELETED
@@ -1,15 +0,0 @@
1
- {
2
- "name": "@atlaskit/ds-explorations/box",
3
- "main": "../dist/cjs/components/box.partial.js",
4
- "module": "../dist/esm/components/box.partial.js",
5
- "module:es2019": "../dist/es2019/components/box.partial.js",
6
- "sideEffects": false,
7
- "types": "../dist/types/components/box.partial.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <4.9": {
10
- "*": [
11
- "../dist/types-ts4.5/components/box.partial.d.ts"
12
- ]
13
- }
14
- }
15
- }