@atlaskit/ds-explorations 3.0.2 → 3.0.4
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/interaction-surface.partial.js +34 -34
- package/dist/cjs/components/text.partial.js +4 -4
- package/dist/cjs/internal/color-map.js +2 -2
- package/dist/es2019/components/interaction-surface.partial.js +34 -34
- package/dist/es2019/components/text.partial.js +4 -4
- package/dist/es2019/internal/color-map.js +2 -2
- package/dist/esm/components/interaction-surface.partial.js +34 -34
- package/dist/esm/components/text.partial.js +4 -4
- package/dist/esm/internal/color-map.js +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/text.partial.d.ts +4 -4
- package/dist/types-ts4.5/internal/color-map.d.ts +2 -2
- package/package.json +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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/ds-explorations
|
|
2
2
|
|
|
3
|
+
## 3.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#41516](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41516) [`350e4081d89`](https://bitbucket.org/atlassian/atlassian-frontend/commits/350e4081d89) - [ux] Regenerates codegen artifacts as a result of changes to color palettes and token values
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
10
|
+
## 3.0.3
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [#40324](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40324) [`8d123310957`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d123310957) - Minor internal changes. There is no expected behaviour change
|
|
15
|
+
|
|
3
16
|
## 3.0.2
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -53,11 +53,11 @@ var InteractionSurface = function InteractionSurface(_ref) {
|
|
|
53
53
|
var _default = exports.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::ed9784c5552e9d1f22b7cfe60aa11c75>>
|
|
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::f1021f8d47ab63374e371ce18db72a1c>>
|
|
61
61
|
*/
|
|
62
62
|
var backgroundActiveColorMap = {
|
|
63
63
|
'accent.lime.subtlest': (0, _react2.css)({
|
|
@@ -82,42 +82,42 @@ var backgroundActiveColorMap = {
|
|
|
82
82
|
}),
|
|
83
83
|
'accent.red.subtlest': (0, _react2.css)({
|
|
84
84
|
':active': {
|
|
85
|
-
backgroundColor: "var(--ds-background-accent-red-subtlest-pressed, #
|
|
85
|
+
backgroundColor: "var(--ds-background-accent-red-subtlest-pressed, #FD9891)"
|
|
86
86
|
}
|
|
87
87
|
}),
|
|
88
88
|
'accent.red.subtler': (0, _react2.css)({
|
|
89
89
|
':active': {
|
|
90
|
-
backgroundColor: "var(--ds-background-accent-red-subtler-pressed, #
|
|
90
|
+
backgroundColor: "var(--ds-background-accent-red-subtler-pressed, #F87168)"
|
|
91
91
|
}
|
|
92
92
|
}),
|
|
93
93
|
'accent.red.subtle': (0, _react2.css)({
|
|
94
94
|
':active': {
|
|
95
|
-
backgroundColor: "var(--ds-background-accent-red-subtle-pressed, #
|
|
95
|
+
backgroundColor: "var(--ds-background-accent-red-subtle-pressed, #FFD5D2)"
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
'accent.red.bolder': (0, _react2.css)({
|
|
99
99
|
':active': {
|
|
100
|
-
backgroundColor: "var(--ds-background-accent-red-bolder-pressed, #
|
|
100
|
+
backgroundColor: "var(--ds-background-accent-red-bolder-pressed, #5D1F1A)"
|
|
101
101
|
}
|
|
102
102
|
}),
|
|
103
103
|
'accent.orange.subtlest': (0, _react2.css)({
|
|
104
104
|
':active': {
|
|
105
|
-
backgroundColor: "var(--ds-background-accent-orange-subtlest-pressed, #
|
|
105
|
+
backgroundColor: "var(--ds-background-accent-orange-subtlest-pressed, #FEC195)"
|
|
106
106
|
}
|
|
107
107
|
}),
|
|
108
108
|
'accent.orange.subtler': (0, _react2.css)({
|
|
109
109
|
':active': {
|
|
110
|
-
backgroundColor: "var(--ds-background-accent-orange-subtler-pressed, #
|
|
110
|
+
backgroundColor: "var(--ds-background-accent-orange-subtler-pressed, #FEA362)"
|
|
111
111
|
}
|
|
112
112
|
}),
|
|
113
113
|
'accent.orange.subtle': (0, _react2.css)({
|
|
114
114
|
':active': {
|
|
115
|
-
backgroundColor: "var(--ds-background-accent-orange-subtle-pressed, #
|
|
115
|
+
backgroundColor: "var(--ds-background-accent-orange-subtle-pressed, #FEDEC8)"
|
|
116
116
|
}
|
|
117
117
|
}),
|
|
118
118
|
'accent.orange.bolder': (0, _react2.css)({
|
|
119
119
|
':active': {
|
|
120
|
-
backgroundColor: "var(--ds-background-accent-orange-bolder-pressed, #
|
|
120
|
+
backgroundColor: "var(--ds-background-accent-orange-bolder-pressed, #702E00)"
|
|
121
121
|
}
|
|
122
122
|
}),
|
|
123
123
|
'accent.yellow.subtlest': (0, _react2.css)({
|
|
@@ -132,7 +132,7 @@ var backgroundActiveColorMap = {
|
|
|
132
132
|
}),
|
|
133
133
|
'accent.yellow.subtle': (0, _react2.css)({
|
|
134
134
|
':active': {
|
|
135
|
-
backgroundColor: "var(--ds-background-accent-yellow-subtle-pressed, #
|
|
135
|
+
backgroundColor: "var(--ds-background-accent-yellow-subtle-pressed, #CF9F02)"
|
|
136
136
|
}
|
|
137
137
|
}),
|
|
138
138
|
'accent.yellow.bolder': (0, _react2.css)({
|
|
@@ -162,22 +162,22 @@ var backgroundActiveColorMap = {
|
|
|
162
162
|
}),
|
|
163
163
|
'accent.teal.subtlest': (0, _react2.css)({
|
|
164
164
|
':active': {
|
|
165
|
-
backgroundColor: "var(--ds-background-accent-teal-subtlest-pressed, #
|
|
165
|
+
backgroundColor: "var(--ds-background-accent-teal-subtlest-pressed, #9DD9EE)"
|
|
166
166
|
}
|
|
167
167
|
}),
|
|
168
168
|
'accent.teal.subtler': (0, _react2.css)({
|
|
169
169
|
':active': {
|
|
170
|
-
backgroundColor: "var(--ds-background-accent-teal-subtler-pressed, #
|
|
170
|
+
backgroundColor: "var(--ds-background-accent-teal-subtler-pressed, #6CC3E0)"
|
|
171
171
|
}
|
|
172
172
|
}),
|
|
173
173
|
'accent.teal.subtle': (0, _react2.css)({
|
|
174
174
|
':active': {
|
|
175
|
-
backgroundColor: "var(--ds-background-accent-teal-subtle-pressed, #
|
|
175
|
+
backgroundColor: "var(--ds-background-accent-teal-subtle-pressed, #C6EDFB)"
|
|
176
176
|
}
|
|
177
177
|
}),
|
|
178
178
|
'accent.teal.bolder': (0, _react2.css)({
|
|
179
179
|
':active': {
|
|
180
|
-
backgroundColor: "var(--ds-background-accent-teal-bolder-pressed, #
|
|
180
|
+
backgroundColor: "var(--ds-background-accent-teal-bolder-pressed, #164555)"
|
|
181
181
|
}
|
|
182
182
|
}),
|
|
183
183
|
'accent.blue.subtlest': (0, _react2.css)({
|
|
@@ -312,12 +312,12 @@ var backgroundActiveColorMap = {
|
|
|
312
312
|
}),
|
|
313
313
|
danger: (0, _react2.css)({
|
|
314
314
|
':active': {
|
|
315
|
-
backgroundColor: "var(--ds-background-danger-pressed, #
|
|
315
|
+
backgroundColor: "var(--ds-background-danger-pressed, #FD9891)"
|
|
316
316
|
}
|
|
317
317
|
}),
|
|
318
318
|
'danger.bold': (0, _react2.css)({
|
|
319
319
|
':active': {
|
|
320
|
-
backgroundColor: "var(--ds-background-danger-bold-pressed, #
|
|
320
|
+
backgroundColor: "var(--ds-background-danger-bold-pressed, #5D1F1A)"
|
|
321
321
|
}
|
|
322
322
|
}),
|
|
323
323
|
warning: (0, _react2.css)({
|
|
@@ -327,7 +327,7 @@ var backgroundActiveColorMap = {
|
|
|
327
327
|
}),
|
|
328
328
|
'warning.bold': (0, _react2.css)({
|
|
329
329
|
':active': {
|
|
330
|
-
backgroundColor: "var(--ds-background-warning-bold-pressed, #
|
|
330
|
+
backgroundColor: "var(--ds-background-warning-bold-pressed, #CF9F02)"
|
|
331
331
|
}
|
|
332
332
|
}),
|
|
333
333
|
success: (0, _react2.css)({
|
|
@@ -399,42 +399,42 @@ var backgroundHoverColorMap = {
|
|
|
399
399
|
}),
|
|
400
400
|
'accent.red.subtlest': (0, _react2.css)({
|
|
401
401
|
':hover': {
|
|
402
|
-
backgroundColor: "var(--ds-background-accent-red-subtlest-hovered, #
|
|
402
|
+
backgroundColor: "var(--ds-background-accent-red-subtlest-hovered, #FFD5D2)"
|
|
403
403
|
}
|
|
404
404
|
}),
|
|
405
405
|
'accent.red.subtler': (0, _react2.css)({
|
|
406
406
|
':hover': {
|
|
407
|
-
backgroundColor: "var(--ds-background-accent-red-subtler-hovered, #
|
|
407
|
+
backgroundColor: "var(--ds-background-accent-red-subtler-hovered, #FD9891)"
|
|
408
408
|
}
|
|
409
409
|
}),
|
|
410
410
|
'accent.red.subtle': (0, _react2.css)({
|
|
411
411
|
':hover': {
|
|
412
|
-
backgroundColor: "var(--ds-background-accent-red-subtle-hovered, #
|
|
412
|
+
backgroundColor: "var(--ds-background-accent-red-subtle-hovered, #FD9891)"
|
|
413
413
|
}
|
|
414
414
|
}),
|
|
415
415
|
'accent.red.bolder': (0, _react2.css)({
|
|
416
416
|
':hover': {
|
|
417
|
-
backgroundColor: "var(--ds-background-accent-red-bolder-hovered, #
|
|
417
|
+
backgroundColor: "var(--ds-background-accent-red-bolder-hovered, #AE2E24)"
|
|
418
418
|
}
|
|
419
419
|
}),
|
|
420
420
|
'accent.orange.subtlest': (0, _react2.css)({
|
|
421
421
|
':hover': {
|
|
422
|
-
backgroundColor: "var(--ds-background-accent-orange-subtlest-hovered, #
|
|
422
|
+
backgroundColor: "var(--ds-background-accent-orange-subtlest-hovered, #FEDEC8)"
|
|
423
423
|
}
|
|
424
424
|
}),
|
|
425
425
|
'accent.orange.subtler': (0, _react2.css)({
|
|
426
426
|
':hover': {
|
|
427
|
-
backgroundColor: "var(--ds-background-accent-orange-subtler-hovered, #
|
|
427
|
+
backgroundColor: "var(--ds-background-accent-orange-subtler-hovered, #FEC195)"
|
|
428
428
|
}
|
|
429
429
|
}),
|
|
430
430
|
'accent.orange.subtle': (0, _react2.css)({
|
|
431
431
|
':hover': {
|
|
432
|
-
backgroundColor: "var(--ds-background-accent-orange-subtle-hovered, #
|
|
432
|
+
backgroundColor: "var(--ds-background-accent-orange-subtle-hovered, #FEC195)"
|
|
433
433
|
}
|
|
434
434
|
}),
|
|
435
435
|
'accent.orange.bolder': (0, _react2.css)({
|
|
436
436
|
':hover': {
|
|
437
|
-
backgroundColor: "var(--ds-background-accent-orange-bolder-hovered, #
|
|
437
|
+
backgroundColor: "var(--ds-background-accent-orange-bolder-hovered, #A54800)"
|
|
438
438
|
}
|
|
439
439
|
}),
|
|
440
440
|
'accent.yellow.subtlest': (0, _react2.css)({
|
|
@@ -449,7 +449,7 @@ var backgroundHoverColorMap = {
|
|
|
449
449
|
}),
|
|
450
450
|
'accent.yellow.subtle': (0, _react2.css)({
|
|
451
451
|
':hover': {
|
|
452
|
-
backgroundColor: "var(--ds-background-accent-yellow-subtle-hovered, #
|
|
452
|
+
backgroundColor: "var(--ds-background-accent-yellow-subtle-hovered, #E2B203)"
|
|
453
453
|
}
|
|
454
454
|
}),
|
|
455
455
|
'accent.yellow.bolder': (0, _react2.css)({
|
|
@@ -479,22 +479,22 @@ var backgroundHoverColorMap = {
|
|
|
479
479
|
}),
|
|
480
480
|
'accent.teal.subtlest': (0, _react2.css)({
|
|
481
481
|
':hover': {
|
|
482
|
-
backgroundColor: "var(--ds-background-accent-teal-subtlest-hovered, #
|
|
482
|
+
backgroundColor: "var(--ds-background-accent-teal-subtlest-hovered, #C6EDFB)"
|
|
483
483
|
}
|
|
484
484
|
}),
|
|
485
485
|
'accent.teal.subtler': (0, _react2.css)({
|
|
486
486
|
':hover': {
|
|
487
|
-
backgroundColor: "var(--ds-background-accent-teal-subtler-hovered, #
|
|
487
|
+
backgroundColor: "var(--ds-background-accent-teal-subtler-hovered, #9DD9EE)"
|
|
488
488
|
}
|
|
489
489
|
}),
|
|
490
490
|
'accent.teal.subtle': (0, _react2.css)({
|
|
491
491
|
':hover': {
|
|
492
|
-
backgroundColor: "var(--ds-background-accent-teal-subtle-hovered, #
|
|
492
|
+
backgroundColor: "var(--ds-background-accent-teal-subtle-hovered, #9DD9EE)"
|
|
493
493
|
}
|
|
494
494
|
}),
|
|
495
495
|
'accent.teal.bolder': (0, _react2.css)({
|
|
496
496
|
':hover': {
|
|
497
|
-
backgroundColor: "var(--ds-background-accent-teal-bolder-hovered, #
|
|
497
|
+
backgroundColor: "var(--ds-background-accent-teal-bolder-hovered, #206A83)"
|
|
498
498
|
}
|
|
499
499
|
}),
|
|
500
500
|
'accent.blue.subtlest': (0, _react2.css)({
|
|
@@ -629,12 +629,12 @@ var backgroundHoverColorMap = {
|
|
|
629
629
|
}),
|
|
630
630
|
danger: (0, _react2.css)({
|
|
631
631
|
':hover': {
|
|
632
|
-
backgroundColor: "var(--ds-background-danger-hovered, #
|
|
632
|
+
backgroundColor: "var(--ds-background-danger-hovered, #FFD5D2)"
|
|
633
633
|
}
|
|
634
634
|
}),
|
|
635
635
|
'danger.bold': (0, _react2.css)({
|
|
636
636
|
':hover': {
|
|
637
|
-
backgroundColor: "var(--ds-background-danger-bold-hovered, #
|
|
637
|
+
backgroundColor: "var(--ds-background-danger-bold-hovered, #AE2E24)"
|
|
638
638
|
}
|
|
639
639
|
}),
|
|
640
640
|
warning: (0, _react2.css)({
|
|
@@ -644,7 +644,7 @@ var backgroundHoverColorMap = {
|
|
|
644
644
|
}),
|
|
645
645
|
'warning.bold': (0, _react2.css)({
|
|
646
646
|
':hover': {
|
|
647
|
-
backgroundColor: "var(--ds-background-warning-bold-hovered, #
|
|
647
|
+
backgroundColor: "var(--ds-background-warning-bold-hovered, #E2B203)"
|
|
648
648
|
}
|
|
649
649
|
}),
|
|
650
650
|
success: (0, _react2.css)({
|
|
@@ -129,11 +129,11 @@ var Text = function Text(_ref) {
|
|
|
129
129
|
var _default = exports.default = Text;
|
|
130
130
|
/**
|
|
131
131
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
132
|
-
* @codegen <<SignedSource::
|
|
132
|
+
* @codegen <<SignedSource::f42dabbb2f08c0ca0dd8a46fc3508937>>
|
|
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::ca98df97c16967b7984f4ad4d557cc48>>
|
|
137
137
|
*/
|
|
138
138
|
var fontSizeMap = {
|
|
139
139
|
'size.050': (0, _react2.css)({
|
|
@@ -223,11 +223,11 @@ var lineHeightMap = {
|
|
|
223
223
|
*/
|
|
224
224
|
/**
|
|
225
225
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
226
|
-
* @codegen <<SignedSource::
|
|
226
|
+
* @codegen <<SignedSource::95d4f240e36e302a634e8633a0782cba>>
|
|
227
227
|
* @codegenId colors
|
|
228
228
|
* @codegenCommand yarn codegen-styles
|
|
229
229
|
* @codegenParams ["text"]
|
|
230
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
230
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f1021f8d47ab63374e371ce18db72a1c>>
|
|
231
231
|
*/
|
|
232
232
|
var textColorMap = {
|
|
233
233
|
'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::9db207c6fd205f6abc46eeb73ba02789>>
|
|
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::f1021f8d47ab63374e371ce18db72a1c>>
|
|
15
15
|
*/
|
|
16
16
|
var _default = exports.default = {
|
|
17
17
|
'neutral.bold': 'inverse',
|
|
@@ -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::ed9784c5552e9d1f22b7cfe60aa11c75>>
|
|
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::f1021f8d47ab63374e371ce18db72a1c>>
|
|
56
56
|
*/
|
|
57
57
|
const backgroundActiveColorMap = {
|
|
58
58
|
'accent.lime.subtlest': css({
|
|
@@ -77,42 +77,42 @@ const backgroundActiveColorMap = {
|
|
|
77
77
|
}),
|
|
78
78
|
'accent.red.subtlest': css({
|
|
79
79
|
':active': {
|
|
80
|
-
backgroundColor: "var(--ds-background-accent-red-subtlest-pressed, #
|
|
80
|
+
backgroundColor: "var(--ds-background-accent-red-subtlest-pressed, #FD9891)"
|
|
81
81
|
}
|
|
82
82
|
}),
|
|
83
83
|
'accent.red.subtler': css({
|
|
84
84
|
':active': {
|
|
85
|
-
backgroundColor: "var(--ds-background-accent-red-subtler-pressed, #
|
|
85
|
+
backgroundColor: "var(--ds-background-accent-red-subtler-pressed, #F87168)"
|
|
86
86
|
}
|
|
87
87
|
}),
|
|
88
88
|
'accent.red.subtle': css({
|
|
89
89
|
':active': {
|
|
90
|
-
backgroundColor: "var(--ds-background-accent-red-subtle-pressed, #
|
|
90
|
+
backgroundColor: "var(--ds-background-accent-red-subtle-pressed, #FFD5D2)"
|
|
91
91
|
}
|
|
92
92
|
}),
|
|
93
93
|
'accent.red.bolder': css({
|
|
94
94
|
':active': {
|
|
95
|
-
backgroundColor: "var(--ds-background-accent-red-bolder-pressed, #
|
|
95
|
+
backgroundColor: "var(--ds-background-accent-red-bolder-pressed, #5D1F1A)"
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
'accent.orange.subtlest': css({
|
|
99
99
|
':active': {
|
|
100
|
-
backgroundColor: "var(--ds-background-accent-orange-subtlest-pressed, #
|
|
100
|
+
backgroundColor: "var(--ds-background-accent-orange-subtlest-pressed, #FEC195)"
|
|
101
101
|
}
|
|
102
102
|
}),
|
|
103
103
|
'accent.orange.subtler': css({
|
|
104
104
|
':active': {
|
|
105
|
-
backgroundColor: "var(--ds-background-accent-orange-subtler-pressed, #
|
|
105
|
+
backgroundColor: "var(--ds-background-accent-orange-subtler-pressed, #FEA362)"
|
|
106
106
|
}
|
|
107
107
|
}),
|
|
108
108
|
'accent.orange.subtle': css({
|
|
109
109
|
':active': {
|
|
110
|
-
backgroundColor: "var(--ds-background-accent-orange-subtle-pressed, #
|
|
110
|
+
backgroundColor: "var(--ds-background-accent-orange-subtle-pressed, #FEDEC8)"
|
|
111
111
|
}
|
|
112
112
|
}),
|
|
113
113
|
'accent.orange.bolder': css({
|
|
114
114
|
':active': {
|
|
115
|
-
backgroundColor: "var(--ds-background-accent-orange-bolder-pressed, #
|
|
115
|
+
backgroundColor: "var(--ds-background-accent-orange-bolder-pressed, #702E00)"
|
|
116
116
|
}
|
|
117
117
|
}),
|
|
118
118
|
'accent.yellow.subtlest': css({
|
|
@@ -127,7 +127,7 @@ const backgroundActiveColorMap = {
|
|
|
127
127
|
}),
|
|
128
128
|
'accent.yellow.subtle': css({
|
|
129
129
|
':active': {
|
|
130
|
-
backgroundColor: "var(--ds-background-accent-yellow-subtle-pressed, #
|
|
130
|
+
backgroundColor: "var(--ds-background-accent-yellow-subtle-pressed, #CF9F02)"
|
|
131
131
|
}
|
|
132
132
|
}),
|
|
133
133
|
'accent.yellow.bolder': css({
|
|
@@ -157,22 +157,22 @@ const backgroundActiveColorMap = {
|
|
|
157
157
|
}),
|
|
158
158
|
'accent.teal.subtlest': css({
|
|
159
159
|
':active': {
|
|
160
|
-
backgroundColor: "var(--ds-background-accent-teal-subtlest-pressed, #
|
|
160
|
+
backgroundColor: "var(--ds-background-accent-teal-subtlest-pressed, #9DD9EE)"
|
|
161
161
|
}
|
|
162
162
|
}),
|
|
163
163
|
'accent.teal.subtler': css({
|
|
164
164
|
':active': {
|
|
165
|
-
backgroundColor: "var(--ds-background-accent-teal-subtler-pressed, #
|
|
165
|
+
backgroundColor: "var(--ds-background-accent-teal-subtler-pressed, #6CC3E0)"
|
|
166
166
|
}
|
|
167
167
|
}),
|
|
168
168
|
'accent.teal.subtle': css({
|
|
169
169
|
':active': {
|
|
170
|
-
backgroundColor: "var(--ds-background-accent-teal-subtle-pressed, #
|
|
170
|
+
backgroundColor: "var(--ds-background-accent-teal-subtle-pressed, #C6EDFB)"
|
|
171
171
|
}
|
|
172
172
|
}),
|
|
173
173
|
'accent.teal.bolder': css({
|
|
174
174
|
':active': {
|
|
175
|
-
backgroundColor: "var(--ds-background-accent-teal-bolder-pressed, #
|
|
175
|
+
backgroundColor: "var(--ds-background-accent-teal-bolder-pressed, #164555)"
|
|
176
176
|
}
|
|
177
177
|
}),
|
|
178
178
|
'accent.blue.subtlest': css({
|
|
@@ -307,12 +307,12 @@ const backgroundActiveColorMap = {
|
|
|
307
307
|
}),
|
|
308
308
|
danger: css({
|
|
309
309
|
':active': {
|
|
310
|
-
backgroundColor: "var(--ds-background-danger-pressed, #
|
|
310
|
+
backgroundColor: "var(--ds-background-danger-pressed, #FD9891)"
|
|
311
311
|
}
|
|
312
312
|
}),
|
|
313
313
|
'danger.bold': css({
|
|
314
314
|
':active': {
|
|
315
|
-
backgroundColor: "var(--ds-background-danger-bold-pressed, #
|
|
315
|
+
backgroundColor: "var(--ds-background-danger-bold-pressed, #5D1F1A)"
|
|
316
316
|
}
|
|
317
317
|
}),
|
|
318
318
|
warning: css({
|
|
@@ -322,7 +322,7 @@ const backgroundActiveColorMap = {
|
|
|
322
322
|
}),
|
|
323
323
|
'warning.bold': css({
|
|
324
324
|
':active': {
|
|
325
|
-
backgroundColor: "var(--ds-background-warning-bold-pressed, #
|
|
325
|
+
backgroundColor: "var(--ds-background-warning-bold-pressed, #CF9F02)"
|
|
326
326
|
}
|
|
327
327
|
}),
|
|
328
328
|
success: css({
|
|
@@ -394,42 +394,42 @@ const backgroundHoverColorMap = {
|
|
|
394
394
|
}),
|
|
395
395
|
'accent.red.subtlest': css({
|
|
396
396
|
':hover': {
|
|
397
|
-
backgroundColor: "var(--ds-background-accent-red-subtlest-hovered, #
|
|
397
|
+
backgroundColor: "var(--ds-background-accent-red-subtlest-hovered, #FFD5D2)"
|
|
398
398
|
}
|
|
399
399
|
}),
|
|
400
400
|
'accent.red.subtler': css({
|
|
401
401
|
':hover': {
|
|
402
|
-
backgroundColor: "var(--ds-background-accent-red-subtler-hovered, #
|
|
402
|
+
backgroundColor: "var(--ds-background-accent-red-subtler-hovered, #FD9891)"
|
|
403
403
|
}
|
|
404
404
|
}),
|
|
405
405
|
'accent.red.subtle': css({
|
|
406
406
|
':hover': {
|
|
407
|
-
backgroundColor: "var(--ds-background-accent-red-subtle-hovered, #
|
|
407
|
+
backgroundColor: "var(--ds-background-accent-red-subtle-hovered, #FD9891)"
|
|
408
408
|
}
|
|
409
409
|
}),
|
|
410
410
|
'accent.red.bolder': css({
|
|
411
411
|
':hover': {
|
|
412
|
-
backgroundColor: "var(--ds-background-accent-red-bolder-hovered, #
|
|
412
|
+
backgroundColor: "var(--ds-background-accent-red-bolder-hovered, #AE2E24)"
|
|
413
413
|
}
|
|
414
414
|
}),
|
|
415
415
|
'accent.orange.subtlest': css({
|
|
416
416
|
':hover': {
|
|
417
|
-
backgroundColor: "var(--ds-background-accent-orange-subtlest-hovered, #
|
|
417
|
+
backgroundColor: "var(--ds-background-accent-orange-subtlest-hovered, #FEDEC8)"
|
|
418
418
|
}
|
|
419
419
|
}),
|
|
420
420
|
'accent.orange.subtler': css({
|
|
421
421
|
':hover': {
|
|
422
|
-
backgroundColor: "var(--ds-background-accent-orange-subtler-hovered, #
|
|
422
|
+
backgroundColor: "var(--ds-background-accent-orange-subtler-hovered, #FEC195)"
|
|
423
423
|
}
|
|
424
424
|
}),
|
|
425
425
|
'accent.orange.subtle': css({
|
|
426
426
|
':hover': {
|
|
427
|
-
backgroundColor: "var(--ds-background-accent-orange-subtle-hovered, #
|
|
427
|
+
backgroundColor: "var(--ds-background-accent-orange-subtle-hovered, #FEC195)"
|
|
428
428
|
}
|
|
429
429
|
}),
|
|
430
430
|
'accent.orange.bolder': css({
|
|
431
431
|
':hover': {
|
|
432
|
-
backgroundColor: "var(--ds-background-accent-orange-bolder-hovered, #
|
|
432
|
+
backgroundColor: "var(--ds-background-accent-orange-bolder-hovered, #A54800)"
|
|
433
433
|
}
|
|
434
434
|
}),
|
|
435
435
|
'accent.yellow.subtlest': css({
|
|
@@ -444,7 +444,7 @@ const backgroundHoverColorMap = {
|
|
|
444
444
|
}),
|
|
445
445
|
'accent.yellow.subtle': css({
|
|
446
446
|
':hover': {
|
|
447
|
-
backgroundColor: "var(--ds-background-accent-yellow-subtle-hovered, #
|
|
447
|
+
backgroundColor: "var(--ds-background-accent-yellow-subtle-hovered, #E2B203)"
|
|
448
448
|
}
|
|
449
449
|
}),
|
|
450
450
|
'accent.yellow.bolder': css({
|
|
@@ -474,22 +474,22 @@ const backgroundHoverColorMap = {
|
|
|
474
474
|
}),
|
|
475
475
|
'accent.teal.subtlest': css({
|
|
476
476
|
':hover': {
|
|
477
|
-
backgroundColor: "var(--ds-background-accent-teal-subtlest-hovered, #
|
|
477
|
+
backgroundColor: "var(--ds-background-accent-teal-subtlest-hovered, #C6EDFB)"
|
|
478
478
|
}
|
|
479
479
|
}),
|
|
480
480
|
'accent.teal.subtler': css({
|
|
481
481
|
':hover': {
|
|
482
|
-
backgroundColor: "var(--ds-background-accent-teal-subtler-hovered, #
|
|
482
|
+
backgroundColor: "var(--ds-background-accent-teal-subtler-hovered, #9DD9EE)"
|
|
483
483
|
}
|
|
484
484
|
}),
|
|
485
485
|
'accent.teal.subtle': css({
|
|
486
486
|
':hover': {
|
|
487
|
-
backgroundColor: "var(--ds-background-accent-teal-subtle-hovered, #
|
|
487
|
+
backgroundColor: "var(--ds-background-accent-teal-subtle-hovered, #9DD9EE)"
|
|
488
488
|
}
|
|
489
489
|
}),
|
|
490
490
|
'accent.teal.bolder': css({
|
|
491
491
|
':hover': {
|
|
492
|
-
backgroundColor: "var(--ds-background-accent-teal-bolder-hovered, #
|
|
492
|
+
backgroundColor: "var(--ds-background-accent-teal-bolder-hovered, #206A83)"
|
|
493
493
|
}
|
|
494
494
|
}),
|
|
495
495
|
'accent.blue.subtlest': css({
|
|
@@ -624,12 +624,12 @@ const backgroundHoverColorMap = {
|
|
|
624
624
|
}),
|
|
625
625
|
danger: css({
|
|
626
626
|
':hover': {
|
|
627
|
-
backgroundColor: "var(--ds-background-danger-hovered, #
|
|
627
|
+
backgroundColor: "var(--ds-background-danger-hovered, #FFD5D2)"
|
|
628
628
|
}
|
|
629
629
|
}),
|
|
630
630
|
'danger.bold': css({
|
|
631
631
|
':hover': {
|
|
632
|
-
backgroundColor: "var(--ds-background-danger-bold-hovered, #
|
|
632
|
+
backgroundColor: "var(--ds-background-danger-bold-hovered, #AE2E24)"
|
|
633
633
|
}
|
|
634
634
|
}),
|
|
635
635
|
warning: css({
|
|
@@ -639,7 +639,7 @@ const backgroundHoverColorMap = {
|
|
|
639
639
|
}),
|
|
640
640
|
'warning.bold': css({
|
|
641
641
|
':hover': {
|
|
642
|
-
backgroundColor: "var(--ds-background-warning-bold-hovered, #
|
|
642
|
+
backgroundColor: "var(--ds-background-warning-bold-hovered, #E2B203)"
|
|
643
643
|
}
|
|
644
644
|
}),
|
|
645
645
|
success: css({
|
|
@@ -120,11 +120,11 @@ export default Text;
|
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
122
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
123
|
-
* @codegen <<SignedSource::
|
|
123
|
+
* @codegen <<SignedSource::f42dabbb2f08c0ca0dd8a46fc3508937>>
|
|
124
124
|
* @codegenId typography
|
|
125
125
|
* @codegenCommand yarn codegen-styles
|
|
126
126
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight"]
|
|
127
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::
|
|
127
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::ca98df97c16967b7984f4ad4d557cc48>>
|
|
128
128
|
*/
|
|
129
129
|
const fontSizeMap = {
|
|
130
130
|
'size.050': css({
|
|
@@ -214,11 +214,11 @@ const lineHeightMap = {
|
|
|
214
214
|
*/
|
|
215
215
|
/**
|
|
216
216
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
217
|
-
* @codegen <<SignedSource::
|
|
217
|
+
* @codegen <<SignedSource::95d4f240e36e302a634e8633a0782cba>>
|
|
218
218
|
* @codegenId colors
|
|
219
219
|
* @codegenCommand yarn codegen-styles
|
|
220
220
|
* @codegenParams ["text"]
|
|
221
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
221
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f1021f8d47ab63374e371ce18db72a1c>>
|
|
222
222
|
*/
|
|
223
223
|
const textColorMap = {
|
|
224
224
|
'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::9db207c6fd205f6abc46eeb73ba02789>>
|
|
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::f1021f8d47ab63374e371ce18db72a1c>>
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
'neutral.bold': 'inverse',
|
|
@@ -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::ed9784c5552e9d1f22b7cfe60aa11c75>>
|
|
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::f1021f8d47ab63374e371ce18db72a1c>>
|
|
55
55
|
*/
|
|
56
56
|
var backgroundActiveColorMap = {
|
|
57
57
|
'accent.lime.subtlest': css({
|
|
@@ -76,42 +76,42 @@ var backgroundActiveColorMap = {
|
|
|
76
76
|
}),
|
|
77
77
|
'accent.red.subtlest': css({
|
|
78
78
|
':active': {
|
|
79
|
-
backgroundColor: "var(--ds-background-accent-red-subtlest-pressed, #
|
|
79
|
+
backgroundColor: "var(--ds-background-accent-red-subtlest-pressed, #FD9891)"
|
|
80
80
|
}
|
|
81
81
|
}),
|
|
82
82
|
'accent.red.subtler': css({
|
|
83
83
|
':active': {
|
|
84
|
-
backgroundColor: "var(--ds-background-accent-red-subtler-pressed, #
|
|
84
|
+
backgroundColor: "var(--ds-background-accent-red-subtler-pressed, #F87168)"
|
|
85
85
|
}
|
|
86
86
|
}),
|
|
87
87
|
'accent.red.subtle': css({
|
|
88
88
|
':active': {
|
|
89
|
-
backgroundColor: "var(--ds-background-accent-red-subtle-pressed, #
|
|
89
|
+
backgroundColor: "var(--ds-background-accent-red-subtle-pressed, #FFD5D2)"
|
|
90
90
|
}
|
|
91
91
|
}),
|
|
92
92
|
'accent.red.bolder': css({
|
|
93
93
|
':active': {
|
|
94
|
-
backgroundColor: "var(--ds-background-accent-red-bolder-pressed, #
|
|
94
|
+
backgroundColor: "var(--ds-background-accent-red-bolder-pressed, #5D1F1A)"
|
|
95
95
|
}
|
|
96
96
|
}),
|
|
97
97
|
'accent.orange.subtlest': css({
|
|
98
98
|
':active': {
|
|
99
|
-
backgroundColor: "var(--ds-background-accent-orange-subtlest-pressed, #
|
|
99
|
+
backgroundColor: "var(--ds-background-accent-orange-subtlest-pressed, #FEC195)"
|
|
100
100
|
}
|
|
101
101
|
}),
|
|
102
102
|
'accent.orange.subtler': css({
|
|
103
103
|
':active': {
|
|
104
|
-
backgroundColor: "var(--ds-background-accent-orange-subtler-pressed, #
|
|
104
|
+
backgroundColor: "var(--ds-background-accent-orange-subtler-pressed, #FEA362)"
|
|
105
105
|
}
|
|
106
106
|
}),
|
|
107
107
|
'accent.orange.subtle': css({
|
|
108
108
|
':active': {
|
|
109
|
-
backgroundColor: "var(--ds-background-accent-orange-subtle-pressed, #
|
|
109
|
+
backgroundColor: "var(--ds-background-accent-orange-subtle-pressed, #FEDEC8)"
|
|
110
110
|
}
|
|
111
111
|
}),
|
|
112
112
|
'accent.orange.bolder': css({
|
|
113
113
|
':active': {
|
|
114
|
-
backgroundColor: "var(--ds-background-accent-orange-bolder-pressed, #
|
|
114
|
+
backgroundColor: "var(--ds-background-accent-orange-bolder-pressed, #702E00)"
|
|
115
115
|
}
|
|
116
116
|
}),
|
|
117
117
|
'accent.yellow.subtlest': css({
|
|
@@ -126,7 +126,7 @@ var backgroundActiveColorMap = {
|
|
|
126
126
|
}),
|
|
127
127
|
'accent.yellow.subtle': css({
|
|
128
128
|
':active': {
|
|
129
|
-
backgroundColor: "var(--ds-background-accent-yellow-subtle-pressed, #
|
|
129
|
+
backgroundColor: "var(--ds-background-accent-yellow-subtle-pressed, #CF9F02)"
|
|
130
130
|
}
|
|
131
131
|
}),
|
|
132
132
|
'accent.yellow.bolder': css({
|
|
@@ -156,22 +156,22 @@ var backgroundActiveColorMap = {
|
|
|
156
156
|
}),
|
|
157
157
|
'accent.teal.subtlest': css({
|
|
158
158
|
':active': {
|
|
159
|
-
backgroundColor: "var(--ds-background-accent-teal-subtlest-pressed, #
|
|
159
|
+
backgroundColor: "var(--ds-background-accent-teal-subtlest-pressed, #9DD9EE)"
|
|
160
160
|
}
|
|
161
161
|
}),
|
|
162
162
|
'accent.teal.subtler': css({
|
|
163
163
|
':active': {
|
|
164
|
-
backgroundColor: "var(--ds-background-accent-teal-subtler-pressed, #
|
|
164
|
+
backgroundColor: "var(--ds-background-accent-teal-subtler-pressed, #6CC3E0)"
|
|
165
165
|
}
|
|
166
166
|
}),
|
|
167
167
|
'accent.teal.subtle': css({
|
|
168
168
|
':active': {
|
|
169
|
-
backgroundColor: "var(--ds-background-accent-teal-subtle-pressed, #
|
|
169
|
+
backgroundColor: "var(--ds-background-accent-teal-subtle-pressed, #C6EDFB)"
|
|
170
170
|
}
|
|
171
171
|
}),
|
|
172
172
|
'accent.teal.bolder': css({
|
|
173
173
|
':active': {
|
|
174
|
-
backgroundColor: "var(--ds-background-accent-teal-bolder-pressed, #
|
|
174
|
+
backgroundColor: "var(--ds-background-accent-teal-bolder-pressed, #164555)"
|
|
175
175
|
}
|
|
176
176
|
}),
|
|
177
177
|
'accent.blue.subtlest': css({
|
|
@@ -306,12 +306,12 @@ var backgroundActiveColorMap = {
|
|
|
306
306
|
}),
|
|
307
307
|
danger: css({
|
|
308
308
|
':active': {
|
|
309
|
-
backgroundColor: "var(--ds-background-danger-pressed, #
|
|
309
|
+
backgroundColor: "var(--ds-background-danger-pressed, #FD9891)"
|
|
310
310
|
}
|
|
311
311
|
}),
|
|
312
312
|
'danger.bold': css({
|
|
313
313
|
':active': {
|
|
314
|
-
backgroundColor: "var(--ds-background-danger-bold-pressed, #
|
|
314
|
+
backgroundColor: "var(--ds-background-danger-bold-pressed, #5D1F1A)"
|
|
315
315
|
}
|
|
316
316
|
}),
|
|
317
317
|
warning: css({
|
|
@@ -321,7 +321,7 @@ var backgroundActiveColorMap = {
|
|
|
321
321
|
}),
|
|
322
322
|
'warning.bold': css({
|
|
323
323
|
':active': {
|
|
324
|
-
backgroundColor: "var(--ds-background-warning-bold-pressed, #
|
|
324
|
+
backgroundColor: "var(--ds-background-warning-bold-pressed, #CF9F02)"
|
|
325
325
|
}
|
|
326
326
|
}),
|
|
327
327
|
success: css({
|
|
@@ -393,42 +393,42 @@ var backgroundHoverColorMap = {
|
|
|
393
393
|
}),
|
|
394
394
|
'accent.red.subtlest': css({
|
|
395
395
|
':hover': {
|
|
396
|
-
backgroundColor: "var(--ds-background-accent-red-subtlest-hovered, #
|
|
396
|
+
backgroundColor: "var(--ds-background-accent-red-subtlest-hovered, #FFD5D2)"
|
|
397
397
|
}
|
|
398
398
|
}),
|
|
399
399
|
'accent.red.subtler': css({
|
|
400
400
|
':hover': {
|
|
401
|
-
backgroundColor: "var(--ds-background-accent-red-subtler-hovered, #
|
|
401
|
+
backgroundColor: "var(--ds-background-accent-red-subtler-hovered, #FD9891)"
|
|
402
402
|
}
|
|
403
403
|
}),
|
|
404
404
|
'accent.red.subtle': css({
|
|
405
405
|
':hover': {
|
|
406
|
-
backgroundColor: "var(--ds-background-accent-red-subtle-hovered, #
|
|
406
|
+
backgroundColor: "var(--ds-background-accent-red-subtle-hovered, #FD9891)"
|
|
407
407
|
}
|
|
408
408
|
}),
|
|
409
409
|
'accent.red.bolder': css({
|
|
410
410
|
':hover': {
|
|
411
|
-
backgroundColor: "var(--ds-background-accent-red-bolder-hovered, #
|
|
411
|
+
backgroundColor: "var(--ds-background-accent-red-bolder-hovered, #AE2E24)"
|
|
412
412
|
}
|
|
413
413
|
}),
|
|
414
414
|
'accent.orange.subtlest': css({
|
|
415
415
|
':hover': {
|
|
416
|
-
backgroundColor: "var(--ds-background-accent-orange-subtlest-hovered, #
|
|
416
|
+
backgroundColor: "var(--ds-background-accent-orange-subtlest-hovered, #FEDEC8)"
|
|
417
417
|
}
|
|
418
418
|
}),
|
|
419
419
|
'accent.orange.subtler': css({
|
|
420
420
|
':hover': {
|
|
421
|
-
backgroundColor: "var(--ds-background-accent-orange-subtler-hovered, #
|
|
421
|
+
backgroundColor: "var(--ds-background-accent-orange-subtler-hovered, #FEC195)"
|
|
422
422
|
}
|
|
423
423
|
}),
|
|
424
424
|
'accent.orange.subtle': css({
|
|
425
425
|
':hover': {
|
|
426
|
-
backgroundColor: "var(--ds-background-accent-orange-subtle-hovered, #
|
|
426
|
+
backgroundColor: "var(--ds-background-accent-orange-subtle-hovered, #FEC195)"
|
|
427
427
|
}
|
|
428
428
|
}),
|
|
429
429
|
'accent.orange.bolder': css({
|
|
430
430
|
':hover': {
|
|
431
|
-
backgroundColor: "var(--ds-background-accent-orange-bolder-hovered, #
|
|
431
|
+
backgroundColor: "var(--ds-background-accent-orange-bolder-hovered, #A54800)"
|
|
432
432
|
}
|
|
433
433
|
}),
|
|
434
434
|
'accent.yellow.subtlest': css({
|
|
@@ -443,7 +443,7 @@ var backgroundHoverColorMap = {
|
|
|
443
443
|
}),
|
|
444
444
|
'accent.yellow.subtle': css({
|
|
445
445
|
':hover': {
|
|
446
|
-
backgroundColor: "var(--ds-background-accent-yellow-subtle-hovered, #
|
|
446
|
+
backgroundColor: "var(--ds-background-accent-yellow-subtle-hovered, #E2B203)"
|
|
447
447
|
}
|
|
448
448
|
}),
|
|
449
449
|
'accent.yellow.bolder': css({
|
|
@@ -473,22 +473,22 @@ var backgroundHoverColorMap = {
|
|
|
473
473
|
}),
|
|
474
474
|
'accent.teal.subtlest': css({
|
|
475
475
|
':hover': {
|
|
476
|
-
backgroundColor: "var(--ds-background-accent-teal-subtlest-hovered, #
|
|
476
|
+
backgroundColor: "var(--ds-background-accent-teal-subtlest-hovered, #C6EDFB)"
|
|
477
477
|
}
|
|
478
478
|
}),
|
|
479
479
|
'accent.teal.subtler': css({
|
|
480
480
|
':hover': {
|
|
481
|
-
backgroundColor: "var(--ds-background-accent-teal-subtler-hovered, #
|
|
481
|
+
backgroundColor: "var(--ds-background-accent-teal-subtler-hovered, #9DD9EE)"
|
|
482
482
|
}
|
|
483
483
|
}),
|
|
484
484
|
'accent.teal.subtle': css({
|
|
485
485
|
':hover': {
|
|
486
|
-
backgroundColor: "var(--ds-background-accent-teal-subtle-hovered, #
|
|
486
|
+
backgroundColor: "var(--ds-background-accent-teal-subtle-hovered, #9DD9EE)"
|
|
487
487
|
}
|
|
488
488
|
}),
|
|
489
489
|
'accent.teal.bolder': css({
|
|
490
490
|
':hover': {
|
|
491
|
-
backgroundColor: "var(--ds-background-accent-teal-bolder-hovered, #
|
|
491
|
+
backgroundColor: "var(--ds-background-accent-teal-bolder-hovered, #206A83)"
|
|
492
492
|
}
|
|
493
493
|
}),
|
|
494
494
|
'accent.blue.subtlest': css({
|
|
@@ -623,12 +623,12 @@ var backgroundHoverColorMap = {
|
|
|
623
623
|
}),
|
|
624
624
|
danger: css({
|
|
625
625
|
':hover': {
|
|
626
|
-
backgroundColor: "var(--ds-background-danger-hovered, #
|
|
626
|
+
backgroundColor: "var(--ds-background-danger-hovered, #FFD5D2)"
|
|
627
627
|
}
|
|
628
628
|
}),
|
|
629
629
|
'danger.bold': css({
|
|
630
630
|
':hover': {
|
|
631
|
-
backgroundColor: "var(--ds-background-danger-bold-hovered, #
|
|
631
|
+
backgroundColor: "var(--ds-background-danger-bold-hovered, #AE2E24)"
|
|
632
632
|
}
|
|
633
633
|
}),
|
|
634
634
|
warning: css({
|
|
@@ -638,7 +638,7 @@ var backgroundHoverColorMap = {
|
|
|
638
638
|
}),
|
|
639
639
|
'warning.bold': css({
|
|
640
640
|
':hover': {
|
|
641
|
-
backgroundColor: "var(--ds-background-warning-bold-hovered, #
|
|
641
|
+
backgroundColor: "var(--ds-background-warning-bold-hovered, #E2B203)"
|
|
642
642
|
}
|
|
643
643
|
}),
|
|
644
644
|
success: css({
|
|
@@ -123,11 +123,11 @@ export default Text;
|
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
126
|
-
* @codegen <<SignedSource::
|
|
126
|
+
* @codegen <<SignedSource::f42dabbb2f08c0ca0dd8a46fc3508937>>
|
|
127
127
|
* @codegenId typography
|
|
128
128
|
* @codegenCommand yarn codegen-styles
|
|
129
129
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight"]
|
|
130
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::
|
|
130
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::ca98df97c16967b7984f4ad4d557cc48>>
|
|
131
131
|
*/
|
|
132
132
|
var fontSizeMap = {
|
|
133
133
|
'size.050': css({
|
|
@@ -217,11 +217,11 @@ var 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::95d4f240e36e302a634e8633a0782cba>>
|
|
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::f1021f8d47ab63374e371ce18db72a1c>>
|
|
225
225
|
*/
|
|
226
226
|
var 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::9db207c6fd205f6abc46eeb73ba02789>>
|
|
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::f1021f8d47ab63374e371ce18db72a1c>>
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
'neutral.bold': 'inverse',
|
|
@@ -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::f42dabbb2f08c0ca0dd8a46fc3508937>>
|
|
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::ca98df97c16967b7984f4ad4d557cc48>>
|
|
89
89
|
*/
|
|
90
90
|
declare const fontSizeMap: {
|
|
91
91
|
'size.050': import("@emotion/react").SerializedStyles;
|
|
@@ -129,11 +129,11 @@ export type LineHeight = keyof typeof lineHeightMap;
|
|
|
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::95d4f240e36e302a634e8633a0782cba>>
|
|
133
133
|
* @codegenId colors
|
|
134
134
|
* @codegenCommand yarn codegen-styles
|
|
135
135
|
* @codegenParams ["text"]
|
|
136
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
136
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f1021f8d47ab63374e371ce18db72a1c>>
|
|
137
137
|
*/
|
|
138
138
|
declare const textColorMap: {
|
|
139
139
|
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::9db207c6fd205f6abc46eeb73ba02789>>
|
|
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::f1021f8d47ab63374e371ce18db72a1c>>
|
|
9
9
|
*/
|
|
10
10
|
declare const _default: {
|
|
11
11
|
readonly 'neutral.bold': "inverse";
|
|
@@ -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::f42dabbb2f08c0ca0dd8a46fc3508937>>
|
|
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::ca98df97c16967b7984f4ad4d557cc48>>
|
|
94
94
|
*/
|
|
95
95
|
declare const fontSizeMap: {
|
|
96
96
|
'size.050': import("@emotion/react").SerializedStyles;
|
|
@@ -134,11 +134,11 @@ export type LineHeight = keyof typeof lineHeightMap;
|
|
|
134
134
|
*/
|
|
135
135
|
/**
|
|
136
136
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
137
|
-
* @codegen <<SignedSource::
|
|
137
|
+
* @codegen <<SignedSource::95d4f240e36e302a634e8633a0782cba>>
|
|
138
138
|
* @codegenId colors
|
|
139
139
|
* @codegenCommand yarn codegen-styles
|
|
140
140
|
* @codegenParams ["text"]
|
|
141
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
141
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f1021f8d47ab63374e371ce18db72a1c>>
|
|
142
142
|
*/
|
|
143
143
|
declare const textColorMap: {
|
|
144
144
|
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::9db207c6fd205f6abc46eeb73ba02789>>
|
|
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::f1021f8d47ab63374e371ce18db72a1c>>
|
|
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": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
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.27.0",
|
|
29
29
|
"@babel/runtime": "^7.0.0",
|
|
30
30
|
"@emotion/react": "^11.7.1",
|
|
31
31
|
"tiny-invariant": "^1.2.0"
|
|
@@ -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::ed9784c5552e9d1f22b7cfe60aa11c75>>
|
|
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::f1021f8d47ab63374e371ce18db72a1c>>
|
|
78
78
|
*/
|
|
79
79
|
const backgroundActiveColorMap = {
|
|
80
80
|
'accent.lime.subtlest': css({
|
|
@@ -189,11 +189,11 @@ export default Text;
|
|
|
189
189
|
|
|
190
190
|
/**
|
|
191
191
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
192
|
-
* @codegen <<SignedSource::
|
|
192
|
+
* @codegen <<SignedSource::f42dabbb2f08c0ca0dd8a46fc3508937>>
|
|
193
193
|
* @codegenId typography
|
|
194
194
|
* @codegenCommand yarn codegen-styles
|
|
195
195
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight"]
|
|
196
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::
|
|
196
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography.tsx <<SignedSource::ca98df97c16967b7984f4ad4d557cc48>>
|
|
197
197
|
*/
|
|
198
198
|
const fontSizeMap = {
|
|
199
199
|
'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::95d4f240e36e302a634e8633a0782cba>>
|
|
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::f1021f8d47ab63374e371ce18db72a1c>>
|
|
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::9db207c6fd205f6abc46eeb73ba02789>>
|
|
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::f1021f8d47ab63374e371ce18db72a1c>>
|
|
9
9
|
*/
|
|
10
10
|
export default {
|
|
11
11
|
'neutral.bold': 'inverse',
|