@atlaskit/ds-explorations 2.2.7 → 2.2.9

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/ds-explorations
2
2
 
3
+ ## 2.2.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [`56b444b56a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56b444b56a8) - Fix a bug where text descenders were cut off at high zoom levels on Windows
8
+
9
+ ## 2.2.8
10
+
11
+ ### Patch Changes
12
+
13
+ - [`74f7af9882b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/74f7af9882b) - [ux] correct fallback color of token color.border.focused to meet contrast requirement
14
+
3
15
  ## 2.2.7
4
16
 
5
17
  ### Patch Changes
@@ -427,7 +427,7 @@ var paddingInlineMap = {
427
427
  */
428
428
  /**
429
429
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
430
- * @codegen <<SignedSource::641490362f94761dab3c48a98b999b7a>>
430
+ * @codegen <<SignedSource::026413c83379004fc928a2632ae022c9>>
431
431
  * @codegenId colors
432
432
  * @codegenCommand yarn codegen-styles
433
433
  * @codegenParams ["border", "background", "shadow"]
@@ -441,7 +441,7 @@ var borderColorMap = {
441
441
  borderColor: "var(--ds-border-disabled, #FAFBFC)"
442
442
  }),
443
443
  focused: (0, _react2.css)({
444
- borderColor: "var(--ds-border-focused, #4C9AFF)"
444
+ borderColor: "var(--ds-border-focused, #2684FF)"
445
445
  }),
446
446
  input: (0, _react2.css)({
447
447
  borderColor: "var(--ds-border-input, #FAFBFC)"
@@ -14,7 +14,7 @@ var baseStyles = (0, _react2.css)({
14
14
  inset: 0,
15
15
  borderRadius: 'inherit',
16
16
  cursor: 'pointer',
17
- // eslint-disable-next-line @repo/internal/styles/no-nested-styles
17
+ // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
18
18
  '~ *': {
19
19
  position: 'relative',
20
20
  pointerEvents: 'none'
@@ -53,9 +53,15 @@ var baseStyles = (0, _react2.css)({
53
53
  padding: "var(--ds-space-0, 0px)"
54
54
  });
55
55
  var truncateStyles = (0, _react2.css)({
56
- overflow: 'hidden',
57
56
  textOverflow: 'ellipsis',
58
- whiteSpace: 'nowrap'
57
+ whiteSpace: 'nowrap',
58
+ // Use "clip" overflow to allow ellipses on x-axis without clipping descenders
59
+ '@supports not (overflow-x: clip)': {
60
+ overflow: 'hidden'
61
+ },
62
+ '@supports (overflow-x: clip)': {
63
+ overflowX: 'clip'
64
+ }
59
65
  });
60
66
 
61
67
  /**
@@ -419,7 +419,7 @@ const paddingInlineMap = {
419
419
  */
420
420
  /**
421
421
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
422
- * @codegen <<SignedSource::641490362f94761dab3c48a98b999b7a>>
422
+ * @codegen <<SignedSource::026413c83379004fc928a2632ae022c9>>
423
423
  * @codegenId colors
424
424
  * @codegenCommand yarn codegen-styles
425
425
  * @codegenParams ["border", "background", "shadow"]
@@ -433,7 +433,7 @@ const borderColorMap = {
433
433
  borderColor: "var(--ds-border-disabled, #FAFBFC)"
434
434
  }),
435
435
  focused: css({
436
- borderColor: "var(--ds-border-focused, #4C9AFF)"
436
+ borderColor: "var(--ds-border-focused, #2684FF)"
437
437
  }),
438
438
  input: css({
439
439
  borderColor: "var(--ds-border-input, #FAFBFC)"
@@ -7,7 +7,7 @@ const baseStyles = css({
7
7
  inset: 0,
8
8
  borderRadius: 'inherit',
9
9
  cursor: 'pointer',
10
- // eslint-disable-next-line @repo/internal/styles/no-nested-styles
10
+ // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
11
11
  '~ *': {
12
12
  position: 'relative',
13
13
  pointerEvents: 'none'
@@ -44,9 +44,15 @@ const baseStyles = css({
44
44
  padding: "var(--ds-space-0, 0px)"
45
45
  });
46
46
  const truncateStyles = css({
47
- overflow: 'hidden',
48
47
  textOverflow: 'ellipsis',
49
- whiteSpace: 'nowrap'
48
+ whiteSpace: 'nowrap',
49
+ // Use "clip" overflow to allow ellipses on x-axis without clipping descenders
50
+ '@supports not (overflow-x: clip)': {
51
+ overflow: 'hidden'
52
+ },
53
+ '@supports (overflow-x: clip)': {
54
+ overflowX: 'clip'
55
+ }
50
56
  });
51
57
 
52
58
  /**
@@ -422,7 +422,7 @@ var paddingInlineMap = {
422
422
  */
423
423
  /**
424
424
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
425
- * @codegen <<SignedSource::641490362f94761dab3c48a98b999b7a>>
425
+ * @codegen <<SignedSource::026413c83379004fc928a2632ae022c9>>
426
426
  * @codegenId colors
427
427
  * @codegenCommand yarn codegen-styles
428
428
  * @codegenParams ["border", "background", "shadow"]
@@ -436,7 +436,7 @@ var borderColorMap = {
436
436
  borderColor: "var(--ds-border-disabled, #FAFBFC)"
437
437
  }),
438
438
  focused: css({
439
- borderColor: "var(--ds-border-focused, #4C9AFF)"
439
+ borderColor: "var(--ds-border-focused, #2684FF)"
440
440
  }),
441
441
  input: css({
442
442
  borderColor: "var(--ds-border-input, #FAFBFC)"
@@ -7,7 +7,7 @@ var baseStyles = css({
7
7
  inset: 0,
8
8
  borderRadius: 'inherit',
9
9
  cursor: 'pointer',
10
- // eslint-disable-next-line @repo/internal/styles/no-nested-styles
10
+ // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
11
11
  '~ *': {
12
12
  position: 'relative',
13
13
  pointerEvents: 'none'
@@ -46,9 +46,15 @@ var baseStyles = css({
46
46
  padding: "var(--ds-space-0, 0px)"
47
47
  });
48
48
  var truncateStyles = css({
49
- overflow: 'hidden',
50
49
  textOverflow: 'ellipsis',
51
- whiteSpace: 'nowrap'
50
+ whiteSpace: 'nowrap',
51
+ // Use "clip" overflow to allow ellipses on x-axis without clipping descenders
52
+ '@supports not (overflow-x: clip)': {
53
+ overflow: 'hidden'
54
+ },
55
+ '@supports (overflow-x: clip)': {
56
+ overflowX: 'clip'
57
+ }
52
58
  });
53
59
 
54
60
  /**
@@ -291,7 +291,7 @@ export type PaddingInline = keyof typeof paddingInlineMap;
291
291
  */
292
292
  /**
293
293
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
294
- * @codegen <<SignedSource::641490362f94761dab3c48a98b999b7a>>
294
+ * @codegen <<SignedSource::026413c83379004fc928a2632ae022c9>>
295
295
  * @codegenId colors
296
296
  * @codegenCommand yarn codegen-styles
297
297
  * @codegenParams ["border", "background", "shadow"]
@@ -291,7 +291,7 @@ export type PaddingInline = keyof typeof paddingInlineMap;
291
291
  */
292
292
  /**
293
293
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
294
- * @codegen <<SignedSource::641490362f94761dab3c48a98b999b7a>>
294
+ * @codegen <<SignedSource::026413c83379004fc928a2632ae022c9>>
295
295
  * @codegenId colors
296
296
  * @codegenCommand yarn codegen-styles
297
297
  * @codegenParams ["border", "background", "shadow"]
@@ -11,6 +11,7 @@ import WarningIcon from '@atlaskit/icon/glyph/warning';
11
11
  import Inline from '@atlaskit/primitives/inline';
12
12
  import Stack from '@atlaskit/primitives/stack';
13
13
  import Textfield from '@atlaskit/textfield';
14
+ import { B200 } from '@atlaskit/theme/colors';
14
15
  import { token } from '@atlaskit/tokens';
15
16
 
16
17
  import {
@@ -29,7 +30,7 @@ const fieldsetStyles = css({
29
30
  },
30
31
  ':focus, :focus-within': {
31
32
  backgroundColor: token('color.background.input', '#FAFBFC'),
32
- borderColor: token('color.border.focused', 'blue'),
33
+ borderColor: token('color.border.focused', B200),
33
34
  },
34
35
  });
35
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/ds-explorations",
3
- "version": "2.2.7",
3
+ "version": "2.2.9",
4
4
  "description": "An experimental package for exploration and validation of spacing / typography foundations.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -25,7 +25,7 @@
25
25
  "prepare": "yarn ak-postbuild"
26
26
  },
27
27
  "dependencies": {
28
- "@atlaskit/tokens": "^1.13.0",
28
+ "@atlaskit/tokens": "^1.14.0",
29
29
  "@babel/runtime": "^7.0.0",
30
30
  "@emotion/react": "^11.7.1",
31
31
  "tiny-invariant": "^1.2.0"
@@ -101,7 +101,7 @@ exports[`@atlaskit/design-system-explorations border styles are generated correc
101
101
  borderColor: token('color.border.disabled', '#FAFBFC'),
102
102
  }),
103
103
  focused: css({
104
- borderColor: token('color.border.focused', '#4C9AFF'),
104
+ borderColor: token('color.border.focused', '#2684FF'),
105
105
  }),
106
106
  input: css({
107
107
  borderColor: token('color.border.input', '#FAFBFC'),
@@ -510,7 +510,7 @@ export type PaddingInline = keyof typeof paddingInlineMap;
510
510
 
511
511
  /**
512
512
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
513
- * @codegen <<SignedSource::641490362f94761dab3c48a98b999b7a>>
513
+ * @codegen <<SignedSource::026413c83379004fc928a2632ae022c9>>
514
514
  * @codegenId colors
515
515
  * @codegenCommand yarn codegen-styles
516
516
  * @codegenParams ["border", "background", "shadow"]
@@ -524,7 +524,7 @@ const borderColorMap = {
524
524
  borderColor: token('color.border.disabled', '#FAFBFC'),
525
525
  }),
526
526
  focused: css({
527
- borderColor: token('color.border.focused', '#4C9AFF'),
527
+ borderColor: token('color.border.focused', '#2684FF'),
528
528
  }),
529
529
  input: css({
530
530
  borderColor: token('color.border.input', '#FAFBFC'),
@@ -13,7 +13,7 @@ const baseStyles = css({
13
13
  inset: 0,
14
14
  borderRadius: 'inherit',
15
15
  cursor: 'pointer',
16
- // eslint-disable-next-line @repo/internal/styles/no-nested-styles
16
+ // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
17
17
  '~ *': {
18
18
  position: 'relative',
19
19
  pointerEvents: 'none',
@@ -89,9 +89,15 @@ const baseStyles = css({
89
89
  });
90
90
 
91
91
  const truncateStyles = css({
92
- overflow: 'hidden',
93
92
  textOverflow: 'ellipsis',
94
93
  whiteSpace: 'nowrap',
94
+ // Use "clip" overflow to allow ellipses on x-axis without clipping descenders
95
+ '@supports not (overflow-x: clip)': {
96
+ overflow: 'hidden',
97
+ },
98
+ '@supports (overflow-x: clip)': {
99
+ overflowX: 'clip',
100
+ },
95
101
  });
96
102
 
97
103
  /**
@@ -0,0 +1,626 @@
1
+ ## API Report File for "@atlaskit/ds-explorations"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import { ComponentPropsWithoutRef } from 'react';
8
+ import { ComponentPropsWithRef } from 'react';
9
+ import type { CSSProperties } from 'react';
10
+ import { ElementType } from 'react';
11
+ import { FC } from 'react';
12
+ import { ForwardRefExoticComponent } from 'react';
13
+ import { jsx } from '@emotion/react';
14
+ import { MemoExoticComponent } from 'react';
15
+ import { ReactElement } from 'react';
16
+ import { ReactNode } from 'react';
17
+ import { RefAttributes } from 'react';
18
+ import { SerializedStyles } from '@emotion/react';
19
+
20
+ // @public (undocumented)
21
+ const asAllowlist: readonly ["span", "div", "p", "strong"];
22
+
23
+ // @public (undocumented)
24
+ type AsElement = (typeof asAllowlist)[number];
25
+
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
+ // @public (undocumented)
62
+ const backgroundHoverColorMap: {
63
+ input: SerializedStyles;
64
+ 'inverse.subtle': SerializedStyles;
65
+ neutral: SerializedStyles;
66
+ 'neutral.subtle': SerializedStyles;
67
+ 'neutral.bold': SerializedStyles;
68
+ selected: SerializedStyles;
69
+ 'selected.bold': SerializedStyles;
70
+ 'brand.subtlest': SerializedStyles;
71
+ 'brand.bold': SerializedStyles;
72
+ 'brand.boldest': SerializedStyles;
73
+ danger: SerializedStyles;
74
+ 'danger.bold': SerializedStyles;
75
+ warning: SerializedStyles;
76
+ 'warning.bold': SerializedStyles;
77
+ success: SerializedStyles;
78
+ 'success.bold': SerializedStyles;
79
+ discovery: SerializedStyles;
80
+ 'discovery.bold': SerializedStyles;
81
+ information: SerializedStyles;
82
+ 'information.bold': SerializedStyles;
83
+ 'elevation.surface': SerializedStyles;
84
+ 'elevation.surface.overlay': SerializedStyles;
85
+ 'elevation.surface.raised': SerializedStyles;
86
+ };
87
+
88
+ // @public (undocumented)
89
+ interface BasePrimitiveProps {
90
+ testId?: string;
91
+ UNSAFE_style?: CSSProperties;
92
+ }
93
+
94
+ // @public (undocumented)
95
+ type BorderColor = keyof typeof borderColorMap;
96
+
97
+ // @public
98
+ const borderColorMap: {
99
+ readonly 'color.border': SerializedStyles;
100
+ readonly disabled: SerializedStyles;
101
+ readonly focused: SerializedStyles;
102
+ readonly input: SerializedStyles;
103
+ readonly inverse: SerializedStyles;
104
+ readonly selected: SerializedStyles;
105
+ readonly brand: SerializedStyles;
106
+ readonly danger: SerializedStyles;
107
+ readonly warning: SerializedStyles;
108
+ readonly success: SerializedStyles;
109
+ readonly discovery: SerializedStyles;
110
+ readonly information: SerializedStyles;
111
+ readonly bold: SerializedStyles;
112
+ };
113
+
114
+ // @public (undocumented)
115
+ type BorderRadius = keyof typeof borderRadiusMap;
116
+
117
+ // @public (undocumented)
118
+ const borderRadiusMap: {
119
+ normal: SerializedStyles;
120
+ rounded: SerializedStyles;
121
+ badge: SerializedStyles;
122
+ };
123
+
124
+ // @public (undocumented)
125
+ type BorderStyle = keyof typeof borderStyleMap;
126
+
127
+ // @public (undocumented)
128
+ const borderStyleMap: {
129
+ none: SerializedStyles;
130
+ solid: SerializedStyles;
131
+ dashed: SerializedStyles;
132
+ dotted: SerializedStyles;
133
+ };
134
+
135
+ // @public (undocumented)
136
+ type BorderWidth = keyof typeof borderWidthMap;
137
+
138
+ // @public (undocumented)
139
+ const borderWidthMap: {
140
+ '0px': SerializedStyles;
141
+ '1px': SerializedStyles;
142
+ '2px': SerializedStyles;
143
+ '3px': SerializedStyles;
144
+ };
145
+
146
+ // @public (undocumented)
147
+ type BoxComponent<T extends ElementType = 'div'> = (<T extends ElementType = 'div'>(props: UNSAFE_BoxProps<T>) => ReactElement | null) & FC<UNSAFE_BoxProps<T>>;
148
+
149
+ // @public (undocumented)
150
+ type BoxPropsBase<T extends ElementType> = {
151
+ as?: T;
152
+ children?: ReactNode;
153
+ className?: string;
154
+ backgroundColor?: BackgroundColor;
155
+ shadow?: Shadow;
156
+ borderStyle?: BorderStyle;
157
+ borderWidth?: BorderWidth;
158
+ borderColor?: BorderColor;
159
+ borderRadius?: BorderRadius;
160
+ layer?: Layer;
161
+ flexDirection?: FlexDirection;
162
+ alignItems?: FlexAlignItems;
163
+ justifyContent?: FlexJustifyContent;
164
+ overflow?: Overflow;
165
+ padding?: Padding;
166
+ paddingBlock?: PaddingBlock;
167
+ paddingInline?: PaddingInline;
168
+ width?: Width;
169
+ height?: Height;
170
+ display?: Display;
171
+ position?: Position;
172
+ ref?: ComponentPropsWithRef<T>['ref'];
173
+ };
174
+
175
+ // @public (undocumented)
176
+ type ColumnGap = keyof typeof columnGapMap;
177
+
178
+ // @public
179
+ const columnGapMap: {
180
+ 'space.0': SerializedStyles;
181
+ 'space.025': SerializedStyles;
182
+ 'space.050': SerializedStyles;
183
+ 'space.075': SerializedStyles;
184
+ 'space.100': SerializedStyles;
185
+ 'space.1000': SerializedStyles;
186
+ 'space.150': SerializedStyles;
187
+ 'space.200': SerializedStyles;
188
+ 'space.250': SerializedStyles;
189
+ 'space.300': SerializedStyles;
190
+ 'space.400': SerializedStyles;
191
+ 'space.500': SerializedStyles;
192
+ 'space.600': SerializedStyles;
193
+ 'space.800': SerializedStyles;
194
+ };
195
+
196
+ // @public (undocumented)
197
+ type Display = keyof typeof displayMap;
198
+
199
+ // @public (undocumented)
200
+ const displayMap: {
201
+ block: SerializedStyles;
202
+ inline: SerializedStyles;
203
+ flex: SerializedStyles;
204
+ inlineFlex: SerializedStyles;
205
+ inlineBlock: SerializedStyles;
206
+ };
207
+
208
+ // @public
209
+ type FlexAlignItems = keyof typeof flexAlignItemsMap;
210
+
211
+ // @public (undocumented)
212
+ type FlexAlignItems_2 = keyof typeof flexAlignItemsMap_2;
213
+
214
+ // @public (undocumented)
215
+ type FlexAlignItems_3 = keyof typeof flexAlignItemsMap_3;
216
+
217
+ // @public (undocumented)
218
+ const flexAlignItemsMap: {
219
+ center: SerializedStyles;
220
+ baseline: SerializedStyles;
221
+ flexStart: SerializedStyles;
222
+ flexEnd: SerializedStyles;
223
+ start: SerializedStyles;
224
+ end: SerializedStyles;
225
+ };
226
+
227
+ // @public (undocumented)
228
+ const flexAlignItemsMap_2: {
229
+ center: SerializedStyles;
230
+ baseline: SerializedStyles;
231
+ flexStart: SerializedStyles;
232
+ flexEnd: SerializedStyles;
233
+ start: SerializedStyles;
234
+ end: SerializedStyles;
235
+ };
236
+
237
+ // @public (undocumented)
238
+ const flexAlignItemsMap_3: {
239
+ center: SerializedStyles;
240
+ baseline: SerializedStyles;
241
+ flexStart: SerializedStyles;
242
+ flexEnd: SerializedStyles;
243
+ start: SerializedStyles;
244
+ end: SerializedStyles;
245
+ };
246
+
247
+ // @public
248
+ type FlexDirection = keyof typeof flexDirectionMap;
249
+
250
+ // @public (undocumented)
251
+ const flexDirectionMap: {
252
+ column: SerializedStyles;
253
+ row: SerializedStyles;
254
+ };
255
+
256
+ // @public
257
+ type FlexJustifyContent = keyof typeof flexJustifyContentMap;
258
+
259
+ // @public (undocumented)
260
+ type FlexJustifyContent_2 = keyof typeof flexJustifyContentMap_2;
261
+
262
+ // @public (undocumented)
263
+ type FlexJustifyContent_3 = keyof typeof flexJustifyContentMap_3;
264
+
265
+ // @public (undocumented)
266
+ const flexJustifyContentMap: {
267
+ center: SerializedStyles;
268
+ flexStart: SerializedStyles;
269
+ flexEnd: SerializedStyles;
270
+ start: SerializedStyles;
271
+ end: SerializedStyles;
272
+ };
273
+
274
+ // @public (undocumented)
275
+ const flexJustifyContentMap_2: {
276
+ center: SerializedStyles;
277
+ flexStart: SerializedStyles;
278
+ 'space-between': SerializedStyles;
279
+ flexEnd: SerializedStyles;
280
+ start: SerializedStyles;
281
+ end: SerializedStyles;
282
+ spaceBetween: SerializedStyles;
283
+ };
284
+
285
+ // @public (undocumented)
286
+ const flexJustifyContentMap_3: {
287
+ center: SerializedStyles;
288
+ flexStart: SerializedStyles;
289
+ flexEnd: SerializedStyles;
290
+ start: SerializedStyles;
291
+ end: SerializedStyles;
292
+ };
293
+
294
+ // @public (undocumented)
295
+ type FlexWrap = keyof typeof flexWrapMap;
296
+
297
+ // @public (undocumented)
298
+ type FlexWrap_2 = keyof typeof flexWrapMap_2;
299
+
300
+ // @public (undocumented)
301
+ const flexWrapMap: {
302
+ wrap: SerializedStyles;
303
+ };
304
+
305
+ // @public (undocumented)
306
+ const flexWrapMap_2: {
307
+ wrap: SerializedStyles;
308
+ };
309
+
310
+ // @public (undocumented)
311
+ type FontSize = keyof typeof fontSizeMap;
312
+
313
+ // @public
314
+ const fontSizeMap: {
315
+ 'size.050': SerializedStyles;
316
+ 'size.075': SerializedStyles;
317
+ 'size.100': SerializedStyles;
318
+ 'size.200': SerializedStyles;
319
+ 'size.300': SerializedStyles;
320
+ 'size.400': SerializedStyles;
321
+ 'size.500': SerializedStyles;
322
+ 'size.600': SerializedStyles;
323
+ };
324
+
325
+ // @public (undocumented)
326
+ type FontWeight = keyof typeof fontWeightMap;
327
+
328
+ // @public (undocumented)
329
+ const fontWeightMap: {
330
+ bold: SerializedStyles;
331
+ medium: SerializedStyles;
332
+ regular: SerializedStyles;
333
+ semibold: SerializedStyles;
334
+ };
335
+
336
+ // @public (undocumented)
337
+ type Height = keyof typeof heightMap;
338
+
339
+ // @public (undocumented)
340
+ const heightMap: {
341
+ '100%': SerializedStyles;
342
+ 'size.100': SerializedStyles;
343
+ 'size.1000': SerializedStyles;
344
+ 'size.200': SerializedStyles;
345
+ 'size.300': SerializedStyles;
346
+ 'size.400': SerializedStyles;
347
+ 'size.500': SerializedStyles;
348
+ 'size.600': SerializedStyles;
349
+ };
350
+
351
+ // @public (undocumented)
352
+ type InteractionBackgroundColor = keyof typeof backgroundHoverColorMap;
353
+
354
+ // @public (undocumented)
355
+ interface InteractionSurfaceProps extends BasePrimitiveProps {
356
+ // (undocumented)
357
+ appearance?: InteractionBackgroundColor;
358
+ // (undocumented)
359
+ children: ReactNode;
360
+ }
361
+
362
+ // @public (undocumented)
363
+ type Layer = keyof typeof LAYERS;
364
+
365
+ // @public (undocumented)
366
+ const LAYERS: {
367
+ readonly card: 100;
368
+ readonly navigation: 200;
369
+ readonly dialog: 300;
370
+ readonly layer: 400;
371
+ readonly blanket: 500;
372
+ readonly modal: 510;
373
+ readonly flag: 600;
374
+ readonly spotlight: 700;
375
+ readonly tooltip: 800;
376
+ };
377
+
378
+ // @public (undocumented)
379
+ type LineHeight = keyof typeof lineHeightMap;
380
+
381
+ // @public (undocumented)
382
+ const lineHeightMap: {
383
+ 'lineHeight.100': SerializedStyles;
384
+ 'lineHeight.200': SerializedStyles;
385
+ 'lineHeight.300': SerializedStyles;
386
+ 'lineHeight.400': SerializedStyles;
387
+ 'lineHeight.500': SerializedStyles;
388
+ 'lineHeight.600': SerializedStyles;
389
+ };
390
+
391
+ // @public (undocumented)
392
+ type Overflow = keyof typeof overflowMap;
393
+
394
+ // @public (undocumented)
395
+ const overflowMap: {
396
+ auto: SerializedStyles;
397
+ hidden: SerializedStyles;
398
+ };
399
+
400
+ // @public (undocumented)
401
+ type Padding = keyof typeof paddingMap;
402
+
403
+ // @public (undocumented)
404
+ type PaddingBlock = keyof typeof paddingBlockMap;
405
+
406
+ // @public (undocumented)
407
+ const paddingBlockMap: {
408
+ 'space.0': SerializedStyles;
409
+ 'space.025': SerializedStyles;
410
+ 'space.050': SerializedStyles;
411
+ 'space.075': SerializedStyles;
412
+ 'space.100': SerializedStyles;
413
+ 'space.1000': SerializedStyles;
414
+ 'space.150': SerializedStyles;
415
+ 'space.200': SerializedStyles;
416
+ 'space.250': SerializedStyles;
417
+ 'space.300': SerializedStyles;
418
+ 'space.400': SerializedStyles;
419
+ 'space.500': SerializedStyles;
420
+ 'space.600': SerializedStyles;
421
+ 'space.800': SerializedStyles;
422
+ };
423
+
424
+ // @public (undocumented)
425
+ type PaddingInline = keyof typeof paddingInlineMap;
426
+
427
+ // @public (undocumented)
428
+ const paddingInlineMap: {
429
+ 'space.0': SerializedStyles;
430
+ 'space.025': SerializedStyles;
431
+ 'space.050': SerializedStyles;
432
+ 'space.075': SerializedStyles;
433
+ 'space.100': SerializedStyles;
434
+ 'space.1000': SerializedStyles;
435
+ 'space.150': SerializedStyles;
436
+ 'space.200': SerializedStyles;
437
+ 'space.250': SerializedStyles;
438
+ 'space.300': SerializedStyles;
439
+ 'space.400': SerializedStyles;
440
+ 'space.500': SerializedStyles;
441
+ 'space.600': SerializedStyles;
442
+ 'space.800': SerializedStyles;
443
+ };
444
+
445
+ // @public
446
+ const paddingMap: {
447
+ 'space.0': SerializedStyles;
448
+ 'space.025': SerializedStyles;
449
+ 'space.050': SerializedStyles;
450
+ 'space.075': SerializedStyles;
451
+ 'space.100': SerializedStyles;
452
+ 'space.1000': SerializedStyles;
453
+ 'space.150': SerializedStyles;
454
+ 'space.200': SerializedStyles;
455
+ 'space.250': SerializedStyles;
456
+ 'space.300': SerializedStyles;
457
+ 'space.400': SerializedStyles;
458
+ 'space.500': SerializedStyles;
459
+ 'space.600': SerializedStyles;
460
+ 'space.800': SerializedStyles;
461
+ };
462
+
463
+ // @public (undocumented)
464
+ type Position = keyof typeof positionMap;
465
+
466
+ // @public (undocumented)
467
+ const positionMap: {
468
+ absolute: SerializedStyles;
469
+ fixed: SerializedStyles;
470
+ relative: SerializedStyles;
471
+ static: SerializedStyles;
472
+ };
473
+
474
+ // @public (undocumented)
475
+ type RowGap = keyof typeof rowGapMap;
476
+
477
+ // @public
478
+ const rowGapMap: {
479
+ 'space.0': SerializedStyles;
480
+ 'space.025': SerializedStyles;
481
+ 'space.050': SerializedStyles;
482
+ 'space.075': SerializedStyles;
483
+ 'space.100': SerializedStyles;
484
+ 'space.1000': SerializedStyles;
485
+ 'space.150': SerializedStyles;
486
+ 'space.200': SerializedStyles;
487
+ 'space.250': SerializedStyles;
488
+ 'space.300': SerializedStyles;
489
+ 'space.400': SerializedStyles;
490
+ 'space.500': SerializedStyles;
491
+ 'space.600': SerializedStyles;
492
+ 'space.800': SerializedStyles;
493
+ };
494
+
495
+ // @public (undocumented)
496
+ type Shadow = keyof typeof shadowMap;
497
+
498
+ // @public (undocumented)
499
+ const shadowMap: {
500
+ readonly overflow: SerializedStyles;
501
+ readonly 'overflow.perimeter': SerializedStyles;
502
+ readonly 'overflow.spread': SerializedStyles;
503
+ readonly overlay: SerializedStyles;
504
+ readonly raised: SerializedStyles;
505
+ };
506
+
507
+ // @public (undocumented)
508
+ type TextAlign = keyof typeof textAlignMap;
509
+
510
+ // @public (undocumented)
511
+ const textAlignMap: {
512
+ center: SerializedStyles;
513
+ end: SerializedStyles;
514
+ start: SerializedStyles;
515
+ };
516
+
517
+ // @public (undocumented)
518
+ type TextColor = keyof typeof textColorMap;
519
+
520
+ // @public
521
+ const textColorMap: {
522
+ readonly 'color.text': SerializedStyles;
523
+ readonly disabled: SerializedStyles;
524
+ readonly inverse: SerializedStyles;
525
+ readonly selected: SerializedStyles;
526
+ readonly brand: SerializedStyles;
527
+ readonly danger: SerializedStyles;
528
+ readonly warning: SerializedStyles;
529
+ readonly 'warning.inverse': SerializedStyles;
530
+ readonly success: SerializedStyles;
531
+ readonly discovery: SerializedStyles;
532
+ readonly information: SerializedStyles;
533
+ readonly subtlest: SerializedStyles;
534
+ readonly subtle: SerializedStyles;
535
+ };
536
+
537
+ // @public (undocumented)
538
+ type TextTransform = keyof typeof textTransformMap;
539
+
540
+ // @public (undocumented)
541
+ const textTransformMap: {
542
+ none: SerializedStyles;
543
+ lowercase: SerializedStyles;
544
+ uppercase: SerializedStyles;
545
+ };
546
+
547
+ // @public @deprecated
548
+ export const UNSAFE_Box: BoxComponent;
549
+
550
+ // @public @deprecated (undocumented)
551
+ export type UNSAFE_BoxProps<T extends ElementType = 'div'> = Omit<ComponentPropsWithoutRef<T>, 'as' | 'className' | 'style'> & BasePrimitiveProps & BoxPropsBase<T>;
552
+
553
+ // @public @deprecated
554
+ export const UNSAFE_Inline: MemoExoticComponent<ForwardRefExoticComponent<UNSAFE_InlineProps & RefAttributes<HTMLDivElement>>>;
555
+
556
+ // @public @deprecated (undocumented)
557
+ export interface UNSAFE_InlineProps extends BasePrimitiveProps {
558
+ alignItems?: FlexAlignItems_2;
559
+ children: ReactNode;
560
+ divider?: ReactNode;
561
+ flexWrap?: FlexWrap;
562
+ gap: ColumnGap;
563
+ justifyContent?: FlexJustifyContent_2;
564
+ }
565
+
566
+ // @public (undocumented)
567
+ export const UNSAFE_InteractionSurface: ({ appearance, children, testId, }: InteractionSurfaceProps) => jsx.JSX.Element;
568
+
569
+ // @public @deprecated
570
+ export const UNSAFE_Stack: MemoExoticComponent<ForwardRefExoticComponent<UNSAFE_StackProps & RefAttributes<HTMLDivElement>>>;
571
+
572
+ // @public @deprecated (undocumented)
573
+ export interface UNSAFE_StackProps extends BasePrimitiveProps {
574
+ alignItems?: FlexAlignItems_3;
575
+ children: ReactNode;
576
+ flexWrap?: FlexWrap_2;
577
+ gap: RowGap;
578
+ justifyContent?: FlexJustifyContent_3;
579
+ }
580
+
581
+ // @internal
582
+ export const UNSAFE_Text: FC<UNSAFE_TextProps>;
583
+
584
+ // @public (undocumented)
585
+ export interface UNSAFE_TextProps extends BasePrimitiveProps {
586
+ as?: AsElement;
587
+ children: ReactNode;
588
+ color?: TextColor;
589
+ fontSize?: FontSize;
590
+ fontWeight?: FontWeight;
591
+ id?: string;
592
+ lineHeight?: LineHeight;
593
+ shouldTruncate?: boolean;
594
+ textAlign?: TextAlign;
595
+ textTransform?: TextTransform;
596
+ verticalAlign?: VerticalAlign;
597
+ }
598
+
599
+ // @public (undocumented)
600
+ type VerticalAlign = keyof typeof verticalAlignMap;
601
+
602
+ // @public (undocumented)
603
+ const verticalAlignMap: {
604
+ top: SerializedStyles;
605
+ middle: SerializedStyles;
606
+ bottom: SerializedStyles;
607
+ };
608
+
609
+ // @public (undocumented)
610
+ type Width = keyof typeof widthMap;
611
+
612
+ // @public
613
+ const widthMap: {
614
+ '100%': SerializedStyles;
615
+ 'size.100': SerializedStyles;
616
+ 'size.1000': SerializedStyles;
617
+ 'size.200': SerializedStyles;
618
+ 'size.300': SerializedStyles;
619
+ 'size.400': SerializedStyles;
620
+ 'size.500': SerializedStyles;
621
+ 'size.600': SerializedStyles;
622
+ };
623
+
624
+ // (No @packageDocumentation comment for this package)
625
+
626
+ ```
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/ds-explorations",
3
- "version": "2.2.7",
4
- "sideEffects": false
5
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/ds-explorations",
3
- "version": "2.2.7",
4
- "sideEffects": false
5
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/ds-explorations",
3
- "version": "2.2.7",
4
- "sideEffects": false
5
- }