@atlaskit/tokens 0.10.30 → 0.10.32
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 +14 -0
- package/css/atlassian-dark.css +5 -1
- package/css/atlassian-legacy-dark.css +5 -1
- package/css/atlassian-legacy-light.css +27 -23
- package/css/atlassian-light.css +7 -3
- package/dist/cjs/artifacts/palettes-raw/legacy-palette.js +22 -5
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +45 -3
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +45 -3
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +64 -22
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +49 -7
- package/dist/cjs/artifacts/typescript/atlassian-dark-token-names.js +3 -1
- package/dist/cjs/artifacts/typescript/atlassian-legacy-dark-token-names.js +3 -1
- package/dist/cjs/artifacts/typescript/atlassian-legacy-light-token-names.js +3 -1
- package/dist/cjs/artifacts/typescript/atlassian-light-token-default-values.js +4 -2
- package/dist/cjs/artifacts/typescript/atlassian-light-token-names.js +3 -1
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/palettes/legacy-palette.js +9 -2
- package/dist/cjs/tokens/atlassian-dark/elevation/shadow.js +31 -21
- package/dist/cjs/tokens/atlassian-legacy-dark/elevation/shadow.js +31 -21
- package/dist/cjs/tokens/atlassian-legacy-light/color/background.js +8 -7
- package/dist/cjs/tokens/atlassian-legacy-light/color/text.js +2 -2
- package/dist/cjs/tokens/atlassian-legacy-light/elevation/shadow.js +27 -17
- package/dist/cjs/tokens/atlassian-light/elevation/shadow.js +27 -17
- package/dist/cjs/tokens/default/elevation/shadow.js +23 -5
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/palettes-raw/legacy-palette.js +22 -5
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +45 -3
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +45 -3
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +64 -22
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +49 -7
- package/dist/es2019/artifacts/typescript/atlassian-dark-token-names.js +3 -1
- package/dist/es2019/artifacts/typescript/atlassian-legacy-dark-token-names.js +3 -1
- package/dist/es2019/artifacts/typescript/atlassian-legacy-light-token-names.js +3 -1
- package/dist/es2019/artifacts/typescript/atlassian-light-token-default-values.js +4 -2
- package/dist/es2019/artifacts/typescript/atlassian-light-token-names.js +3 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/palettes/legacy-palette.js +9 -2
- package/dist/es2019/tokens/atlassian-dark/elevation/shadow.js +31 -21
- package/dist/es2019/tokens/atlassian-legacy-dark/elevation/shadow.js +31 -21
- package/dist/es2019/tokens/atlassian-legacy-light/color/background.js +8 -7
- package/dist/es2019/tokens/atlassian-legacy-light/color/text.js +2 -2
- package/dist/es2019/tokens/atlassian-legacy-light/elevation/shadow.js +27 -17
- package/dist/es2019/tokens/atlassian-light/elevation/shadow.js +27 -17
- package/dist/es2019/tokens/default/elevation/shadow.js +23 -5
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/palettes-raw/legacy-palette.js +22 -5
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +45 -3
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +45 -3
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +64 -22
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +49 -7
- package/dist/esm/artifacts/typescript/atlassian-dark-token-names.js +3 -1
- package/dist/esm/artifacts/typescript/atlassian-legacy-dark-token-names.js +3 -1
- package/dist/esm/artifacts/typescript/atlassian-legacy-light-token-names.js +3 -1
- package/dist/esm/artifacts/typescript/atlassian-light-token-default-values.js +4 -2
- package/dist/esm/artifacts/typescript/atlassian-light-token-names.js +3 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/palettes/legacy-palette.js +9 -2
- package/dist/esm/tokens/atlassian-dark/elevation/shadow.js +31 -21
- package/dist/esm/tokens/atlassian-legacy-dark/elevation/shadow.js +31 -21
- package/dist/esm/tokens/atlassian-legacy-light/color/background.js +8 -7
- package/dist/esm/tokens/atlassian-legacy-light/color/text.js +2 -2
- package/dist/esm/tokens/atlassian-legacy-light/elevation/shadow.js +27 -17
- package/dist/esm/tokens/atlassian-light/elevation/shadow.js +27 -17
- package/dist/esm/tokens/default/elevation/shadow.js +23 -5
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/palettes-raw/legacy-palette.d.ts +1 -1
- package/dist/types/artifacts/token-default-values.d.ts +3 -1
- package/dist/types/artifacts/token-names.d.ts +2 -0
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
- package/dist/types/artifacts/typescript/atlassian-dark-token-names.d.ts +5 -1
- package/dist/types/artifacts/typescript/atlassian-dark-types-internal.d.ts +2 -2
- package/dist/types/artifacts/typescript/atlassian-dark-types.d.ts +2 -2
- package/dist/types/artifacts/typescript/atlassian-legacy-dark-token-names.d.ts +5 -1
- package/dist/types/artifacts/typescript/atlassian-legacy-dark-types-internal.d.ts +2 -2
- package/dist/types/artifacts/typescript/atlassian-legacy-dark-types.d.ts +2 -2
- package/dist/types/artifacts/typescript/atlassian-legacy-light-token-names.d.ts +5 -1
- package/dist/types/artifacts/typescript/atlassian-legacy-light-types-internal.d.ts +2 -2
- package/dist/types/artifacts/typescript/atlassian-legacy-light-types.d.ts +2 -2
- package/dist/types/artifacts/typescript/atlassian-light-token-default-values.d.ts +4 -2
- package/dist/types/artifacts/typescript/atlassian-light-token-names.d.ts +5 -1
- package/dist/types/artifacts/typescript/atlassian-light-types-internal.d.ts +2 -2
- package/dist/types/artifacts/typescript/atlassian-light-types.d.ts +2 -2
- package/dist/types/palettes/legacy-palette.d.ts +1 -1
- package/dist/types/tokens/atlassian-legacy-dark/utility/utility.d.ts +1 -1
- package/dist/types/tokens/atlassian-legacy-light/utility/utility.d.ts +1 -1
- package/dist/types/types.d.ts +5 -1
- package/dist/types-ts4.0/artifacts/palettes-raw/legacy-palette.d.ts +1 -1
- package/dist/types-ts4.0/artifacts/token-default-values.d.ts +3 -1
- package/dist/types-ts4.0/artifacts/token-names.d.ts +2 -0
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
- package/dist/types-ts4.0/artifacts/typescript/atlassian-dark-token-names.d.ts +5 -1
- package/dist/types-ts4.0/artifacts/typescript/atlassian-dark-types-internal.d.ts +2 -2
- package/dist/types-ts4.0/artifacts/typescript/atlassian-dark-types.d.ts +2 -2
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-dark-token-names.d.ts +5 -1
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-dark-types-internal.d.ts +2 -2
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-dark-types.d.ts +2 -2
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-light-token-names.d.ts +5 -1
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-light-types-internal.d.ts +2 -2
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-light-types.d.ts +2 -2
- package/dist/types-ts4.0/artifacts/typescript/atlassian-light-token-default-values.d.ts +4 -2
- package/dist/types-ts4.0/artifacts/typescript/atlassian-light-token-names.d.ts +5 -1
- package/dist/types-ts4.0/artifacts/typescript/atlassian-light-types-internal.d.ts +2 -2
- package/dist/types-ts4.0/artifacts/typescript/atlassian-light-types.d.ts +2 -2
- package/dist/types-ts4.0/palettes/legacy-palette.d.ts +1 -1
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/utility/utility.d.ts +1 -1
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/utility/utility.d.ts +1 -1
- package/dist/types-ts4.0/types.d.ts +5 -1
- package/package.json +7 -5
- package/report.api.md +4 -0
- package/tmp/api-report-tmp.d.ts +4 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::cebe4ed5e9e0dc70bed7437dafe3c98c>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
var tokens = [{
|
|
@@ -409,7 +409,7 @@ var tokens = [{
|
|
|
409
409
|
"introduced": "0.6.0",
|
|
410
410
|
"description": "Use for secondary text, such as navigation, subtle button links, input field labels, and all caps subheadings."
|
|
411
411
|
},
|
|
412
|
-
"value": "#
|
|
412
|
+
"value": "#42526E",
|
|
413
413
|
"filePath": "src/tokens/atlassian-legacy-light/color/text.tsx",
|
|
414
414
|
"isSource": true,
|
|
415
415
|
"original": {
|
|
@@ -419,7 +419,7 @@ var tokens = [{
|
|
|
419
419
|
"introduced": "0.6.0",
|
|
420
420
|
"description": "Use for secondary text, such as navigation, subtle button links, input field labels, and all caps subheadings."
|
|
421
421
|
},
|
|
422
|
-
"value": "
|
|
422
|
+
"value": "N500"
|
|
423
423
|
},
|
|
424
424
|
"name": "color.text.subtle",
|
|
425
425
|
"path": ["color", "text", "subtle"]
|
|
@@ -556,7 +556,7 @@ var tokens = [{
|
|
|
556
556
|
"introduced": "0.0.15",
|
|
557
557
|
"description": "Use for text to emphasize caution, such as in moved lozenges."
|
|
558
558
|
},
|
|
559
|
-
"value": "#
|
|
559
|
+
"value": "#974F0C",
|
|
560
560
|
"filePath": "src/tokens/atlassian-legacy-light/color/text.tsx",
|
|
561
561
|
"isSource": true,
|
|
562
562
|
"original": {
|
|
@@ -566,7 +566,7 @@ var tokens = [{
|
|
|
566
566
|
"introduced": "0.0.15",
|
|
567
567
|
"description": "Use for text to emphasize caution, such as in moved lozenges."
|
|
568
568
|
},
|
|
569
|
-
"value": "
|
|
569
|
+
"value": "O800"
|
|
570
570
|
},
|
|
571
571
|
"name": "color.text.warning.[default]",
|
|
572
572
|
"path": ["color", "text", "warning", "[default]"]
|
|
@@ -3169,7 +3169,7 @@ var tokens = [{
|
|
|
3169
3169
|
"introduced": "0.6.0",
|
|
3170
3170
|
"description": "The default background for neutral elements, such as default buttons."
|
|
3171
3171
|
},
|
|
3172
|
-
"value": "#
|
|
3172
|
+
"value": "#DFE1E6",
|
|
3173
3173
|
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
3174
3174
|
"isSource": true,
|
|
3175
3175
|
"original": {
|
|
@@ -3179,7 +3179,7 @@ var tokens = [{
|
|
|
3179
3179
|
"introduced": "0.6.0",
|
|
3180
3180
|
"description": "The default background for neutral elements, such as default buttons."
|
|
3181
3181
|
},
|
|
3182
|
-
"value": "
|
|
3182
|
+
"value": "N40"
|
|
3183
3183
|
},
|
|
3184
3184
|
"name": "color.background.neutral.[default].[default]",
|
|
3185
3185
|
"path": ["color", "background", "neutral", "[default]", "[default]"]
|
|
@@ -3379,7 +3379,7 @@ var tokens = [{
|
|
|
3379
3379
|
"introduced": "0.6.0",
|
|
3380
3380
|
"description": "Hovered state of color.background.brand.bold"
|
|
3381
3381
|
},
|
|
3382
|
-
"value": "#
|
|
3382
|
+
"value": "#0065FF",
|
|
3383
3383
|
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
3384
3384
|
"isSource": true,
|
|
3385
3385
|
"original": {
|
|
@@ -3389,7 +3389,7 @@ var tokens = [{
|
|
|
3389
3389
|
"introduced": "0.6.0",
|
|
3390
3390
|
"description": "Hovered state of color.background.brand.bold"
|
|
3391
3391
|
},
|
|
3392
|
-
"value": "
|
|
3392
|
+
"value": "B300"
|
|
3393
3393
|
},
|
|
3394
3394
|
"name": "color.background.brand.bold.hovered",
|
|
3395
3395
|
"path": ["color", "background", "brand", "bold", "hovered"]
|
|
@@ -3400,7 +3400,7 @@ var tokens = [{
|
|
|
3400
3400
|
"introduced": "0.6.0",
|
|
3401
3401
|
"description": "Pressed state of color.background.brand.bold"
|
|
3402
3402
|
},
|
|
3403
|
-
"value": "#
|
|
3403
|
+
"value": "#0747A6",
|
|
3404
3404
|
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
3405
3405
|
"isSource": true,
|
|
3406
3406
|
"original": {
|
|
@@ -3410,7 +3410,7 @@ var tokens = [{
|
|
|
3410
3410
|
"introduced": "0.6.0",
|
|
3411
3411
|
"description": "Pressed state of color.background.brand.bold"
|
|
3412
3412
|
},
|
|
3413
|
-
"value": "
|
|
3413
|
+
"value": "B500"
|
|
3414
3414
|
},
|
|
3415
3415
|
"name": "color.background.brand.bold.pressed",
|
|
3416
3416
|
"path": ["color", "background", "brand", "bold", "pressed"]
|
|
@@ -3766,7 +3766,7 @@ var tokens = [{
|
|
|
3766
3766
|
"introduced": "0.6.0",
|
|
3767
3767
|
"description": "Hovered state of color.background.danger.bold"
|
|
3768
3768
|
},
|
|
3769
|
-
"value": "#
|
|
3769
|
+
"value": "#FF5630",
|
|
3770
3770
|
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
3771
3771
|
"isSource": true,
|
|
3772
3772
|
"original": {
|
|
@@ -3776,7 +3776,7 @@ var tokens = [{
|
|
|
3776
3776
|
"introduced": "0.6.0",
|
|
3777
3777
|
"description": "Hovered state of color.background.danger.bold"
|
|
3778
3778
|
},
|
|
3779
|
-
"value": "
|
|
3779
|
+
"value": "R300"
|
|
3780
3780
|
},
|
|
3781
3781
|
"name": "color.background.danger.bold.hovered",
|
|
3782
3782
|
"path": ["color", "background", "danger", "bold", "hovered"]
|
|
@@ -3787,7 +3787,7 @@ var tokens = [{
|
|
|
3787
3787
|
"introduced": "0.6.0",
|
|
3788
3788
|
"description": "Pressed state of color.background.danger.bold"
|
|
3789
3789
|
},
|
|
3790
|
-
"value": "#
|
|
3790
|
+
"value": "#BF2600",
|
|
3791
3791
|
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
3792
3792
|
"isSource": true,
|
|
3793
3793
|
"original": {
|
|
@@ -3797,7 +3797,7 @@ var tokens = [{
|
|
|
3797
3797
|
"introduced": "0.6.0",
|
|
3798
3798
|
"description": "Pressed state of color.background.danger.bold"
|
|
3799
3799
|
},
|
|
3800
|
-
"value": "
|
|
3800
|
+
"value": "R500"
|
|
3801
3801
|
},
|
|
3802
3802
|
"name": "color.background.danger.bold.pressed",
|
|
3803
3803
|
"path": ["color", "background", "danger", "bold", "pressed"]
|
|
@@ -3871,7 +3871,7 @@ var tokens = [{
|
|
|
3871
3871
|
"introduced": "0.6.0",
|
|
3872
3872
|
"description": "A vibrant background option for communicating caution, such as in warning buttons and warning banners."
|
|
3873
3873
|
},
|
|
3874
|
-
"value": "#
|
|
3874
|
+
"value": "#FFAB00",
|
|
3875
3875
|
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
3876
3876
|
"isSource": true,
|
|
3877
3877
|
"original": {
|
|
@@ -3881,7 +3881,7 @@ var tokens = [{
|
|
|
3881
3881
|
"introduced": "0.6.0",
|
|
3882
3882
|
"description": "A vibrant background option for communicating caution, such as in warning buttons and warning banners."
|
|
3883
3883
|
},
|
|
3884
|
-
"value": "
|
|
3884
|
+
"value": "Y300"
|
|
3885
3885
|
},
|
|
3886
3886
|
"name": "color.background.warning.bold.[default]",
|
|
3887
3887
|
"path": ["color", "background", "warning", "bold", "[default]"]
|
|
@@ -3913,7 +3913,7 @@ var tokens = [{
|
|
|
3913
3913
|
"introduced": "0.6.0",
|
|
3914
3914
|
"description": "Pressed state of color.background.warning.bold"
|
|
3915
3915
|
},
|
|
3916
|
-
"value": "#
|
|
3916
|
+
"value": "#FF991F",
|
|
3917
3917
|
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
3918
3918
|
"isSource": true,
|
|
3919
3919
|
"original": {
|
|
@@ -3923,7 +3923,7 @@ var tokens = [{
|
|
|
3923
3923
|
"introduced": "0.6.0",
|
|
3924
3924
|
"description": "Pressed state of color.background.warning.bold"
|
|
3925
3925
|
},
|
|
3926
|
-
"value": "
|
|
3926
|
+
"value": "Y400"
|
|
3927
3927
|
},
|
|
3928
3928
|
"name": "color.background.warning.bold.pressed",
|
|
3929
3929
|
"path": ["color", "background", "warning", "bold", "pressed"]
|
|
@@ -5707,7 +5707,7 @@ var tokens = [{
|
|
|
5707
5707
|
"introduced": "0.8.0",
|
|
5708
5708
|
"description": "Use for the pulse or shimmer effect in skeleton loading states"
|
|
5709
5709
|
},
|
|
5710
|
-
"value": "#
|
|
5710
|
+
"value": "#091e420a",
|
|
5711
5711
|
"filePath": "src/tokens/atlassian-legacy-light/color/skeleton.tsx",
|
|
5712
5712
|
"isSource": true,
|
|
5713
5713
|
"original": {
|
|
@@ -6525,8 +6525,50 @@ var tokens = [{
|
|
|
6525
6525
|
"opacity": 0.12
|
|
6526
6526
|
}]
|
|
6527
6527
|
},
|
|
6528
|
-
"name": "elevation.shadow.overflow",
|
|
6529
|
-
"path": ["elevation", "shadow", "overflow"]
|
|
6528
|
+
"name": "elevation.shadow.overflow.[default]",
|
|
6529
|
+
"path": ["elevation", "shadow", "overflow", "[default]"]
|
|
6530
|
+
}, {
|
|
6531
|
+
"attributes": {
|
|
6532
|
+
"group": "paint",
|
|
6533
|
+
"state": "active",
|
|
6534
|
+
"introduced": "0.10.32",
|
|
6535
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.perimeter to replicate the overflow shadow."
|
|
6536
|
+
},
|
|
6537
|
+
"value": "#091e4229",
|
|
6538
|
+
"filePath": "src/tokens/atlassian-legacy-light/elevation/shadow.tsx",
|
|
6539
|
+
"isSource": true,
|
|
6540
|
+
"original": {
|
|
6541
|
+
"attributes": {
|
|
6542
|
+
"group": "paint",
|
|
6543
|
+
"state": "active",
|
|
6544
|
+
"introduced": "0.10.32",
|
|
6545
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.perimeter to replicate the overflow shadow."
|
|
6546
|
+
},
|
|
6547
|
+
"value": "#091e4229"
|
|
6548
|
+
},
|
|
6549
|
+
"name": "elevation.shadow.overflow.spread",
|
|
6550
|
+
"path": ["elevation", "shadow", "overflow", "spread"]
|
|
6551
|
+
}, {
|
|
6552
|
+
"attributes": {
|
|
6553
|
+
"group": "paint",
|
|
6554
|
+
"state": "active",
|
|
6555
|
+
"introduced": "0.10.32",
|
|
6556
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.spread to replicate the overflow shadow."
|
|
6557
|
+
},
|
|
6558
|
+
"value": "#091e421f",
|
|
6559
|
+
"filePath": "src/tokens/atlassian-legacy-light/elevation/shadow.tsx",
|
|
6560
|
+
"isSource": true,
|
|
6561
|
+
"original": {
|
|
6562
|
+
"attributes": {
|
|
6563
|
+
"group": "paint",
|
|
6564
|
+
"state": "active",
|
|
6565
|
+
"introduced": "0.10.32",
|
|
6566
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.spread to replicate the overflow shadow."
|
|
6567
|
+
},
|
|
6568
|
+
"value": "#091e421f"
|
|
6569
|
+
},
|
|
6570
|
+
"name": "elevation.shadow.overflow.perimeter",
|
|
6571
|
+
"path": ["elevation", "shadow", "overflow", "perimeter"]
|
|
6530
6572
|
}, {
|
|
6531
6573
|
"attributes": {
|
|
6532
6574
|
"group": "shadow",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::5a654d8b889b7fca74b9184ff6687882>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
var tokens = [{
|
|
@@ -6485,10 +6485,10 @@ var tokens = [{
|
|
|
6485
6485
|
"radius": 8,
|
|
6486
6486
|
"offset": {
|
|
6487
6487
|
"x": 0,
|
|
6488
|
-
"y":
|
|
6488
|
+
"y": 0
|
|
6489
6489
|
},
|
|
6490
6490
|
"color": "#091E42",
|
|
6491
|
-
"opacity": 0.
|
|
6491
|
+
"opacity": 0.16
|
|
6492
6492
|
}, {
|
|
6493
6493
|
"radius": 1,
|
|
6494
6494
|
"offset": {
|
|
@@ -6511,10 +6511,10 @@ var tokens = [{
|
|
|
6511
6511
|
"radius": 8,
|
|
6512
6512
|
"offset": {
|
|
6513
6513
|
"x": 0,
|
|
6514
|
-
"y":
|
|
6514
|
+
"y": 0
|
|
6515
6515
|
},
|
|
6516
6516
|
"color": "Neutral1100",
|
|
6517
|
-
"opacity": 0.
|
|
6517
|
+
"opacity": 0.16
|
|
6518
6518
|
}, {
|
|
6519
6519
|
"radius": 1,
|
|
6520
6520
|
"offset": {
|
|
@@ -6525,8 +6525,50 @@ var tokens = [{
|
|
|
6525
6525
|
"opacity": 0.12
|
|
6526
6526
|
}]
|
|
6527
6527
|
},
|
|
6528
|
-
"name": "elevation.shadow.overflow",
|
|
6529
|
-
"path": ["elevation", "shadow", "overflow"]
|
|
6528
|
+
"name": "elevation.shadow.overflow.[default]",
|
|
6529
|
+
"path": ["elevation", "shadow", "overflow", "[default]"]
|
|
6530
|
+
}, {
|
|
6531
|
+
"attributes": {
|
|
6532
|
+
"group": "paint",
|
|
6533
|
+
"state": "active",
|
|
6534
|
+
"introduced": "0.10.32",
|
|
6535
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.perimeter to replicate the overflow shadow."
|
|
6536
|
+
},
|
|
6537
|
+
"value": "#091e4229",
|
|
6538
|
+
"filePath": "src/tokens/atlassian-light/elevation/shadow.tsx",
|
|
6539
|
+
"isSource": true,
|
|
6540
|
+
"original": {
|
|
6541
|
+
"attributes": {
|
|
6542
|
+
"group": "paint",
|
|
6543
|
+
"state": "active",
|
|
6544
|
+
"introduced": "0.10.32",
|
|
6545
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.perimeter to replicate the overflow shadow."
|
|
6546
|
+
},
|
|
6547
|
+
"value": "#091e4229"
|
|
6548
|
+
},
|
|
6549
|
+
"name": "elevation.shadow.overflow.spread",
|
|
6550
|
+
"path": ["elevation", "shadow", "overflow", "spread"]
|
|
6551
|
+
}, {
|
|
6552
|
+
"attributes": {
|
|
6553
|
+
"group": "paint",
|
|
6554
|
+
"state": "active",
|
|
6555
|
+
"introduced": "0.10.32",
|
|
6556
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.spread to replicate the overflow shadow."
|
|
6557
|
+
},
|
|
6558
|
+
"value": "#091e421f",
|
|
6559
|
+
"filePath": "src/tokens/atlassian-light/elevation/shadow.tsx",
|
|
6560
|
+
"isSource": true,
|
|
6561
|
+
"original": {
|
|
6562
|
+
"attributes": {
|
|
6563
|
+
"group": "paint",
|
|
6564
|
+
"state": "active",
|
|
6565
|
+
"introduced": "0.10.32",
|
|
6566
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.spread to replicate the overflow shadow."
|
|
6567
|
+
},
|
|
6568
|
+
"value": "#091e421f"
|
|
6569
|
+
},
|
|
6570
|
+
"name": "elevation.shadow.overflow.perimeter",
|
|
6571
|
+
"path": ["elevation", "shadow", "overflow", "perimeter"]
|
|
6530
6572
|
}, {
|
|
6531
6573
|
"attributes": {
|
|
6532
6574
|
"group": "shadow",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::83290a114618bdfa1ff9d24e32a6f1b1>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
var tokens = {
|
|
@@ -280,6 +280,8 @@ var tokens = {
|
|
|
280
280
|
'shadow.overlay': '--ds-overlay',
|
|
281
281
|
'elevation.shadow.raised': '--ds-shadow-raised',
|
|
282
282
|
'elevation.shadow.overflow': '--ds-shadow-overflow',
|
|
283
|
+
'elevation.shadow.overflow.spread': '--ds-shadow-overflow-spread',
|
|
284
|
+
'elevation.shadow.overflow.perimeter': '--ds-shadow-overflow-perimeter',
|
|
283
285
|
'elevation.shadow.overlay': '--ds-shadow-overlay',
|
|
284
286
|
'elevation.surface': '--ds-surface',
|
|
285
287
|
'elevation.surface.hovered': '--ds-surface-hovered',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::83290a114618bdfa1ff9d24e32a6f1b1>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
var tokens = {
|
|
@@ -280,6 +280,8 @@ var tokens = {
|
|
|
280
280
|
'shadow.overlay': '--ds-overlay',
|
|
281
281
|
'elevation.shadow.raised': '--ds-shadow-raised',
|
|
282
282
|
'elevation.shadow.overflow': '--ds-shadow-overflow',
|
|
283
|
+
'elevation.shadow.overflow.spread': '--ds-shadow-overflow-spread',
|
|
284
|
+
'elevation.shadow.overflow.perimeter': '--ds-shadow-overflow-perimeter',
|
|
283
285
|
'elevation.shadow.overlay': '--ds-shadow-overlay',
|
|
284
286
|
'elevation.surface': '--ds-surface',
|
|
285
287
|
'elevation.surface.hovered': '--ds-surface-hovered',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::83290a114618bdfa1ff9d24e32a6f1b1>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
var tokens = {
|
|
@@ -280,6 +280,8 @@ var tokens = {
|
|
|
280
280
|
'shadow.overlay': '--ds-overlay',
|
|
281
281
|
'elevation.shadow.raised': '--ds-shadow-raised',
|
|
282
282
|
'elevation.shadow.overflow': '--ds-shadow-overflow',
|
|
283
|
+
'elevation.shadow.overflow.spread': '--ds-shadow-overflow-spread',
|
|
284
|
+
'elevation.shadow.overflow.perimeter': '--ds-shadow-overflow-perimeter',
|
|
283
285
|
'elevation.shadow.overlay': '--ds-shadow-overlay',
|
|
284
286
|
'elevation.surface': '--ds-surface',
|
|
285
287
|
'elevation.surface.hovered': '--ds-surface-hovered',
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Token names mapped to their value in the default Atlassian themes ('light spacing').
|
|
5
5
|
* These default values are used by the Babel plugin to optionally provide automatic fallbacks.
|
|
6
6
|
*
|
|
7
|
-
* @codegen <<SignedSource::
|
|
7
|
+
* @codegen <<SignedSource::ef6186f17dafc7e13af4096ad3cf41bb>>
|
|
8
8
|
* @codegenCommand yarn build tokens
|
|
9
9
|
*/
|
|
10
10
|
var defaultTokenValues = {
|
|
@@ -283,7 +283,9 @@ var defaultTokenValues = {
|
|
|
283
283
|
'shadow.card': '0px 1px 1px #091E4240, 0px 0px 1px #091E424F',
|
|
284
284
|
'shadow.overlay': '0px 8px 12px #091E4226, 0px 0px 1px #091E424F',
|
|
285
285
|
'elevation.shadow.raised': '0px 1px 1px #091E4240, 0px 0px 1px #091E424F',
|
|
286
|
-
'elevation.shadow.overflow': '0px
|
|
286
|
+
'elevation.shadow.overflow': '0px 0px 8px #091E4229, 0px 0px 1px #091E421F',
|
|
287
|
+
'elevation.shadow.overflow.spread': '#091e4229',
|
|
288
|
+
'elevation.shadow.overflow.perimeter': '#091e421f',
|
|
287
289
|
'elevation.shadow.overlay': '0px 8px 12px #091E4226, 0px 0px 1px #091E424F',
|
|
288
290
|
'elevation.surface': '#FFFFFF',
|
|
289
291
|
'elevation.surface.hovered': '#F1F2F4',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::83290a114618bdfa1ff9d24e32a6f1b1>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
var tokens = {
|
|
@@ -280,6 +280,8 @@ var tokens = {
|
|
|
280
280
|
'shadow.overlay': '--ds-overlay',
|
|
281
281
|
'elevation.shadow.raised': '--ds-shadow-raised',
|
|
282
282
|
'elevation.shadow.overflow': '--ds-shadow-overflow',
|
|
283
|
+
'elevation.shadow.overflow.spread': '--ds-shadow-overflow-spread',
|
|
284
|
+
'elevation.shadow.overflow.perimeter': '--ds-shadow-overflow-perimeter',
|
|
283
285
|
'elevation.shadow.overlay': '--ds-shadow-overlay',
|
|
284
286
|
'elevation.surface': '--ds-surface',
|
|
285
287
|
'elevation.surface.hovered': '--ds-surface-hovered',
|
package/dist/esm/get-token.js
CHANGED
|
@@ -2,7 +2,7 @@ import warnOnce from '@atlaskit/ds-lib/warn-once';
|
|
|
2
2
|
import tokens from './artifacts/token-names';
|
|
3
3
|
import { TOKEN_NOT_FOUND_CSS_VAR } from './constants';
|
|
4
4
|
var name = "@atlaskit/tokens";
|
|
5
|
-
var version = "0.10.
|
|
5
|
+
var version = "0.10.32";
|
|
6
6
|
|
|
7
7
|
function token(path, fallback) {
|
|
8
8
|
var token = tokens[path];
|
|
@@ -129,6 +129,13 @@ var palette = {
|
|
|
129
129
|
category: 'yellow'
|
|
130
130
|
}
|
|
131
131
|
},
|
|
132
|
+
O800: {
|
|
133
|
+
value: '#974F0C',
|
|
134
|
+
attributes: {
|
|
135
|
+
group: 'palette',
|
|
136
|
+
category: 'orange'
|
|
137
|
+
}
|
|
138
|
+
},
|
|
132
139
|
G50: {
|
|
133
140
|
value: '#E3FCEF',
|
|
134
141
|
attributes: {
|
|
@@ -459,14 +466,14 @@ var palette = {
|
|
|
459
466
|
}
|
|
460
467
|
},
|
|
461
468
|
N10A: {
|
|
462
|
-
value: '#
|
|
469
|
+
value: '#091e4205',
|
|
463
470
|
attributes: {
|
|
464
471
|
group: 'palette',
|
|
465
472
|
category: 'light mode neutral'
|
|
466
473
|
}
|
|
467
474
|
},
|
|
468
475
|
N20A: {
|
|
469
|
-
value: '#
|
|
476
|
+
value: '#091e420a',
|
|
470
477
|
attributes: {
|
|
471
478
|
group: 'palette',
|
|
472
479
|
category: 'light mode neutral'
|
|
@@ -35,27 +35,37 @@ var shadow = {
|
|
|
35
35
|
}]
|
|
36
36
|
},
|
|
37
37
|
overflow: {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
38
|
+
'[default]': {
|
|
39
|
+
value: [{
|
|
40
|
+
radius: 12,
|
|
41
|
+
offset: {
|
|
42
|
+
x: 0,
|
|
43
|
+
y: 0
|
|
44
|
+
},
|
|
45
|
+
// @ts-ignore no current palette colour for this yet
|
|
46
|
+
color: '#030404',
|
|
47
|
+
// This opacity overrides the color alpha.
|
|
48
|
+
opacity: 0.56
|
|
49
|
+
}, {
|
|
50
|
+
radius: 1,
|
|
51
|
+
offset: {
|
|
52
|
+
x: 0,
|
|
53
|
+
y: 0
|
|
54
|
+
},
|
|
55
|
+
// @ts-ignore no current palette colour for this yet
|
|
56
|
+
color: '#030404',
|
|
57
|
+
// This opacity overrides the color alpha.
|
|
58
|
+
opacity: 0.5
|
|
59
|
+
}]
|
|
60
|
+
},
|
|
61
|
+
// @ts-ignore no current palette colour for this yet
|
|
62
|
+
spread: {
|
|
63
|
+
value: '#0304048f'
|
|
64
|
+
},
|
|
65
|
+
// @ts-ignore no current palette colour for this yet
|
|
66
|
+
perimeter: {
|
|
67
|
+
value: '#03040480'
|
|
68
|
+
}
|
|
59
69
|
},
|
|
60
70
|
overlay: {
|
|
61
71
|
value: [{
|
|
@@ -35,27 +35,37 @@ var shadow = {
|
|
|
35
35
|
}]
|
|
36
36
|
},
|
|
37
37
|
overflow: {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
38
|
+
'[default]': {
|
|
39
|
+
value: [{
|
|
40
|
+
radius: 12,
|
|
41
|
+
offset: {
|
|
42
|
+
x: 0,
|
|
43
|
+
y: 0
|
|
44
|
+
},
|
|
45
|
+
// @ts-ignore no current palette colour for this yet
|
|
46
|
+
color: '#030404',
|
|
47
|
+
// This opacity overrides the color alpha.
|
|
48
|
+
opacity: 0.56
|
|
49
|
+
}, {
|
|
50
|
+
radius: 1,
|
|
51
|
+
offset: {
|
|
52
|
+
x: 0,
|
|
53
|
+
y: 0
|
|
54
|
+
},
|
|
55
|
+
// @ts-ignore no current palette colour for this yet
|
|
56
|
+
color: '#030404',
|
|
57
|
+
// This opacity overrides the color alpha.
|
|
58
|
+
opacity: 0.5
|
|
59
|
+
}]
|
|
60
|
+
},
|
|
61
|
+
// @ts-ignore no current palette colour for this yet
|
|
62
|
+
spread: {
|
|
63
|
+
value: '#0304048f'
|
|
64
|
+
},
|
|
65
|
+
// @ts-ignore no current palette colour for this yet
|
|
66
|
+
perimeter: {
|
|
67
|
+
value: '#03040480'
|
|
68
|
+
}
|
|
59
69
|
},
|
|
60
70
|
overlay: {
|
|
61
71
|
value: [{
|
|
@@ -46,8 +46,9 @@ var color = {
|
|
|
46
46
|
},
|
|
47
47
|
neutral: {
|
|
48
48
|
'[default]': {
|
|
49
|
+
// this SHOULD be N20A but it creates a larger visual difference with lozenge / badge
|
|
49
50
|
'[default]': {
|
|
50
|
-
value: '
|
|
51
|
+
value: 'N40'
|
|
51
52
|
},
|
|
52
53
|
hovered: {
|
|
53
54
|
value: 'N30A'
|
|
@@ -85,10 +86,10 @@ var color = {
|
|
|
85
86
|
value: 'B400'
|
|
86
87
|
},
|
|
87
88
|
hovered: {
|
|
88
|
-
value: '
|
|
89
|
+
value: 'B300'
|
|
89
90
|
},
|
|
90
91
|
pressed: {
|
|
91
|
-
value: '
|
|
92
|
+
value: 'B500'
|
|
92
93
|
}
|
|
93
94
|
}
|
|
94
95
|
},
|
|
@@ -133,10 +134,10 @@ var color = {
|
|
|
133
134
|
value: 'R400'
|
|
134
135
|
},
|
|
135
136
|
hovered: {
|
|
136
|
-
value: '
|
|
137
|
+
value: 'R300'
|
|
137
138
|
},
|
|
138
139
|
pressed: {
|
|
139
|
-
value: '
|
|
140
|
+
value: 'R500'
|
|
140
141
|
}
|
|
141
142
|
}
|
|
142
143
|
},
|
|
@@ -154,13 +155,13 @@ var color = {
|
|
|
154
155
|
},
|
|
155
156
|
bold: {
|
|
156
157
|
'[default]': {
|
|
157
|
-
value: '
|
|
158
|
+
value: 'Y300'
|
|
158
159
|
},
|
|
159
160
|
hovered: {
|
|
160
161
|
value: 'Y200'
|
|
161
162
|
},
|
|
162
163
|
pressed: {
|
|
163
|
-
value: '
|
|
164
|
+
value: 'Y400'
|
|
164
165
|
}
|
|
165
166
|
}
|
|
166
167
|
},
|
|
@@ -5,7 +5,7 @@ var color = {
|
|
|
5
5
|
value: 'N800'
|
|
6
6
|
},
|
|
7
7
|
subtle: {
|
|
8
|
-
value: '
|
|
8
|
+
value: 'N500'
|
|
9
9
|
},
|
|
10
10
|
subtlest: {
|
|
11
11
|
value: 'N100'
|
|
@@ -27,7 +27,7 @@ var color = {
|
|
|
27
27
|
},
|
|
28
28
|
warning: {
|
|
29
29
|
'[default]': {
|
|
30
|
-
value: '
|
|
30
|
+
value: 'O800'
|
|
31
31
|
},
|
|
32
32
|
inverse: {
|
|
33
33
|
value: 'N800'
|