@atlaskit/ds-explorations 0.1.5 → 1.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.
- package/CHANGELOG.md +22 -0
- package/box/package.json +15 -0
- package/dist/cjs/components/box.partial.js +182 -205
- package/dist/cjs/components/inline.partial.js +28 -34
- package/dist/cjs/components/interaction-surface.partial.js +32 -1
- package/dist/cjs/components/stack.partial.js +28 -36
- package/dist/cjs/components/text.partial.js +114 -85
- package/dist/cjs/index.js +1 -9
- package/dist/cjs/internal/color-map.js +6 -5
- package/dist/cjs/internal/spacing-scale.js +17 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/box.partial.js +181 -189
- package/dist/es2019/components/inline.partial.js +27 -28
- package/dist/es2019/components/interaction-surface.partial.js +32 -1
- package/dist/es2019/components/stack.partial.js +27 -28
- package/dist/es2019/components/text.partial.js +71 -35
- package/dist/es2019/index.js +1 -2
- package/dist/es2019/internal/color-map.js +4 -3
- package/dist/es2019/internal/spacing-scale.js +9 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/box.partial.js +181 -201
- package/dist/esm/components/inline.partial.js +27 -33
- package/dist/esm/components/interaction-surface.partial.js +32 -1
- package/dist/esm/components/stack.partial.js +27 -33
- package/dist/esm/components/text.partial.js +76 -46
- package/dist/esm/index.js +1 -2
- package/dist/esm/internal/color-map.js +4 -3
- package/dist/esm/internal/spacing-scale.js +9 -0
- package/dist/esm/version.json +1 -1
- package/dist/types/components/box.partial.d.ts +109 -21
- package/dist/types/components/inline.partial.d.ts +25 -3
- package/dist/types/components/interaction-surface.partial.d.ts +3 -0
- package/dist/types/components/stack.partial.d.ts +24 -2
- package/dist/types/components/text.partial.d.ts +5 -3
- package/dist/types/index.d.ts +0 -1
- package/dist/types/internal/color-map.d.ts +11 -9
- package/dist/types/internal/spacing-scale.d.ts +9 -0
- package/dist/types-ts4.0/components/box.partial.d.ts +109 -27
- package/dist/types-ts4.0/components/inline.partial.d.ts +25 -3
- package/dist/types-ts4.0/components/interaction-surface.partial.d.ts +3 -0
- package/dist/types-ts4.0/components/stack.partial.d.ts +24 -2
- package/dist/types-ts4.0/components/text.partial.d.ts +5 -6
- package/dist/types-ts4.0/index.d.ts +0 -1
- package/dist/types-ts4.0/internal/color-map.d.ts +11 -9
- package/dist/types-ts4.0/internal/spacing-scale.d.ts +22 -0
- package/examples/00-basic.tsx +4 -4
- package/examples/01-box.tsx +29 -46
- package/examples/02-text-advanced.tsx +38 -0
- package/examples/02-text.tsx +72 -62
- package/examples/03-stack.tsx +36 -75
- package/examples/04-inline.tsx +34 -76
- package/examples/05-badge.tsx +2 -2
- package/examples/06-section-message.tsx +7 -7
- package/examples/07-comment.tsx +4 -6
- package/examples/08-lozenge.tsx +9 -5
- package/examples/99-interactions.tsx +20 -20
- package/examples/config.jsonc +11 -0
- package/package.json +5 -2
- package/report.api.md +187 -48
- package/scripts/__tests__/__snapshots__/codegen.test.tsx.snap +52 -64
- package/scripts/codegen-styles.tsx +34 -6
- package/scripts/color-codegen-template.tsx +10 -15
- package/scripts/color-map-template.tsx +1 -1
- package/scripts/spacing-codegen-template.tsx +42 -12
- package/scripts/spacing-scale-template.tsx +40 -0
- package/scripts/utils.tsx +1 -3
- package/src/components/__tests__/unit/box.test.tsx +8 -11
- package/src/components/__tests__/unit/inline.test.tsx +3 -3
- package/src/components/__tests__/unit/interaction-suface.test.tsx +1 -1
- package/src/components/__tests__/unit/stack.test.tsx +2 -2
- package/src/components/__tests__/unit/text.test.tsx +23 -0
- package/src/components/__tests__/visual-regression/__image_snapshots__/box-snapshot-test-tsx-box-example-with-background-and-padding-block-should-match-snapshot-1-snap.png +2 -2
- package/src/components/__tests__/visual-regression/__image_snapshots__/box-snapshot-test-tsx-box-example-with-background-and-padding-inline-should-match-snapshot-1-snap.png +2 -2
- package/src/components/__tests__/visual-regression/__image_snapshots__/box-snapshot-test-tsx-box-example-with-background-and-padding-should-match-snapshot-1-snap.png +2 -2
- package/src/components/__tests__/visual-regression/__image_snapshots__/box-snapshot-test-tsx-box-example-with-background-color-should-match-snapshot-1-snap.png +2 -2
- package/src/components/__tests__/visual-regression/__image_snapshots__/box-snapshot-test-tsx-box-example-with-border-color-should-match-snapshot-1-snap.png +2 -2
- package/src/components/__tests__/visual-regression/__image_snapshots__/inline-snapshot-test-tsx-inline-alignment-example-should-match-snapshot-1-snap.png +2 -2
- package/src/components/__tests__/visual-regression/__image_snapshots__/inline-snapshot-test-tsx-inline-spacing-example-should-match-snapshot-1-snap.png +2 -2
- package/src/components/__tests__/visual-regression/__image_snapshots__/stack-snapshot-test-tsx-stack-alignment-example-should-match-snapshot-1-snap.png +2 -2
- package/src/components/__tests__/visual-regression/__image_snapshots__/stack-snapshot-test-tsx-stack-spacing-example-should-match-snapshot-1-snap.png +2 -2
- package/src/components/__tests__/visual-regression/__image_snapshots__/text-snapshot-test-tsx-text-example-with-line-heights-should-match-snapshot-1-snap.png +2 -2
- package/src/components/__tests__/visual-regression/__image_snapshots__/text-snapshot-test-tsx-text-example-with-testing-should-match-snapshot-1-snap.png +2 -2
- package/src/components/box.partial.tsx +293 -160
- package/src/components/inline.partial.tsx +44 -17
- package/src/components/interaction-surface.partial.tsx +2 -1
- package/src/components/stack.partial.tsx +43 -16
- package/src/components/text.partial.tsx +76 -41
- package/src/index.tsx +0 -1
- package/src/internal/color-map.tsx +4 -3
- package/src/internal/spacing-scale.tsx +22 -0
- package/text/package.json +15 -0
- package/tmp/api-report-tmp.d.ts +176 -43
- package/dist/cjs/constants.js +0 -21
- package/dist/es2019/constants.js +0 -14
- package/dist/esm/constants.js +0 -14
- package/dist/types/constants.d.ts +0 -15
- package/dist/types-ts4.0/constants.d.ts +0 -15
- package/src/constants.tsx +0 -16
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
-
import { ElementType,
|
|
3
|
-
import { GlobalSpacingToken } from '../constants';
|
|
2
|
+
import { ComponentPropsWithoutRef, ComponentPropsWithRef, ElementType, FC, ReactElement } from 'react';
|
|
4
3
|
import type { BasePrimitiveProps, NonTextChildren } from './types';
|
|
5
|
-
|
|
4
|
+
declare type PropsToOmit = 'as' | 'className' | 'style';
|
|
5
|
+
export declare type BoxProps<T extends ElementType = 'div'> = Omit<ComponentPropsWithoutRef<T>, PropsToOmit> & BasePrimitiveProps & BoxPropsBase<T>;
|
|
6
|
+
declare type BoxPropsBase<T extends ElementType> = {
|
|
6
7
|
/**
|
|
7
8
|
* The DOM element to render as the Box. Defaults to `div`.
|
|
8
9
|
*/
|
|
9
|
-
as?:
|
|
10
|
+
as?: T;
|
|
10
11
|
/**
|
|
11
12
|
* Elements to be rendered inside the Box.
|
|
12
13
|
*/
|
|
13
|
-
children?: NonTextChildren | boolean | null
|
|
14
|
+
children?: NonTextChildren | boolean | null;
|
|
14
15
|
/**
|
|
15
|
-
* The
|
|
16
|
+
* The HTML className attribute.
|
|
16
17
|
*
|
|
17
18
|
* Before using this prop please ensure:
|
|
18
19
|
* - The styles cannot otherwise be achieved through `Box` directly.
|
|
@@ -26,7 +27,7 @@ export interface BoxProps<T extends HTMLElement = HTMLElement> extends Omit<HTML
|
|
|
26
27
|
/**
|
|
27
28
|
* Token representing background color with a fallback.
|
|
28
29
|
*/
|
|
29
|
-
backgroundColor?:
|
|
30
|
+
backgroundColor?: BackgroundColor;
|
|
30
31
|
/**
|
|
31
32
|
* Defines border style.
|
|
32
33
|
*/
|
|
@@ -38,7 +39,7 @@ export interface BoxProps<T extends HTMLElement = HTMLElement> extends Omit<HTML
|
|
|
38
39
|
/**
|
|
39
40
|
* Token representing border color with a fallback.
|
|
40
41
|
*/
|
|
41
|
-
borderColor?:
|
|
42
|
+
borderColor?: BorderColor;
|
|
42
43
|
/**
|
|
43
44
|
* Defines border radius.
|
|
44
45
|
*/
|
|
@@ -65,23 +66,23 @@ export interface BoxProps<T extends HTMLElement = HTMLElement> extends Omit<HTML
|
|
|
65
66
|
* @see paddingBlock
|
|
66
67
|
* @see paddingInline
|
|
67
68
|
*/
|
|
68
|
-
padding?:
|
|
69
|
+
padding?: Padding;
|
|
69
70
|
/**
|
|
70
71
|
* Token representing CSS `padding-block`.
|
|
71
72
|
*/
|
|
72
|
-
paddingBlock?:
|
|
73
|
+
paddingBlock?: PaddingBlock;
|
|
73
74
|
/**
|
|
74
75
|
* Token representing CSS `padding-inline`.
|
|
75
76
|
*/
|
|
76
|
-
paddingInline?:
|
|
77
|
+
paddingInline?: PaddingInline;
|
|
77
78
|
/**
|
|
78
79
|
* Token representing width.
|
|
79
80
|
*/
|
|
80
|
-
width?:
|
|
81
|
+
width?: Width;
|
|
81
82
|
/**
|
|
82
83
|
* Token representing height.
|
|
83
84
|
*/
|
|
84
|
-
height?:
|
|
85
|
+
height?: Height;
|
|
85
86
|
/**
|
|
86
87
|
* Defines display type and layout. Defaults to `flex`.
|
|
87
88
|
*/
|
|
@@ -89,8 +90,10 @@ export interface BoxProps<T extends HTMLElement = HTMLElement> extends Omit<HTML
|
|
|
89
90
|
/**
|
|
90
91
|
* CSS position property.
|
|
91
92
|
*/
|
|
92
|
-
position?:
|
|
93
|
-
|
|
93
|
+
position?: Position;
|
|
94
|
+
ref?: ComponentPropsWithRef<T>['ref'];
|
|
95
|
+
};
|
|
96
|
+
declare type BoxComponent<T extends ElementType = 'div'> = (<T extends ElementType = 'div'>(props: BoxProps<T>) => ReactElement | null) & FC<BoxProps<T>>;
|
|
94
97
|
/**
|
|
95
98
|
* __Box__
|
|
96
99
|
*
|
|
@@ -99,7 +102,7 @@ export interface BoxProps<T extends HTMLElement = HTMLElement> extends Omit<HTML
|
|
|
99
102
|
*
|
|
100
103
|
* @internal
|
|
101
104
|
*/
|
|
102
|
-
declare const Box:
|
|
105
|
+
export declare const Box: BoxComponent;
|
|
103
106
|
export default Box;
|
|
104
107
|
declare type BorderStyle = keyof typeof borderStyleMap;
|
|
105
108
|
declare const borderStyleMap: {
|
|
@@ -146,24 +149,109 @@ declare const displayMap: {
|
|
|
146
149
|
flex: import("@emotion/react").SerializedStyles;
|
|
147
150
|
inlineFlex: import("@emotion/react").SerializedStyles;
|
|
148
151
|
};
|
|
149
|
-
declare type
|
|
150
|
-
declare const overflowMap: {
|
|
151
|
-
auto: import("@emotion/react").SerializedStyles;
|
|
152
|
-
};
|
|
152
|
+
declare type Position = keyof typeof positionMap;
|
|
153
153
|
declare const positionMap: {
|
|
154
154
|
absolute: import("@emotion/react").SerializedStyles;
|
|
155
155
|
relative: import("@emotion/react").SerializedStyles;
|
|
156
156
|
static: import("@emotion/react").SerializedStyles;
|
|
157
157
|
};
|
|
158
|
+
declare type Overflow = keyof typeof overflowMap;
|
|
159
|
+
declare const overflowMap: {
|
|
160
|
+
auto: import("@emotion/react").SerializedStyles;
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
164
|
+
* @codegen <<SignedSource::620ef1f3b2d7a6f92e5052efb270b5eb>>
|
|
165
|
+
* @codegenId spacing
|
|
166
|
+
* @codegenCommand yarn codegen-styles
|
|
167
|
+
* @codegenParams ["padding", "paddingBlock", "paddingInline", "width", "height"]
|
|
168
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::0c1fe9904b2ff2465a532b97ab76491e>>
|
|
169
|
+
*/
|
|
170
|
+
declare const paddingMap: {
|
|
171
|
+
'scale.0': import("@emotion/react").SerializedStyles;
|
|
172
|
+
'scale.025': import("@emotion/react").SerializedStyles;
|
|
173
|
+
'scale.050': import("@emotion/react").SerializedStyles;
|
|
174
|
+
'scale.075': import("@emotion/react").SerializedStyles;
|
|
175
|
+
'scale.100': import("@emotion/react").SerializedStyles;
|
|
176
|
+
'scale.150': import("@emotion/react").SerializedStyles;
|
|
177
|
+
'scale.200': import("@emotion/react").SerializedStyles;
|
|
178
|
+
'scale.250': import("@emotion/react").SerializedStyles;
|
|
179
|
+
'scale.300': import("@emotion/react").SerializedStyles;
|
|
180
|
+
'scale.400': import("@emotion/react").SerializedStyles;
|
|
181
|
+
'scale.500': import("@emotion/react").SerializedStyles;
|
|
182
|
+
'scale.600': import("@emotion/react").SerializedStyles;
|
|
183
|
+
};
|
|
184
|
+
export declare type Padding = keyof typeof paddingMap;
|
|
185
|
+
declare const paddingBlockMap: {
|
|
186
|
+
'scale.0': import("@emotion/react").SerializedStyles;
|
|
187
|
+
'scale.025': import("@emotion/react").SerializedStyles;
|
|
188
|
+
'scale.050': import("@emotion/react").SerializedStyles;
|
|
189
|
+
'scale.075': import("@emotion/react").SerializedStyles;
|
|
190
|
+
'scale.100': import("@emotion/react").SerializedStyles;
|
|
191
|
+
'scale.150': import("@emotion/react").SerializedStyles;
|
|
192
|
+
'scale.200': import("@emotion/react").SerializedStyles;
|
|
193
|
+
'scale.250': import("@emotion/react").SerializedStyles;
|
|
194
|
+
'scale.300': import("@emotion/react").SerializedStyles;
|
|
195
|
+
'scale.400': import("@emotion/react").SerializedStyles;
|
|
196
|
+
'scale.500': import("@emotion/react").SerializedStyles;
|
|
197
|
+
'scale.600': import("@emotion/react").SerializedStyles;
|
|
198
|
+
};
|
|
199
|
+
export declare type PaddingBlock = keyof typeof paddingBlockMap;
|
|
200
|
+
declare const paddingInlineMap: {
|
|
201
|
+
'scale.0': import("@emotion/react").SerializedStyles;
|
|
202
|
+
'scale.025': import("@emotion/react").SerializedStyles;
|
|
203
|
+
'scale.050': import("@emotion/react").SerializedStyles;
|
|
204
|
+
'scale.075': import("@emotion/react").SerializedStyles;
|
|
205
|
+
'scale.100': import("@emotion/react").SerializedStyles;
|
|
206
|
+
'scale.150': import("@emotion/react").SerializedStyles;
|
|
207
|
+
'scale.200': import("@emotion/react").SerializedStyles;
|
|
208
|
+
'scale.250': import("@emotion/react").SerializedStyles;
|
|
209
|
+
'scale.300': import("@emotion/react").SerializedStyles;
|
|
210
|
+
'scale.400': import("@emotion/react").SerializedStyles;
|
|
211
|
+
'scale.500': import("@emotion/react").SerializedStyles;
|
|
212
|
+
'scale.600': import("@emotion/react").SerializedStyles;
|
|
213
|
+
};
|
|
214
|
+
export declare type PaddingInline = keyof typeof paddingInlineMap;
|
|
215
|
+
declare const widthMap: {
|
|
216
|
+
'scale.0': import("@emotion/react").SerializedStyles;
|
|
217
|
+
'scale.025': import("@emotion/react").SerializedStyles;
|
|
218
|
+
'scale.050': import("@emotion/react").SerializedStyles;
|
|
219
|
+
'scale.075': import("@emotion/react").SerializedStyles;
|
|
220
|
+
'scale.100': import("@emotion/react").SerializedStyles;
|
|
221
|
+
'scale.150': import("@emotion/react").SerializedStyles;
|
|
222
|
+
'scale.200': import("@emotion/react").SerializedStyles;
|
|
223
|
+
'scale.250': import("@emotion/react").SerializedStyles;
|
|
224
|
+
'scale.300': import("@emotion/react").SerializedStyles;
|
|
225
|
+
'scale.400': import("@emotion/react").SerializedStyles;
|
|
226
|
+
'scale.500': import("@emotion/react").SerializedStyles;
|
|
227
|
+
'scale.600': import("@emotion/react").SerializedStyles;
|
|
228
|
+
};
|
|
229
|
+
export declare type Width = keyof typeof widthMap;
|
|
230
|
+
declare const heightMap: {
|
|
231
|
+
'scale.0': import("@emotion/react").SerializedStyles;
|
|
232
|
+
'scale.025': import("@emotion/react").SerializedStyles;
|
|
233
|
+
'scale.050': import("@emotion/react").SerializedStyles;
|
|
234
|
+
'scale.075': import("@emotion/react").SerializedStyles;
|
|
235
|
+
'scale.100': import("@emotion/react").SerializedStyles;
|
|
236
|
+
'scale.150': import("@emotion/react").SerializedStyles;
|
|
237
|
+
'scale.200': import("@emotion/react").SerializedStyles;
|
|
238
|
+
'scale.250': import("@emotion/react").SerializedStyles;
|
|
239
|
+
'scale.300': import("@emotion/react").SerializedStyles;
|
|
240
|
+
'scale.400': import("@emotion/react").SerializedStyles;
|
|
241
|
+
'scale.500': import("@emotion/react").SerializedStyles;
|
|
242
|
+
'scale.600': import("@emotion/react").SerializedStyles;
|
|
243
|
+
};
|
|
244
|
+
export declare type Height = keyof typeof heightMap;
|
|
158
245
|
/**
|
|
159
246
|
* @codegenEnd
|
|
160
247
|
*/
|
|
161
248
|
/**
|
|
162
249
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
163
|
-
* @codegen <<SignedSource::
|
|
250
|
+
* @codegen <<SignedSource::832d4f0a888302a4fd097946cd7c582c>>
|
|
164
251
|
* @codegenId colors
|
|
165
252
|
* @codegenCommand yarn codegen-styles
|
|
166
253
|
* @codegenParams ["border", "background"]
|
|
254
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::0c1fe9904b2ff2465a532b97ab76491e>>
|
|
167
255
|
*/
|
|
168
256
|
declare const borderColorMap: {
|
|
169
257
|
'color.border': import("@emotion/react").SerializedStyles;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import {
|
|
4
|
-
import { BasePrimitiveProps, NonTextChildren } from './types';
|
|
3
|
+
import type { BasePrimitiveProps, NonTextChildren } from './types';
|
|
5
4
|
interface InlineProps extends BasePrimitiveProps {
|
|
6
5
|
/**
|
|
7
6
|
* Used to align children along the cross axis.
|
|
@@ -18,7 +17,7 @@ interface InlineProps extends BasePrimitiveProps {
|
|
|
18
17
|
/**
|
|
19
18
|
* Token representing gap between children.
|
|
20
19
|
*/
|
|
21
|
-
gap:
|
|
20
|
+
gap: ColumnGap;
|
|
22
21
|
/**
|
|
23
22
|
* Renders a divider between children.
|
|
24
23
|
* If a string is provided it will automatically be wrapped in a `<Text>` component.
|
|
@@ -59,6 +58,29 @@ declare const flexWrapMap: {
|
|
|
59
58
|
*/
|
|
60
59
|
declare const Inline: import("react").ForwardRefExoticComponent<InlineProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
61
60
|
export default Inline;
|
|
61
|
+
/**
|
|
62
|
+
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
63
|
+
* @codegen <<SignedSource::cff5655983f2243060cade5b107d7762>>
|
|
64
|
+
* @codegenId spacing
|
|
65
|
+
* @codegenCommand yarn codegen-styles
|
|
66
|
+
* @codegenParams ["columnGap"]
|
|
67
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::0c1fe9904b2ff2465a532b97ab76491e>>
|
|
68
|
+
*/
|
|
69
|
+
declare const columnGapMap: {
|
|
70
|
+
'scale.0': import("@emotion/react").SerializedStyles;
|
|
71
|
+
'scale.025': import("@emotion/react").SerializedStyles;
|
|
72
|
+
'scale.050': import("@emotion/react").SerializedStyles;
|
|
73
|
+
'scale.075': import("@emotion/react").SerializedStyles;
|
|
74
|
+
'scale.100': import("@emotion/react").SerializedStyles;
|
|
75
|
+
'scale.150': import("@emotion/react").SerializedStyles;
|
|
76
|
+
'scale.200': import("@emotion/react").SerializedStyles;
|
|
77
|
+
'scale.250': import("@emotion/react").SerializedStyles;
|
|
78
|
+
'scale.300': import("@emotion/react").SerializedStyles;
|
|
79
|
+
'scale.400': import("@emotion/react").SerializedStyles;
|
|
80
|
+
'scale.500': import("@emotion/react").SerializedStyles;
|
|
81
|
+
'scale.600': import("@emotion/react").SerializedStyles;
|
|
82
|
+
};
|
|
83
|
+
export declare type ColumnGap = keyof typeof columnGapMap;
|
|
62
84
|
/**
|
|
63
85
|
* @codegenEnd
|
|
64
86
|
*/
|
|
@@ -39,6 +39,9 @@ declare const backgroundHoverColorMap: {
|
|
|
39
39
|
'discovery.bold': import("@emotion/react").SerializedStyles;
|
|
40
40
|
information: import("@emotion/react").SerializedStyles;
|
|
41
41
|
'information.bold': import("@emotion/react").SerializedStyles;
|
|
42
|
+
'elevation.surface': import("@emotion/react").SerializedStyles;
|
|
43
|
+
'elevation.surface.raised': import("@emotion/react").SerializedStyles;
|
|
44
|
+
'elevation.surface.overlay': import("@emotion/react").SerializedStyles;
|
|
42
45
|
};
|
|
43
46
|
declare type InteractionBackgroundColor = keyof typeof backgroundHoverColorMap;
|
|
44
47
|
/**
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { GlobalSpacingToken } from '../constants';
|
|
3
2
|
import { BasePrimitiveProps, NonTextChildren } from './types';
|
|
4
3
|
interface StackProps extends BasePrimitiveProps {
|
|
5
4
|
/**
|
|
@@ -17,7 +16,7 @@ interface StackProps extends BasePrimitiveProps {
|
|
|
17
16
|
/**
|
|
18
17
|
* Token representing gap between children.
|
|
19
18
|
*/
|
|
20
|
-
gap:
|
|
19
|
+
gap: RowGap;
|
|
21
20
|
/**
|
|
22
21
|
* Elements to be rendered inside the Stack.
|
|
23
22
|
*/
|
|
@@ -53,6 +52,29 @@ declare const flexWrapMap: {
|
|
|
53
52
|
*/
|
|
54
53
|
declare const Stack: import("react").ForwardRefExoticComponent<StackProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
55
54
|
export default Stack;
|
|
55
|
+
/**
|
|
56
|
+
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
57
|
+
* @codegen <<SignedSource::c486b14097494305925c3c989823d602>>
|
|
58
|
+
* @codegenId spacing
|
|
59
|
+
* @codegenCommand yarn codegen-styles
|
|
60
|
+
* @codegenParams ["rowGap"]
|
|
61
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::0c1fe9904b2ff2465a532b97ab76491e>>
|
|
62
|
+
*/
|
|
63
|
+
declare const rowGapMap: {
|
|
64
|
+
'scale.0': import("@emotion/react").SerializedStyles;
|
|
65
|
+
'scale.025': import("@emotion/react").SerializedStyles;
|
|
66
|
+
'scale.050': import("@emotion/react").SerializedStyles;
|
|
67
|
+
'scale.075': import("@emotion/react").SerializedStyles;
|
|
68
|
+
'scale.100': import("@emotion/react").SerializedStyles;
|
|
69
|
+
'scale.150': import("@emotion/react").SerializedStyles;
|
|
70
|
+
'scale.200': import("@emotion/react").SerializedStyles;
|
|
71
|
+
'scale.250': import("@emotion/react").SerializedStyles;
|
|
72
|
+
'scale.300': import("@emotion/react").SerializedStyles;
|
|
73
|
+
'scale.400': import("@emotion/react").SerializedStyles;
|
|
74
|
+
'scale.500': import("@emotion/react").SerializedStyles;
|
|
75
|
+
'scale.600': import("@emotion/react").SerializedStyles;
|
|
76
|
+
};
|
|
77
|
+
export declare type RowGap = keyof typeof rowGapMap;
|
|
56
78
|
/**
|
|
57
79
|
* @codegenEnd
|
|
58
80
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { FC, ReactNode } from 'react';
|
|
3
|
-
import { BasePrimitiveProps } from './types';
|
|
3
|
+
import type { BasePrimitiveProps } from './types';
|
|
4
4
|
declare const asAllowlist: readonly ["span", "div", "p"];
|
|
5
5
|
declare type AsElement = typeof asAllowlist[number];
|
|
6
6
|
export interface TextProps extends BasePrimitiveProps {
|
|
@@ -15,7 +15,7 @@ export interface TextProps extends BasePrimitiveProps {
|
|
|
15
15
|
/**
|
|
16
16
|
* Text color
|
|
17
17
|
*/
|
|
18
|
-
color?:
|
|
18
|
+
color?: TextColor;
|
|
19
19
|
/**
|
|
20
20
|
* Font size https://developer.mozilla.org/en-US/docs/Web/CSS/font-size
|
|
21
21
|
*/
|
|
@@ -56,6 +56,7 @@ declare type FontWeight = keyof typeof fontWeightMap;
|
|
|
56
56
|
declare const fontWeightMap: {
|
|
57
57
|
'400': import("@emotion/react").SerializedStyles;
|
|
58
58
|
'500': import("@emotion/react").SerializedStyles;
|
|
59
|
+
'600': import("@emotion/react").SerializedStyles;
|
|
59
60
|
'700': import("@emotion/react").SerializedStyles;
|
|
60
61
|
};
|
|
61
62
|
declare type LineHeight = keyof typeof lineHeightMap;
|
|
@@ -99,10 +100,11 @@ declare const Text: FC<TextProps>;
|
|
|
99
100
|
export default Text;
|
|
100
101
|
/**
|
|
101
102
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
102
|
-
* @codegen <<SignedSource::
|
|
103
|
+
* @codegen <<SignedSource::21771f01de3c37646642de03274f0738>>
|
|
103
104
|
* @codegenId colors
|
|
104
105
|
* @codegenCommand yarn codegen-styles
|
|
105
106
|
* @codegenParams ["text"]
|
|
107
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::0c1fe9904b2ff2465a532b97ab76491e>>
|
|
106
108
|
*/
|
|
107
109
|
declare const textColorMap: {
|
|
108
110
|
'color.text': import("@emotion/react").SerializedStyles;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -5,4 +5,3 @@ export { default as UNSAFE_Stack } from './components/stack.partial';
|
|
|
5
5
|
export { default as UNSAFE_InteractionSurface } from './components/interaction-surface.partial';
|
|
6
6
|
export type { BoxProps as UNSAFE_BoxProps } from './components/box.partial';
|
|
7
7
|
export type { TextProps as UNSAFE_TextProps } from './components/text.partial';
|
|
8
|
-
export { SPACING_SCALE as UNSAFE_SPACING_SCALE } from './constants';
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
*
|
|
4
|
-
* Some artifact
|
|
5
|
-
*
|
|
6
|
-
* @codegen <<SignedSource::8f568e4f0837f7af4a10429e060ad059>>
|
|
7
|
-
* @codegenCommand yarn codegen-styles
|
|
8
|
-
*/
|
|
9
|
-
export declare const colorMap: {
|
|
1
|
+
declare const _default: {
|
|
10
2
|
readonly 'neutral.bold': "inverse";
|
|
11
3
|
readonly 'neutral.bold.hovered': "inverse";
|
|
12
4
|
readonly 'neutral.bold.pressed': "inverse";
|
|
@@ -32,3 +24,13 @@ export declare const colorMap: {
|
|
|
32
24
|
readonly 'information.bold.hovered': "inverse";
|
|
33
25
|
readonly 'information.bold.pressed': "inverse";
|
|
34
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
29
|
+
*
|
|
30
|
+
* The color map is used to map a background color token to a matching text color that will meet contrast.
|
|
31
|
+
*
|
|
32
|
+
* @codegen <<SignedSource::c9429c38d12f88de9f5be644bf5e704a>>
|
|
33
|
+
* @codegenCommand yarn codegen-styles
|
|
34
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::0c1fe9904b2ff2465a532b97ab76491e>>
|
|
35
|
+
*/
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Some artifact
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::caecb926afa82b027fba396074de5c2c>>
|
|
7
|
+
* @codegenCommand yarn codegen-styles
|
|
8
|
+
*/
|
|
9
|
+
export declare const spacingScale: readonly ["scale.0", "scale.025", "scale.050", "scale.075", "scale.100", "scale.150", "scale.200", "scale.250", "scale.300", "scale.400", "scale.500", "scale.600"];
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
-
import { ElementType,
|
|
3
|
-
import { GlobalSpacingToken } from '../constants';
|
|
2
|
+
import { ComponentPropsWithoutRef, ComponentPropsWithRef, ElementType, FC, ReactElement } from 'react';
|
|
4
3
|
import type { BasePrimitiveProps, NonTextChildren } from './types';
|
|
5
|
-
|
|
4
|
+
declare type PropsToOmit = 'as' | 'className' | 'style';
|
|
5
|
+
export declare type BoxProps<T extends ElementType = 'div'> = Omit<ComponentPropsWithoutRef<T>, PropsToOmit> & BasePrimitiveProps & BoxPropsBase<T>;
|
|
6
|
+
declare type BoxPropsBase<T extends ElementType> = {
|
|
6
7
|
/**
|
|
7
8
|
* The DOM element to render as the Box. Defaults to `div`.
|
|
8
9
|
*/
|
|
9
|
-
as?:
|
|
10
|
+
as?: T;
|
|
10
11
|
/**
|
|
11
12
|
* Elements to be rendered inside the Box.
|
|
12
13
|
*/
|
|
13
|
-
children?: NonTextChildren | boolean | null
|
|
14
|
+
children?: NonTextChildren | boolean | null;
|
|
14
15
|
/**
|
|
15
|
-
* The
|
|
16
|
+
* The HTML className attribute.
|
|
16
17
|
*
|
|
17
18
|
* Before using this prop please ensure:
|
|
18
19
|
* - The styles cannot otherwise be achieved through `Box` directly.
|
|
@@ -26,10 +27,7 @@ export interface BoxProps<T extends HTMLElement = HTMLElement> extends Omit<HTML
|
|
|
26
27
|
/**
|
|
27
28
|
* Token representing background color with a fallback.
|
|
28
29
|
*/
|
|
29
|
-
backgroundColor?:
|
|
30
|
-
BackgroundColor,
|
|
31
|
-
string
|
|
32
|
-
];
|
|
30
|
+
backgroundColor?: BackgroundColor;
|
|
33
31
|
/**
|
|
34
32
|
* Defines border style.
|
|
35
33
|
*/
|
|
@@ -41,10 +39,7 @@ export interface BoxProps<T extends HTMLElement = HTMLElement> extends Omit<HTML
|
|
|
41
39
|
/**
|
|
42
40
|
* Token representing border color with a fallback.
|
|
43
41
|
*/
|
|
44
|
-
borderColor?:
|
|
45
|
-
BorderColor,
|
|
46
|
-
string
|
|
47
|
-
];
|
|
42
|
+
borderColor?: BorderColor;
|
|
48
43
|
/**
|
|
49
44
|
* Defines border radius.
|
|
50
45
|
*/
|
|
@@ -71,23 +66,23 @@ export interface BoxProps<T extends HTMLElement = HTMLElement> extends Omit<HTML
|
|
|
71
66
|
* @see paddingBlock
|
|
72
67
|
* @see paddingInline
|
|
73
68
|
*/
|
|
74
|
-
padding?:
|
|
69
|
+
padding?: Padding;
|
|
75
70
|
/**
|
|
76
71
|
* Token representing CSS `padding-block`.
|
|
77
72
|
*/
|
|
78
|
-
paddingBlock?:
|
|
73
|
+
paddingBlock?: PaddingBlock;
|
|
79
74
|
/**
|
|
80
75
|
* Token representing CSS `padding-inline`.
|
|
81
76
|
*/
|
|
82
|
-
paddingInline?:
|
|
77
|
+
paddingInline?: PaddingInline;
|
|
83
78
|
/**
|
|
84
79
|
* Token representing width.
|
|
85
80
|
*/
|
|
86
|
-
width?:
|
|
81
|
+
width?: Width;
|
|
87
82
|
/**
|
|
88
83
|
* Token representing height.
|
|
89
84
|
*/
|
|
90
|
-
height?:
|
|
85
|
+
height?: Height;
|
|
91
86
|
/**
|
|
92
87
|
* Defines display type and layout. Defaults to `flex`.
|
|
93
88
|
*/
|
|
@@ -95,8 +90,10 @@ export interface BoxProps<T extends HTMLElement = HTMLElement> extends Omit<HTML
|
|
|
95
90
|
/**
|
|
96
91
|
* CSS position property.
|
|
97
92
|
*/
|
|
98
|
-
position?:
|
|
99
|
-
|
|
93
|
+
position?: Position;
|
|
94
|
+
ref?: ComponentPropsWithRef<T>['ref'];
|
|
95
|
+
};
|
|
96
|
+
declare type BoxComponent<T extends ElementType = 'div'> = (<T extends ElementType = 'div'>(props: BoxProps<T>) => ReactElement | null) & FC<BoxProps<T>>;
|
|
100
97
|
/**
|
|
101
98
|
* __Box__
|
|
102
99
|
*
|
|
@@ -105,7 +102,7 @@ export interface BoxProps<T extends HTMLElement = HTMLElement> extends Omit<HTML
|
|
|
105
102
|
*
|
|
106
103
|
* @internal
|
|
107
104
|
*/
|
|
108
|
-
declare const Box:
|
|
105
|
+
export declare const Box: BoxComponent;
|
|
109
106
|
export default Box;
|
|
110
107
|
declare type BorderStyle = keyof typeof borderStyleMap;
|
|
111
108
|
declare const borderStyleMap: {
|
|
@@ -152,24 +149,109 @@ declare const displayMap: {
|
|
|
152
149
|
flex: import("@emotion/react").SerializedStyles;
|
|
153
150
|
inlineFlex: import("@emotion/react").SerializedStyles;
|
|
154
151
|
};
|
|
155
|
-
declare type
|
|
156
|
-
declare const overflowMap: {
|
|
157
|
-
auto: import("@emotion/react").SerializedStyles;
|
|
158
|
-
};
|
|
152
|
+
declare type Position = keyof typeof positionMap;
|
|
159
153
|
declare const positionMap: {
|
|
160
154
|
absolute: import("@emotion/react").SerializedStyles;
|
|
161
155
|
relative: import("@emotion/react").SerializedStyles;
|
|
162
156
|
static: import("@emotion/react").SerializedStyles;
|
|
163
157
|
};
|
|
158
|
+
declare type Overflow = keyof typeof overflowMap;
|
|
159
|
+
declare const overflowMap: {
|
|
160
|
+
auto: import("@emotion/react").SerializedStyles;
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
164
|
+
* @codegen <<SignedSource::620ef1f3b2d7a6f92e5052efb270b5eb>>
|
|
165
|
+
* @codegenId spacing
|
|
166
|
+
* @codegenCommand yarn codegen-styles
|
|
167
|
+
* @codegenParams ["padding", "paddingBlock", "paddingInline", "width", "height"]
|
|
168
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::0c1fe9904b2ff2465a532b97ab76491e>>
|
|
169
|
+
*/
|
|
170
|
+
declare const paddingMap: {
|
|
171
|
+
'scale.0': import("@emotion/react").SerializedStyles;
|
|
172
|
+
'scale.025': import("@emotion/react").SerializedStyles;
|
|
173
|
+
'scale.050': import("@emotion/react").SerializedStyles;
|
|
174
|
+
'scale.075': import("@emotion/react").SerializedStyles;
|
|
175
|
+
'scale.100': import("@emotion/react").SerializedStyles;
|
|
176
|
+
'scale.150': import("@emotion/react").SerializedStyles;
|
|
177
|
+
'scale.200': import("@emotion/react").SerializedStyles;
|
|
178
|
+
'scale.250': import("@emotion/react").SerializedStyles;
|
|
179
|
+
'scale.300': import("@emotion/react").SerializedStyles;
|
|
180
|
+
'scale.400': import("@emotion/react").SerializedStyles;
|
|
181
|
+
'scale.500': import("@emotion/react").SerializedStyles;
|
|
182
|
+
'scale.600': import("@emotion/react").SerializedStyles;
|
|
183
|
+
};
|
|
184
|
+
export declare type Padding = keyof typeof paddingMap;
|
|
185
|
+
declare const paddingBlockMap: {
|
|
186
|
+
'scale.0': import("@emotion/react").SerializedStyles;
|
|
187
|
+
'scale.025': import("@emotion/react").SerializedStyles;
|
|
188
|
+
'scale.050': import("@emotion/react").SerializedStyles;
|
|
189
|
+
'scale.075': import("@emotion/react").SerializedStyles;
|
|
190
|
+
'scale.100': import("@emotion/react").SerializedStyles;
|
|
191
|
+
'scale.150': import("@emotion/react").SerializedStyles;
|
|
192
|
+
'scale.200': import("@emotion/react").SerializedStyles;
|
|
193
|
+
'scale.250': import("@emotion/react").SerializedStyles;
|
|
194
|
+
'scale.300': import("@emotion/react").SerializedStyles;
|
|
195
|
+
'scale.400': import("@emotion/react").SerializedStyles;
|
|
196
|
+
'scale.500': import("@emotion/react").SerializedStyles;
|
|
197
|
+
'scale.600': import("@emotion/react").SerializedStyles;
|
|
198
|
+
};
|
|
199
|
+
export declare type PaddingBlock = keyof typeof paddingBlockMap;
|
|
200
|
+
declare const paddingInlineMap: {
|
|
201
|
+
'scale.0': import("@emotion/react").SerializedStyles;
|
|
202
|
+
'scale.025': import("@emotion/react").SerializedStyles;
|
|
203
|
+
'scale.050': import("@emotion/react").SerializedStyles;
|
|
204
|
+
'scale.075': import("@emotion/react").SerializedStyles;
|
|
205
|
+
'scale.100': import("@emotion/react").SerializedStyles;
|
|
206
|
+
'scale.150': import("@emotion/react").SerializedStyles;
|
|
207
|
+
'scale.200': import("@emotion/react").SerializedStyles;
|
|
208
|
+
'scale.250': import("@emotion/react").SerializedStyles;
|
|
209
|
+
'scale.300': import("@emotion/react").SerializedStyles;
|
|
210
|
+
'scale.400': import("@emotion/react").SerializedStyles;
|
|
211
|
+
'scale.500': import("@emotion/react").SerializedStyles;
|
|
212
|
+
'scale.600': import("@emotion/react").SerializedStyles;
|
|
213
|
+
};
|
|
214
|
+
export declare type PaddingInline = keyof typeof paddingInlineMap;
|
|
215
|
+
declare const widthMap: {
|
|
216
|
+
'scale.0': import("@emotion/react").SerializedStyles;
|
|
217
|
+
'scale.025': import("@emotion/react").SerializedStyles;
|
|
218
|
+
'scale.050': import("@emotion/react").SerializedStyles;
|
|
219
|
+
'scale.075': import("@emotion/react").SerializedStyles;
|
|
220
|
+
'scale.100': import("@emotion/react").SerializedStyles;
|
|
221
|
+
'scale.150': import("@emotion/react").SerializedStyles;
|
|
222
|
+
'scale.200': import("@emotion/react").SerializedStyles;
|
|
223
|
+
'scale.250': import("@emotion/react").SerializedStyles;
|
|
224
|
+
'scale.300': import("@emotion/react").SerializedStyles;
|
|
225
|
+
'scale.400': import("@emotion/react").SerializedStyles;
|
|
226
|
+
'scale.500': import("@emotion/react").SerializedStyles;
|
|
227
|
+
'scale.600': import("@emotion/react").SerializedStyles;
|
|
228
|
+
};
|
|
229
|
+
export declare type Width = keyof typeof widthMap;
|
|
230
|
+
declare const heightMap: {
|
|
231
|
+
'scale.0': import("@emotion/react").SerializedStyles;
|
|
232
|
+
'scale.025': import("@emotion/react").SerializedStyles;
|
|
233
|
+
'scale.050': import("@emotion/react").SerializedStyles;
|
|
234
|
+
'scale.075': import("@emotion/react").SerializedStyles;
|
|
235
|
+
'scale.100': import("@emotion/react").SerializedStyles;
|
|
236
|
+
'scale.150': import("@emotion/react").SerializedStyles;
|
|
237
|
+
'scale.200': import("@emotion/react").SerializedStyles;
|
|
238
|
+
'scale.250': import("@emotion/react").SerializedStyles;
|
|
239
|
+
'scale.300': import("@emotion/react").SerializedStyles;
|
|
240
|
+
'scale.400': import("@emotion/react").SerializedStyles;
|
|
241
|
+
'scale.500': import("@emotion/react").SerializedStyles;
|
|
242
|
+
'scale.600': import("@emotion/react").SerializedStyles;
|
|
243
|
+
};
|
|
244
|
+
export declare type Height = keyof typeof heightMap;
|
|
164
245
|
/**
|
|
165
246
|
* @codegenEnd
|
|
166
247
|
*/
|
|
167
248
|
/**
|
|
168
249
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
169
|
-
* @codegen <<SignedSource::
|
|
250
|
+
* @codegen <<SignedSource::832d4f0a888302a4fd097946cd7c582c>>
|
|
170
251
|
* @codegenId colors
|
|
171
252
|
* @codegenCommand yarn codegen-styles
|
|
172
253
|
* @codegenParams ["border", "background"]
|
|
254
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::0c1fe9904b2ff2465a532b97ab76491e>>
|
|
173
255
|
*/
|
|
174
256
|
declare const borderColorMap: {
|
|
175
257
|
'color.border': import("@emotion/react").SerializedStyles;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import {
|
|
4
|
-
import { BasePrimitiveProps, NonTextChildren } from './types';
|
|
3
|
+
import type { BasePrimitiveProps, NonTextChildren } from './types';
|
|
5
4
|
interface InlineProps extends BasePrimitiveProps {
|
|
6
5
|
/**
|
|
7
6
|
* Used to align children along the cross axis.
|
|
@@ -18,7 +17,7 @@ interface InlineProps extends BasePrimitiveProps {
|
|
|
18
17
|
/**
|
|
19
18
|
* Token representing gap between children.
|
|
20
19
|
*/
|
|
21
|
-
gap:
|
|
20
|
+
gap: ColumnGap;
|
|
22
21
|
/**
|
|
23
22
|
* Renders a divider between children.
|
|
24
23
|
* If a string is provided it will automatically be wrapped in a `<Text>` component.
|
|
@@ -59,6 +58,29 @@ declare const flexWrapMap: {
|
|
|
59
58
|
*/
|
|
60
59
|
declare const Inline: import("react").ForwardRefExoticComponent<InlineProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
61
60
|
export default Inline;
|
|
61
|
+
/**
|
|
62
|
+
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
63
|
+
* @codegen <<SignedSource::cff5655983f2243060cade5b107d7762>>
|
|
64
|
+
* @codegenId spacing
|
|
65
|
+
* @codegenCommand yarn codegen-styles
|
|
66
|
+
* @codegenParams ["columnGap"]
|
|
67
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::0c1fe9904b2ff2465a532b97ab76491e>>
|
|
68
|
+
*/
|
|
69
|
+
declare const columnGapMap: {
|
|
70
|
+
'scale.0': import("@emotion/react").SerializedStyles;
|
|
71
|
+
'scale.025': import("@emotion/react").SerializedStyles;
|
|
72
|
+
'scale.050': import("@emotion/react").SerializedStyles;
|
|
73
|
+
'scale.075': import("@emotion/react").SerializedStyles;
|
|
74
|
+
'scale.100': import("@emotion/react").SerializedStyles;
|
|
75
|
+
'scale.150': import("@emotion/react").SerializedStyles;
|
|
76
|
+
'scale.200': import("@emotion/react").SerializedStyles;
|
|
77
|
+
'scale.250': import("@emotion/react").SerializedStyles;
|
|
78
|
+
'scale.300': import("@emotion/react").SerializedStyles;
|
|
79
|
+
'scale.400': import("@emotion/react").SerializedStyles;
|
|
80
|
+
'scale.500': import("@emotion/react").SerializedStyles;
|
|
81
|
+
'scale.600': import("@emotion/react").SerializedStyles;
|
|
82
|
+
};
|
|
83
|
+
export declare type ColumnGap = keyof typeof columnGapMap;
|
|
62
84
|
/**
|
|
63
85
|
* @codegenEnd
|
|
64
86
|
*/
|