@atlaskit/ds-explorations 2.2.10 → 2.2.12
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 +13 -0
- package/dist/cjs/components/box.partial.js +2 -2
- package/dist/cjs/components/interaction-surface.partial.js +2 -2
- package/dist/cjs/components/text.partial.js +4 -4
- package/dist/cjs/internal/color-map.js +2 -2
- package/dist/es2019/components/box.partial.js +2 -2
- package/dist/es2019/components/interaction-surface.partial.js +2 -2
- package/dist/es2019/components/text.partial.js +4 -4
- package/dist/es2019/internal/color-map.js +2 -2
- package/dist/esm/components/box.partial.js +2 -2
- package/dist/esm/components/interaction-surface.partial.js +2 -2
- package/dist/esm/components/text.partial.js +4 -4
- package/dist/esm/internal/color-map.js +2 -2
- package/dist/types/components/box.partial.d.ts +2 -2
- package/dist/types/components/text.partial.d.ts +4 -4
- package/dist/types/internal/color-map.d.ts +2 -2
- package/dist/types-ts4.5/components/box.partial.d.ts +2 -2
- package/dist/types-ts4.5/components/text.partial.d.ts +4 -4
- package/dist/types-ts4.5/internal/color-map.d.ts +2 -2
- package/package.json +2 -3
- package/scripts/typography-codegen-template.tsx +0 -1
- package/src/components/__tests__/vr-tests/box-snapshot-test.vr.tsx +1 -0
- package/src/components/__tests__/vr-tests/text-snapshot-test.vr.tsx +1 -0
- package/src/components/box.partial.tsx +2 -2
- package/src/components/interaction-surface.partial.tsx +2 -2
- package/src/components/text.partial.tsx +4 -4
- package/src/internal/color-map.tsx +2 -2
- package/tsconfig.app.json +42 -0
- package/tsconfig.dev.json +88 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/ds-explorations
|
|
2
2
|
|
|
3
|
+
## 2.2.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`437a056278c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/437a056278c) - Update to reflect latest tokens.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
10
|
+
## 2.2.11
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`103ee1d5dd4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/103ee1d5dd4) - Internal updates to generated artifacts.
|
|
15
|
+
|
|
3
16
|
## 2.2.10
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -427,11 +427,11 @@ 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::
|
|
430
|
+
* @codegen <<SignedSource::3c02977212ac78f3a0f9de93e0a253c2>>
|
|
431
431
|
* @codegenId colors
|
|
432
432
|
* @codegenCommand yarn codegen-styles
|
|
433
433
|
* @codegenParams ["border", "background", "shadow"]
|
|
434
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
434
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
435
435
|
*/
|
|
436
436
|
var borderColorMap = {
|
|
437
437
|
'color.border': (0, _react2.css)({
|
|
@@ -53,11 +53,11 @@ var InteractionSurface = function InteractionSurface(_ref) {
|
|
|
53
53
|
var _default = InteractionSurface;
|
|
54
54
|
/**
|
|
55
55
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
56
|
-
* @codegen <<SignedSource::
|
|
56
|
+
* @codegen <<SignedSource::01dc580099e9b8257da4c8f610e7874c>>
|
|
57
57
|
* @codegenId interactions
|
|
58
58
|
* @codegenCommand yarn codegen-styles
|
|
59
59
|
* @codegenParams ["background"]
|
|
60
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
60
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
61
61
|
*/
|
|
62
62
|
exports.default = _default;
|
|
63
63
|
var backgroundActiveColorMap = {
|
|
@@ -135,11 +135,11 @@ var Text = function Text(_ref) {
|
|
|
135
135
|
var _default = Text;
|
|
136
136
|
/**
|
|
137
137
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
138
|
-
* @codegen <<SignedSource::
|
|
138
|
+
* @codegen <<SignedSource::d3b73d63fef16f1f12ad8ec39520497e>>
|
|
139
139
|
* @codegenId typography
|
|
140
140
|
* @codegenCommand yarn codegen-styles
|
|
141
141
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight"]
|
|
142
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::
|
|
142
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::0e11bb3b13c1850386ae45bae589a46a>>
|
|
143
143
|
*/
|
|
144
144
|
exports.default = _default;
|
|
145
145
|
var fontSizeMap = {
|
|
@@ -227,11 +227,11 @@ var lineHeightMap = {
|
|
|
227
227
|
*/
|
|
228
228
|
/**
|
|
229
229
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
230
|
-
* @codegen <<SignedSource::
|
|
230
|
+
* @codegen <<SignedSource::8a6efbd43991cb2ebd97bd5eed33e192>>
|
|
231
231
|
* @codegenId colors
|
|
232
232
|
* @codegenCommand yarn codegen-styles
|
|
233
233
|
* @codegenParams ["text"]
|
|
234
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
234
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
235
235
|
*/
|
|
236
236
|
var textColorMap = {
|
|
237
237
|
'color.text': (0, _react2.css)({
|
|
@@ -9,9 +9,9 @@ exports.default = void 0;
|
|
|
9
9
|
*
|
|
10
10
|
* The color map is used to map a background color token to a matching text color that will meet contrast.
|
|
11
11
|
*
|
|
12
|
-
* @codegen <<SignedSource::
|
|
12
|
+
* @codegen <<SignedSource::1884888c7b0fc397963699c7902aaec7>>
|
|
13
13
|
* @codegenCommand yarn codegen-styles
|
|
14
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
14
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
15
15
|
*/
|
|
16
16
|
var _default = {
|
|
17
17
|
'neutral.bold': 'inverse',
|
|
@@ -419,11 +419,11 @@ 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::
|
|
422
|
+
* @codegen <<SignedSource::3c02977212ac78f3a0f9de93e0a253c2>>
|
|
423
423
|
* @codegenId colors
|
|
424
424
|
* @codegenCommand yarn codegen-styles
|
|
425
425
|
* @codegenParams ["border", "background", "shadow"]
|
|
426
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
426
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
427
427
|
*/
|
|
428
428
|
const borderColorMap = {
|
|
429
429
|
'color.border': css({
|
|
@@ -48,11 +48,11 @@ export default InteractionSurface;
|
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
50
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
51
|
-
* @codegen <<SignedSource::
|
|
51
|
+
* @codegen <<SignedSource::01dc580099e9b8257da4c8f610e7874c>>
|
|
52
52
|
* @codegenId interactions
|
|
53
53
|
* @codegenCommand yarn codegen-styles
|
|
54
54
|
* @codegenParams ["background"]
|
|
55
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
55
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
56
56
|
*/
|
|
57
57
|
const backgroundActiveColorMap = {
|
|
58
58
|
input: css({
|
|
@@ -126,11 +126,11 @@ export default Text;
|
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
128
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
129
|
-
* @codegen <<SignedSource::
|
|
129
|
+
* @codegen <<SignedSource::d3b73d63fef16f1f12ad8ec39520497e>>
|
|
130
130
|
* @codegenId typography
|
|
131
131
|
* @codegenCommand yarn codegen-styles
|
|
132
132
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight"]
|
|
133
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::
|
|
133
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::0e11bb3b13c1850386ae45bae589a46a>>
|
|
134
134
|
*/
|
|
135
135
|
const fontSizeMap = {
|
|
136
136
|
'size.050': css({
|
|
@@ -217,11 +217,11 @@ const lineHeightMap = {
|
|
|
217
217
|
*/
|
|
218
218
|
/**
|
|
219
219
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
220
|
-
* @codegen <<SignedSource::
|
|
220
|
+
* @codegen <<SignedSource::8a6efbd43991cb2ebd97bd5eed33e192>>
|
|
221
221
|
* @codegenId colors
|
|
222
222
|
* @codegenCommand yarn codegen-styles
|
|
223
223
|
* @codegenParams ["text"]
|
|
224
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
224
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
225
225
|
*/
|
|
226
226
|
const textColorMap = {
|
|
227
227
|
'color.text': css({
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* The color map is used to map a background color token to a matching text color that will meet contrast.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::1884888c7b0fc397963699c7902aaec7>>
|
|
7
7
|
* @codegenCommand yarn codegen-styles
|
|
8
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
'neutral.bold': 'inverse',
|
|
@@ -422,11 +422,11 @@ 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::
|
|
425
|
+
* @codegen <<SignedSource::3c02977212ac78f3a0f9de93e0a253c2>>
|
|
426
426
|
* @codegenId colors
|
|
427
427
|
* @codegenCommand yarn codegen-styles
|
|
428
428
|
* @codegenParams ["border", "background", "shadow"]
|
|
429
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
429
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
430
430
|
*/
|
|
431
431
|
var borderColorMap = {
|
|
432
432
|
'color.border': css({
|
|
@@ -47,11 +47,11 @@ export default InteractionSurface;
|
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
50
|
-
* @codegen <<SignedSource::
|
|
50
|
+
* @codegen <<SignedSource::01dc580099e9b8257da4c8f610e7874c>>
|
|
51
51
|
* @codegenId interactions
|
|
52
52
|
* @codegenCommand yarn codegen-styles
|
|
53
53
|
* @codegenParams ["background"]
|
|
54
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
54
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
55
55
|
*/
|
|
56
56
|
var backgroundActiveColorMap = {
|
|
57
57
|
input: css({
|
|
@@ -129,11 +129,11 @@ export default Text;
|
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
131
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
132
|
-
* @codegen <<SignedSource::
|
|
132
|
+
* @codegen <<SignedSource::d3b73d63fef16f1f12ad8ec39520497e>>
|
|
133
133
|
* @codegenId typography
|
|
134
134
|
* @codegenCommand yarn codegen-styles
|
|
135
135
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight"]
|
|
136
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::
|
|
136
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::0e11bb3b13c1850386ae45bae589a46a>>
|
|
137
137
|
*/
|
|
138
138
|
var fontSizeMap = {
|
|
139
139
|
'size.050': css({
|
|
@@ -220,11 +220,11 @@ var lineHeightMap = {
|
|
|
220
220
|
*/
|
|
221
221
|
/**
|
|
222
222
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
223
|
-
* @codegen <<SignedSource::
|
|
223
|
+
* @codegen <<SignedSource::8a6efbd43991cb2ebd97bd5eed33e192>>
|
|
224
224
|
* @codegenId colors
|
|
225
225
|
* @codegenCommand yarn codegen-styles
|
|
226
226
|
* @codegenParams ["text"]
|
|
227
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
227
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
228
228
|
*/
|
|
229
229
|
var textColorMap = {
|
|
230
230
|
'color.text': css({
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* The color map is used to map a background color token to a matching text color that will meet contrast.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::1884888c7b0fc397963699c7902aaec7>>
|
|
7
7
|
* @codegenCommand yarn codegen-styles
|
|
8
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
'neutral.bold': 'inverse',
|
|
@@ -291,11 +291,11 @@ 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::
|
|
294
|
+
* @codegen <<SignedSource::3c02977212ac78f3a0f9de93e0a253c2>>
|
|
295
295
|
* @codegenId colors
|
|
296
296
|
* @codegenCommand yarn codegen-styles
|
|
297
297
|
* @codegenParams ["border", "background", "shadow"]
|
|
298
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
298
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
299
299
|
*/
|
|
300
300
|
declare const borderColorMap: {
|
|
301
301
|
readonly 'color.border': import("@emotion/react").SerializedStyles;
|
|
@@ -81,11 +81,11 @@ declare const Text: FC<TextProps>;
|
|
|
81
81
|
export default Text;
|
|
82
82
|
/**
|
|
83
83
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
84
|
-
* @codegen <<SignedSource::
|
|
84
|
+
* @codegen <<SignedSource::d3b73d63fef16f1f12ad8ec39520497e>>
|
|
85
85
|
* @codegenId typography
|
|
86
86
|
* @codegenCommand yarn codegen-styles
|
|
87
87
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight"]
|
|
88
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::
|
|
88
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::0e11bb3b13c1850386ae45bae589a46a>>
|
|
89
89
|
*/
|
|
90
90
|
declare const fontSizeMap: {
|
|
91
91
|
'size.050': import("@emotion/react").SerializedStyles;
|
|
@@ -128,11 +128,11 @@ export type LineHeight = keyof typeof lineHeightMap;
|
|
|
128
128
|
*/
|
|
129
129
|
/**
|
|
130
130
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
131
|
-
* @codegen <<SignedSource::
|
|
131
|
+
* @codegen <<SignedSource::8a6efbd43991cb2ebd97bd5eed33e192>>
|
|
132
132
|
* @codegenId colors
|
|
133
133
|
* @codegenCommand yarn codegen-styles
|
|
134
134
|
* @codegenParams ["text"]
|
|
135
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
135
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
136
136
|
*/
|
|
137
137
|
declare const textColorMap: {
|
|
138
138
|
readonly 'color.text': import("@emotion/react").SerializedStyles;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* The color map is used to map a background color token to a matching text color that will meet contrast.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::1884888c7b0fc397963699c7902aaec7>>
|
|
7
7
|
* @codegenCommand yarn codegen-styles
|
|
8
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
9
9
|
*/
|
|
10
10
|
declare const _default: {
|
|
11
11
|
readonly 'neutral.bold': "inverse";
|
|
@@ -291,11 +291,11 @@ 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::
|
|
294
|
+
* @codegen <<SignedSource::3c02977212ac78f3a0f9de93e0a253c2>>
|
|
295
295
|
* @codegenId colors
|
|
296
296
|
* @codegenCommand yarn codegen-styles
|
|
297
297
|
* @codegenParams ["border", "background", "shadow"]
|
|
298
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
298
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
299
299
|
*/
|
|
300
300
|
declare const borderColorMap: {
|
|
301
301
|
readonly 'color.border': import("@emotion/react").SerializedStyles;
|
|
@@ -86,11 +86,11 @@ declare const Text: FC<TextProps>;
|
|
|
86
86
|
export default Text;
|
|
87
87
|
/**
|
|
88
88
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
89
|
-
* @codegen <<SignedSource::
|
|
89
|
+
* @codegen <<SignedSource::d3b73d63fef16f1f12ad8ec39520497e>>
|
|
90
90
|
* @codegenId typography
|
|
91
91
|
* @codegenCommand yarn codegen-styles
|
|
92
92
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight"]
|
|
93
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::
|
|
93
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::0e11bb3b13c1850386ae45bae589a46a>>
|
|
94
94
|
*/
|
|
95
95
|
declare const fontSizeMap: {
|
|
96
96
|
'size.050': import("@emotion/react").SerializedStyles;
|
|
@@ -133,11 +133,11 @@ export type LineHeight = keyof typeof lineHeightMap;
|
|
|
133
133
|
*/
|
|
134
134
|
/**
|
|
135
135
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
136
|
-
* @codegen <<SignedSource::
|
|
136
|
+
* @codegen <<SignedSource::8a6efbd43991cb2ebd97bd5eed33e192>>
|
|
137
137
|
* @codegenId colors
|
|
138
138
|
* @codegenCommand yarn codegen-styles
|
|
139
139
|
* @codegenParams ["text"]
|
|
140
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
140
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
141
141
|
*/
|
|
142
142
|
declare const textColorMap: {
|
|
143
143
|
readonly 'color.text': import("@emotion/react").SerializedStyles;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* The color map is used to map a background color token to a matching text color that will meet contrast.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::1884888c7b0fc397963699c7902aaec7>>
|
|
7
7
|
* @codegenCommand yarn codegen-styles
|
|
8
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
9
9
|
*/
|
|
10
10
|
declare const _default: {
|
|
11
11
|
readonly 'neutral.bold': "inverse";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/ds-explorations",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.12",
|
|
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.
|
|
28
|
+
"@atlaskit/tokens": "^1.18.0",
|
|
29
29
|
"@babel/runtime": "^7.0.0",
|
|
30
30
|
"@emotion/react": "^11.7.1",
|
|
31
31
|
"tiny-invariant": "^1.2.0"
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
"react": "^16.8.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@af/visual-regression": "*",
|
|
38
37
|
"@atlaskit/ds-lib": "*",
|
|
39
38
|
"@atlaskit/visual-regression": "*",
|
|
40
39
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
@@ -510,11 +510,11 @@ 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::
|
|
513
|
+
* @codegen <<SignedSource::3c02977212ac78f3a0f9de93e0a253c2>>
|
|
514
514
|
* @codegenId colors
|
|
515
515
|
* @codegenCommand yarn codegen-styles
|
|
516
516
|
* @codegenParams ["border", "background", "shadow"]
|
|
517
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
517
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
518
518
|
*/
|
|
519
519
|
const borderColorMap = {
|
|
520
520
|
'color.border': css({
|
|
@@ -70,11 +70,11 @@ export default InteractionSurface;
|
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
73
|
-
* @codegen <<SignedSource::
|
|
73
|
+
* @codegen <<SignedSource::01dc580099e9b8257da4c8f610e7874c>>
|
|
74
74
|
* @codegenId interactions
|
|
75
75
|
* @codegenCommand yarn codegen-styles
|
|
76
76
|
* @codegenParams ["background"]
|
|
77
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
77
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
78
78
|
*/
|
|
79
79
|
const backgroundActiveColorMap = {
|
|
80
80
|
input: css({
|
|
@@ -195,11 +195,11 @@ export default Text;
|
|
|
195
195
|
|
|
196
196
|
/**
|
|
197
197
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
198
|
-
* @codegen <<SignedSource::
|
|
198
|
+
* @codegen <<SignedSource::d3b73d63fef16f1f12ad8ec39520497e>>
|
|
199
199
|
* @codegenId typography
|
|
200
200
|
* @codegenCommand yarn codegen-styles
|
|
201
201
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight"]
|
|
202
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::
|
|
202
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::0e11bb3b13c1850386ae45bae589a46a>>
|
|
203
203
|
*/
|
|
204
204
|
const fontSizeMap = {
|
|
205
205
|
'size.050': css({
|
|
@@ -311,11 +311,11 @@ export type LineHeight = keyof typeof lineHeightMap;
|
|
|
311
311
|
|
|
312
312
|
/**
|
|
313
313
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
314
|
-
* @codegen <<SignedSource::
|
|
314
|
+
* @codegen <<SignedSource::8a6efbd43991cb2ebd97bd5eed33e192>>
|
|
315
315
|
* @codegenId colors
|
|
316
316
|
* @codegenCommand yarn codegen-styles
|
|
317
317
|
* @codegenParams ["text"]
|
|
318
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
318
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
319
319
|
*/
|
|
320
320
|
const textColorMap = {
|
|
321
321
|
'color.text': css({
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* The color map is used to map a background color token to a matching text color that will meet contrast.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::1884888c7b0fc397963699c7902aaec7>>
|
|
7
7
|
* @codegenCommand yarn codegen-styles
|
|
8
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::65311fc2a6a35bb34b99c859362ac840>>
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
'neutral.bold': 'inverse',
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../tsconfig.base.json",
|
|
3
|
+
"include": ["./src/**/*.ts", "./src/**/*.tsx"],
|
|
4
|
+
"exclude": [
|
|
5
|
+
"**/docs/**/*",
|
|
6
|
+
"**/__tests__/**/*",
|
|
7
|
+
"**/vr-tests/**/*",
|
|
8
|
+
"**/__perf__/**/*",
|
|
9
|
+
"**/*.test.*",
|
|
10
|
+
"**/test.*",
|
|
11
|
+
"**/test-*",
|
|
12
|
+
"**/examples.ts",
|
|
13
|
+
"**/examples.tsx",
|
|
14
|
+
"**/examples/*.ts",
|
|
15
|
+
"**/examples/*.tsx",
|
|
16
|
+
"**/examples/**/*.ts",
|
|
17
|
+
"**/examples/**/*.tsx",
|
|
18
|
+
"**/storybook/**/*",
|
|
19
|
+
"**/constellation/**/*",
|
|
20
|
+
".storybook/*",
|
|
21
|
+
"./__fixtures__/**/*",
|
|
22
|
+
"./__generated__/**/*",
|
|
23
|
+
"./mocks/**/*",
|
|
24
|
+
"./__mocks__/**/*",
|
|
25
|
+
"**/mock.*",
|
|
26
|
+
"**/codemods/**/*.ts",
|
|
27
|
+
"**/codemods/**/*.tsx"
|
|
28
|
+
],
|
|
29
|
+
"compilerOptions": {
|
|
30
|
+
"baseUrl": "",
|
|
31
|
+
"composite": true,
|
|
32
|
+
"outDir": "../../../tsDist/@atlaskit__ds-explorations/app"
|
|
33
|
+
},
|
|
34
|
+
"references": [
|
|
35
|
+
{
|
|
36
|
+
"path": "../tokens/tsconfig.app.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../codegen/tsconfig.app.json"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../tsconfig.base.json",
|
|
3
|
+
"include": [
|
|
4
|
+
"**/docs/**/*",
|
|
5
|
+
"**/__tests__/**/*",
|
|
6
|
+
"**/vr-tests/**/*",
|
|
7
|
+
"**/__perf__/**/*",
|
|
8
|
+
"**/*.test.*",
|
|
9
|
+
"**/test.*",
|
|
10
|
+
"**/test-*",
|
|
11
|
+
"**/examples.ts",
|
|
12
|
+
"**/examples.tsx",
|
|
13
|
+
"**/examples/*.ts",
|
|
14
|
+
"**/examples/*.tsx",
|
|
15
|
+
"**/examples/**/*.ts",
|
|
16
|
+
"**/examples/**/*.tsx",
|
|
17
|
+
"**/storybook/**/*",
|
|
18
|
+
"**/constellation/**/*",
|
|
19
|
+
".storybook/*",
|
|
20
|
+
"./__fixtures__/**/*",
|
|
21
|
+
"./__generated__/**/*",
|
|
22
|
+
"./mocks/**/*",
|
|
23
|
+
"./__mocks__/**/*",
|
|
24
|
+
"**/mock.*",
|
|
25
|
+
"**/codemods/**/*.ts",
|
|
26
|
+
"**/codemods/**/*.tsx",
|
|
27
|
+
"./scripts/**/*"
|
|
28
|
+
],
|
|
29
|
+
"exclude": ["./dist/**/*", "./build/**/*", "./node_modules/**/*"],
|
|
30
|
+
"compilerOptions": {
|
|
31
|
+
"baseUrl": "",
|
|
32
|
+
"composite": true,
|
|
33
|
+
"outDir": "../../../tsDist/@atlaskit__ds-explorations/dev"
|
|
34
|
+
},
|
|
35
|
+
"references": [
|
|
36
|
+
{
|
|
37
|
+
"path": "tsconfig.app.json"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"path": "../../../build/test-tooling/gemini-visual-regression/tsconfig.app.json"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"path": "../badge/tsconfig.app.json"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"path": "../button/tsconfig.app.json"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"path": "../code/tsconfig.app.json"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"path": "../../../build/website/docs/tsconfig.app.json"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"path": "../ds-lib/tsconfig.app.json"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"path": "../focus-ring/tsconfig.app.json"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"path": "../heading/tsconfig.app.json"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"path": "../icon/tsconfig.app.json"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"path": "../lozenge/tsconfig.app.json"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"path": "../primitives/tsconfig.app.json"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"path": "../section-message/tsconfig.app.json"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"path": "../textfield/tsconfig.app.json"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"path": "../theme/tsconfig.app.json"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"path": "../tokens/tsconfig.app.json"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"path": "../../../build/test-tooling/visual-regression/tsconfig.app.json"
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
}
|