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