@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
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
10
|
-
* @codegen <<SignedSource::
|
|
10
|
+
* @codegen <<SignedSource::cebe4ed5e9e0dc70bed7437dafe3c98c>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
var tokens = [{
|
|
@@ -416,7 +416,7 @@ var tokens = [{
|
|
|
416
416
|
"introduced": "0.6.0",
|
|
417
417
|
"description": "Use for secondary text, such as navigation, subtle button links, input field labels, and all caps subheadings."
|
|
418
418
|
},
|
|
419
|
-
"value": "#
|
|
419
|
+
"value": "#42526E",
|
|
420
420
|
"filePath": "src/tokens/atlassian-legacy-light/color/text.tsx",
|
|
421
421
|
"isSource": true,
|
|
422
422
|
"original": {
|
|
@@ -426,7 +426,7 @@ var tokens = [{
|
|
|
426
426
|
"introduced": "0.6.0",
|
|
427
427
|
"description": "Use for secondary text, such as navigation, subtle button links, input field labels, and all caps subheadings."
|
|
428
428
|
},
|
|
429
|
-
"value": "
|
|
429
|
+
"value": "N500"
|
|
430
430
|
},
|
|
431
431
|
"name": "color.text.subtle",
|
|
432
432
|
"path": ["color", "text", "subtle"]
|
|
@@ -563,7 +563,7 @@ var tokens = [{
|
|
|
563
563
|
"introduced": "0.0.15",
|
|
564
564
|
"description": "Use for text to emphasize caution, such as in moved lozenges."
|
|
565
565
|
},
|
|
566
|
-
"value": "#
|
|
566
|
+
"value": "#974F0C",
|
|
567
567
|
"filePath": "src/tokens/atlassian-legacy-light/color/text.tsx",
|
|
568
568
|
"isSource": true,
|
|
569
569
|
"original": {
|
|
@@ -573,7 +573,7 @@ var tokens = [{
|
|
|
573
573
|
"introduced": "0.0.15",
|
|
574
574
|
"description": "Use for text to emphasize caution, such as in moved lozenges."
|
|
575
575
|
},
|
|
576
|
-
"value": "
|
|
576
|
+
"value": "O800"
|
|
577
577
|
},
|
|
578
578
|
"name": "color.text.warning.[default]",
|
|
579
579
|
"path": ["color", "text", "warning", "[default]"]
|
|
@@ -3176,7 +3176,7 @@ var tokens = [{
|
|
|
3176
3176
|
"introduced": "0.6.0",
|
|
3177
3177
|
"description": "The default background for neutral elements, such as default buttons."
|
|
3178
3178
|
},
|
|
3179
|
-
"value": "#
|
|
3179
|
+
"value": "#DFE1E6",
|
|
3180
3180
|
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
3181
3181
|
"isSource": true,
|
|
3182
3182
|
"original": {
|
|
@@ -3186,7 +3186,7 @@ var tokens = [{
|
|
|
3186
3186
|
"introduced": "0.6.0",
|
|
3187
3187
|
"description": "The default background for neutral elements, such as default buttons."
|
|
3188
3188
|
},
|
|
3189
|
-
"value": "
|
|
3189
|
+
"value": "N40"
|
|
3190
3190
|
},
|
|
3191
3191
|
"name": "color.background.neutral.[default].[default]",
|
|
3192
3192
|
"path": ["color", "background", "neutral", "[default]", "[default]"]
|
|
@@ -3386,7 +3386,7 @@ var tokens = [{
|
|
|
3386
3386
|
"introduced": "0.6.0",
|
|
3387
3387
|
"description": "Hovered state of color.background.brand.bold"
|
|
3388
3388
|
},
|
|
3389
|
-
"value": "#
|
|
3389
|
+
"value": "#0065FF",
|
|
3390
3390
|
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
3391
3391
|
"isSource": true,
|
|
3392
3392
|
"original": {
|
|
@@ -3396,7 +3396,7 @@ var tokens = [{
|
|
|
3396
3396
|
"introduced": "0.6.0",
|
|
3397
3397
|
"description": "Hovered state of color.background.brand.bold"
|
|
3398
3398
|
},
|
|
3399
|
-
"value": "
|
|
3399
|
+
"value": "B300"
|
|
3400
3400
|
},
|
|
3401
3401
|
"name": "color.background.brand.bold.hovered",
|
|
3402
3402
|
"path": ["color", "background", "brand", "bold", "hovered"]
|
|
@@ -3407,7 +3407,7 @@ var tokens = [{
|
|
|
3407
3407
|
"introduced": "0.6.0",
|
|
3408
3408
|
"description": "Pressed state of color.background.brand.bold"
|
|
3409
3409
|
},
|
|
3410
|
-
"value": "#
|
|
3410
|
+
"value": "#0747A6",
|
|
3411
3411
|
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
3412
3412
|
"isSource": true,
|
|
3413
3413
|
"original": {
|
|
@@ -3417,7 +3417,7 @@ var tokens = [{
|
|
|
3417
3417
|
"introduced": "0.6.0",
|
|
3418
3418
|
"description": "Pressed state of color.background.brand.bold"
|
|
3419
3419
|
},
|
|
3420
|
-
"value": "
|
|
3420
|
+
"value": "B500"
|
|
3421
3421
|
},
|
|
3422
3422
|
"name": "color.background.brand.bold.pressed",
|
|
3423
3423
|
"path": ["color", "background", "brand", "bold", "pressed"]
|
|
@@ -3773,7 +3773,7 @@ var tokens = [{
|
|
|
3773
3773
|
"introduced": "0.6.0",
|
|
3774
3774
|
"description": "Hovered state of color.background.danger.bold"
|
|
3775
3775
|
},
|
|
3776
|
-
"value": "#
|
|
3776
|
+
"value": "#FF5630",
|
|
3777
3777
|
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
3778
3778
|
"isSource": true,
|
|
3779
3779
|
"original": {
|
|
@@ -3783,7 +3783,7 @@ var tokens = [{
|
|
|
3783
3783
|
"introduced": "0.6.0",
|
|
3784
3784
|
"description": "Hovered state of color.background.danger.bold"
|
|
3785
3785
|
},
|
|
3786
|
-
"value": "
|
|
3786
|
+
"value": "R300"
|
|
3787
3787
|
},
|
|
3788
3788
|
"name": "color.background.danger.bold.hovered",
|
|
3789
3789
|
"path": ["color", "background", "danger", "bold", "hovered"]
|
|
@@ -3794,7 +3794,7 @@ var tokens = [{
|
|
|
3794
3794
|
"introduced": "0.6.0",
|
|
3795
3795
|
"description": "Pressed state of color.background.danger.bold"
|
|
3796
3796
|
},
|
|
3797
|
-
"value": "#
|
|
3797
|
+
"value": "#BF2600",
|
|
3798
3798
|
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
3799
3799
|
"isSource": true,
|
|
3800
3800
|
"original": {
|
|
@@ -3804,7 +3804,7 @@ var tokens = [{
|
|
|
3804
3804
|
"introduced": "0.6.0",
|
|
3805
3805
|
"description": "Pressed state of color.background.danger.bold"
|
|
3806
3806
|
},
|
|
3807
|
-
"value": "
|
|
3807
|
+
"value": "R500"
|
|
3808
3808
|
},
|
|
3809
3809
|
"name": "color.background.danger.bold.pressed",
|
|
3810
3810
|
"path": ["color", "background", "danger", "bold", "pressed"]
|
|
@@ -3878,7 +3878,7 @@ var tokens = [{
|
|
|
3878
3878
|
"introduced": "0.6.0",
|
|
3879
3879
|
"description": "A vibrant background option for communicating caution, such as in warning buttons and warning banners."
|
|
3880
3880
|
},
|
|
3881
|
-
"value": "#
|
|
3881
|
+
"value": "#FFAB00",
|
|
3882
3882
|
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
3883
3883
|
"isSource": true,
|
|
3884
3884
|
"original": {
|
|
@@ -3888,7 +3888,7 @@ var tokens = [{
|
|
|
3888
3888
|
"introduced": "0.6.0",
|
|
3889
3889
|
"description": "A vibrant background option for communicating caution, such as in warning buttons and warning banners."
|
|
3890
3890
|
},
|
|
3891
|
-
"value": "
|
|
3891
|
+
"value": "Y300"
|
|
3892
3892
|
},
|
|
3893
3893
|
"name": "color.background.warning.bold.[default]",
|
|
3894
3894
|
"path": ["color", "background", "warning", "bold", "[default]"]
|
|
@@ -3920,7 +3920,7 @@ var tokens = [{
|
|
|
3920
3920
|
"introduced": "0.6.0",
|
|
3921
3921
|
"description": "Pressed state of color.background.warning.bold"
|
|
3922
3922
|
},
|
|
3923
|
-
"value": "#
|
|
3923
|
+
"value": "#FF991F",
|
|
3924
3924
|
"filePath": "src/tokens/atlassian-legacy-light/color/background.tsx",
|
|
3925
3925
|
"isSource": true,
|
|
3926
3926
|
"original": {
|
|
@@ -3930,7 +3930,7 @@ var tokens = [{
|
|
|
3930
3930
|
"introduced": "0.6.0",
|
|
3931
3931
|
"description": "Pressed state of color.background.warning.bold"
|
|
3932
3932
|
},
|
|
3933
|
-
"value": "
|
|
3933
|
+
"value": "Y400"
|
|
3934
3934
|
},
|
|
3935
3935
|
"name": "color.background.warning.bold.pressed",
|
|
3936
3936
|
"path": ["color", "background", "warning", "bold", "pressed"]
|
|
@@ -5714,7 +5714,7 @@ var tokens = [{
|
|
|
5714
5714
|
"introduced": "0.8.0",
|
|
5715
5715
|
"description": "Use for the pulse or shimmer effect in skeleton loading states"
|
|
5716
5716
|
},
|
|
5717
|
-
"value": "#
|
|
5717
|
+
"value": "#091e420a",
|
|
5718
5718
|
"filePath": "src/tokens/atlassian-legacy-light/color/skeleton.tsx",
|
|
5719
5719
|
"isSource": true,
|
|
5720
5720
|
"original": {
|
|
@@ -6532,8 +6532,50 @@ var tokens = [{
|
|
|
6532
6532
|
"opacity": 0.12
|
|
6533
6533
|
}]
|
|
6534
6534
|
},
|
|
6535
|
-
"name": "elevation.shadow.overflow",
|
|
6536
|
-
"path": ["elevation", "shadow", "overflow"]
|
|
6535
|
+
"name": "elevation.shadow.overflow.[default]",
|
|
6536
|
+
"path": ["elevation", "shadow", "overflow", "[default]"]
|
|
6537
|
+
}, {
|
|
6538
|
+
"attributes": {
|
|
6539
|
+
"group": "paint",
|
|
6540
|
+
"state": "active",
|
|
6541
|
+
"introduced": "0.10.32",
|
|
6542
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.perimeter to replicate the overflow shadow."
|
|
6543
|
+
},
|
|
6544
|
+
"value": "#091e4229",
|
|
6545
|
+
"filePath": "src/tokens/atlassian-legacy-light/elevation/shadow.tsx",
|
|
6546
|
+
"isSource": true,
|
|
6547
|
+
"original": {
|
|
6548
|
+
"attributes": {
|
|
6549
|
+
"group": "paint",
|
|
6550
|
+
"state": "active",
|
|
6551
|
+
"introduced": "0.10.32",
|
|
6552
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.perimeter to replicate the overflow shadow."
|
|
6553
|
+
},
|
|
6554
|
+
"value": "#091e4229"
|
|
6555
|
+
},
|
|
6556
|
+
"name": "elevation.shadow.overflow.spread",
|
|
6557
|
+
"path": ["elevation", "shadow", "overflow", "spread"]
|
|
6558
|
+
}, {
|
|
6559
|
+
"attributes": {
|
|
6560
|
+
"group": "paint",
|
|
6561
|
+
"state": "active",
|
|
6562
|
+
"introduced": "0.10.32",
|
|
6563
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.spread to replicate the overflow shadow."
|
|
6564
|
+
},
|
|
6565
|
+
"value": "#091e421f",
|
|
6566
|
+
"filePath": "src/tokens/atlassian-legacy-light/elevation/shadow.tsx",
|
|
6567
|
+
"isSource": true,
|
|
6568
|
+
"original": {
|
|
6569
|
+
"attributes": {
|
|
6570
|
+
"group": "paint",
|
|
6571
|
+
"state": "active",
|
|
6572
|
+
"introduced": "0.10.32",
|
|
6573
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.spread to replicate the overflow shadow."
|
|
6574
|
+
},
|
|
6575
|
+
"value": "#091e421f"
|
|
6576
|
+
},
|
|
6577
|
+
"name": "elevation.shadow.overflow.perimeter",
|
|
6578
|
+
"path": ["elevation", "shadow", "overflow", "perimeter"]
|
|
6537
6579
|
}, {
|
|
6538
6580
|
"attributes": {
|
|
6539
6581
|
"group": "shadow",
|
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
10
|
-
* @codegen <<SignedSource::
|
|
10
|
+
* @codegen <<SignedSource::5a654d8b889b7fca74b9184ff6687882>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
var tokens = [{
|
|
@@ -6492,10 +6492,10 @@ var tokens = [{
|
|
|
6492
6492
|
"radius": 8,
|
|
6493
6493
|
"offset": {
|
|
6494
6494
|
"x": 0,
|
|
6495
|
-
"y":
|
|
6495
|
+
"y": 0
|
|
6496
6496
|
},
|
|
6497
6497
|
"color": "#091E42",
|
|
6498
|
-
"opacity": 0.
|
|
6498
|
+
"opacity": 0.16
|
|
6499
6499
|
}, {
|
|
6500
6500
|
"radius": 1,
|
|
6501
6501
|
"offset": {
|
|
@@ -6518,10 +6518,10 @@ var tokens = [{
|
|
|
6518
6518
|
"radius": 8,
|
|
6519
6519
|
"offset": {
|
|
6520
6520
|
"x": 0,
|
|
6521
|
-
"y":
|
|
6521
|
+
"y": 0
|
|
6522
6522
|
},
|
|
6523
6523
|
"color": "Neutral1100",
|
|
6524
|
-
"opacity": 0.
|
|
6524
|
+
"opacity": 0.16
|
|
6525
6525
|
}, {
|
|
6526
6526
|
"radius": 1,
|
|
6527
6527
|
"offset": {
|
|
@@ -6532,8 +6532,50 @@ var tokens = [{
|
|
|
6532
6532
|
"opacity": 0.12
|
|
6533
6533
|
}]
|
|
6534
6534
|
},
|
|
6535
|
-
"name": "elevation.shadow.overflow",
|
|
6536
|
-
"path": ["elevation", "shadow", "overflow"]
|
|
6535
|
+
"name": "elevation.shadow.overflow.[default]",
|
|
6536
|
+
"path": ["elevation", "shadow", "overflow", "[default]"]
|
|
6537
|
+
}, {
|
|
6538
|
+
"attributes": {
|
|
6539
|
+
"group": "paint",
|
|
6540
|
+
"state": "active",
|
|
6541
|
+
"introduced": "0.10.32",
|
|
6542
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.perimeter to replicate the overflow shadow."
|
|
6543
|
+
},
|
|
6544
|
+
"value": "#091e4229",
|
|
6545
|
+
"filePath": "src/tokens/atlassian-light/elevation/shadow.tsx",
|
|
6546
|
+
"isSource": true,
|
|
6547
|
+
"original": {
|
|
6548
|
+
"attributes": {
|
|
6549
|
+
"group": "paint",
|
|
6550
|
+
"state": "active",
|
|
6551
|
+
"introduced": "0.10.32",
|
|
6552
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.perimeter to replicate the overflow shadow."
|
|
6553
|
+
},
|
|
6554
|
+
"value": "#091e4229"
|
|
6555
|
+
},
|
|
6556
|
+
"name": "elevation.shadow.overflow.spread",
|
|
6557
|
+
"path": ["elevation", "shadow", "overflow", "spread"]
|
|
6558
|
+
}, {
|
|
6559
|
+
"attributes": {
|
|
6560
|
+
"group": "paint",
|
|
6561
|
+
"state": "active",
|
|
6562
|
+
"introduced": "0.10.32",
|
|
6563
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.spread to replicate the overflow shadow."
|
|
6564
|
+
},
|
|
6565
|
+
"value": "#091e421f",
|
|
6566
|
+
"filePath": "src/tokens/atlassian-light/elevation/shadow.tsx",
|
|
6567
|
+
"isSource": true,
|
|
6568
|
+
"original": {
|
|
6569
|
+
"attributes": {
|
|
6570
|
+
"group": "paint",
|
|
6571
|
+
"state": "active",
|
|
6572
|
+
"introduced": "0.10.32",
|
|
6573
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.spread to replicate the overflow shadow."
|
|
6574
|
+
},
|
|
6575
|
+
"value": "#091e421f"
|
|
6576
|
+
},
|
|
6577
|
+
"name": "elevation.shadow.overflow.perimeter",
|
|
6578
|
+
"path": ["elevation", "shadow", "overflow", "perimeter"]
|
|
6537
6579
|
}, {
|
|
6538
6580
|
"attributes": {
|
|
6539
6581
|
"group": "shadow",
|
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
10
|
-
* @codegen <<SignedSource::
|
|
10
|
+
* @codegen <<SignedSource::83290a114618bdfa1ff9d24e32a6f1b1>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
var tokens = {
|
|
@@ -287,6 +287,8 @@ var tokens = {
|
|
|
287
287
|
'shadow.overlay': '--ds-overlay',
|
|
288
288
|
'elevation.shadow.raised': '--ds-shadow-raised',
|
|
289
289
|
'elevation.shadow.overflow': '--ds-shadow-overflow',
|
|
290
|
+
'elevation.shadow.overflow.spread': '--ds-shadow-overflow-spread',
|
|
291
|
+
'elevation.shadow.overflow.perimeter': '--ds-shadow-overflow-perimeter',
|
|
290
292
|
'elevation.shadow.overlay': '--ds-shadow-overlay',
|
|
291
293
|
'elevation.surface': '--ds-surface',
|
|
292
294
|
'elevation.surface.hovered': '--ds-surface-hovered',
|
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
10
|
-
* @codegen <<SignedSource::
|
|
10
|
+
* @codegen <<SignedSource::83290a114618bdfa1ff9d24e32a6f1b1>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
var tokens = {
|
|
@@ -287,6 +287,8 @@ var tokens = {
|
|
|
287
287
|
'shadow.overlay': '--ds-overlay',
|
|
288
288
|
'elevation.shadow.raised': '--ds-shadow-raised',
|
|
289
289
|
'elevation.shadow.overflow': '--ds-shadow-overflow',
|
|
290
|
+
'elevation.shadow.overflow.spread': '--ds-shadow-overflow-spread',
|
|
291
|
+
'elevation.shadow.overflow.perimeter': '--ds-shadow-overflow-perimeter',
|
|
290
292
|
'elevation.shadow.overlay': '--ds-shadow-overlay',
|
|
291
293
|
'elevation.surface': '--ds-surface',
|
|
292
294
|
'elevation.surface.hovered': '--ds-surface-hovered',
|
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
10
|
-
* @codegen <<SignedSource::
|
|
10
|
+
* @codegen <<SignedSource::83290a114618bdfa1ff9d24e32a6f1b1>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
var tokens = {
|
|
@@ -287,6 +287,8 @@ var tokens = {
|
|
|
287
287
|
'shadow.overlay': '--ds-overlay',
|
|
288
288
|
'elevation.shadow.raised': '--ds-shadow-raised',
|
|
289
289
|
'elevation.shadow.overflow': '--ds-shadow-overflow',
|
|
290
|
+
'elevation.shadow.overflow.spread': '--ds-shadow-overflow-spread',
|
|
291
|
+
'elevation.shadow.overflow.perimeter': '--ds-shadow-overflow-perimeter',
|
|
290
292
|
'elevation.shadow.overlay': '--ds-shadow-overlay',
|
|
291
293
|
'elevation.surface': '--ds-surface',
|
|
292
294
|
'elevation.surface.hovered': '--ds-surface-hovered',
|
|
@@ -11,7 +11,7 @@ exports.default = void 0;
|
|
|
11
11
|
* Token names mapped to their value in the default Atlassian themes ('light spacing').
|
|
12
12
|
* These default values are used by the Babel plugin to optionally provide automatic fallbacks.
|
|
13
13
|
*
|
|
14
|
-
* @codegen <<SignedSource::
|
|
14
|
+
* @codegen <<SignedSource::ef6186f17dafc7e13af4096ad3cf41bb>>
|
|
15
15
|
* @codegenCommand yarn build tokens
|
|
16
16
|
*/
|
|
17
17
|
var defaultTokenValues = {
|
|
@@ -290,7 +290,9 @@ var defaultTokenValues = {
|
|
|
290
290
|
'shadow.card': '0px 1px 1px #091E4240, 0px 0px 1px #091E424F',
|
|
291
291
|
'shadow.overlay': '0px 8px 12px #091E4226, 0px 0px 1px #091E424F',
|
|
292
292
|
'elevation.shadow.raised': '0px 1px 1px #091E4240, 0px 0px 1px #091E424F',
|
|
293
|
-
'elevation.shadow.overflow': '0px
|
|
293
|
+
'elevation.shadow.overflow': '0px 0px 8px #091E4229, 0px 0px 1px #091E421F',
|
|
294
|
+
'elevation.shadow.overflow.spread': '#091e4229',
|
|
295
|
+
'elevation.shadow.overflow.perimeter': '#091e421f',
|
|
294
296
|
'elevation.shadow.overlay': '0px 8px 12px #091E4226, 0px 0px 1px #091E424F',
|
|
295
297
|
'elevation.surface': '#FFFFFF',
|
|
296
298
|
'elevation.surface.hovered': '#F1F2F4',
|
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
10
|
-
* @codegen <<SignedSource::
|
|
10
|
+
* @codegen <<SignedSource::83290a114618bdfa1ff9d24e32a6f1b1>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
var tokens = {
|
|
@@ -287,6 +287,8 @@ var tokens = {
|
|
|
287
287
|
'shadow.overlay': '--ds-overlay',
|
|
288
288
|
'elevation.shadow.raised': '--ds-shadow-raised',
|
|
289
289
|
'elevation.shadow.overflow': '--ds-shadow-overflow',
|
|
290
|
+
'elevation.shadow.overflow.spread': '--ds-shadow-overflow-spread',
|
|
291
|
+
'elevation.shadow.overflow.perimeter': '--ds-shadow-overflow-perimeter',
|
|
290
292
|
'elevation.shadow.overlay': '--ds-shadow-overlay',
|
|
291
293
|
'elevation.surface': '--ds-surface',
|
|
292
294
|
'elevation.surface.hovered': '--ds-surface-hovered',
|
package/dist/cjs/get-token.js
CHANGED
|
@@ -14,7 +14,7 @@ var _tokenNames = _interopRequireDefault(require("./artifacts/token-names"));
|
|
|
14
14
|
var _constants = require("./constants");
|
|
15
15
|
|
|
16
16
|
var name = "@atlaskit/tokens";
|
|
17
|
-
var version = "0.10.
|
|
17
|
+
var version = "0.10.32";
|
|
18
18
|
|
|
19
19
|
function token(path, fallback) {
|
|
20
20
|
var token = _tokenNames.default[path];
|
|
@@ -136,6 +136,13 @@ var palette = {
|
|
|
136
136
|
category: 'yellow'
|
|
137
137
|
}
|
|
138
138
|
},
|
|
139
|
+
O800: {
|
|
140
|
+
value: '#974F0C',
|
|
141
|
+
attributes: {
|
|
142
|
+
group: 'palette',
|
|
143
|
+
category: 'orange'
|
|
144
|
+
}
|
|
145
|
+
},
|
|
139
146
|
G50: {
|
|
140
147
|
value: '#E3FCEF',
|
|
141
148
|
attributes: {
|
|
@@ -466,14 +473,14 @@ var palette = {
|
|
|
466
473
|
}
|
|
467
474
|
},
|
|
468
475
|
N10A: {
|
|
469
|
-
value: '#
|
|
476
|
+
value: '#091e4205',
|
|
470
477
|
attributes: {
|
|
471
478
|
group: 'palette',
|
|
472
479
|
category: 'light mode neutral'
|
|
473
480
|
}
|
|
474
481
|
},
|
|
475
482
|
N20A: {
|
|
476
|
-
value: '#
|
|
483
|
+
value: '#091e420a',
|
|
477
484
|
attributes: {
|
|
478
485
|
group: 'palette',
|
|
479
486
|
category: 'light mode neutral'
|
|
@@ -41,27 +41,37 @@ var shadow = {
|
|
|
41
41
|
}]
|
|
42
42
|
},
|
|
43
43
|
overflow: {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
44
|
+
'[default]': {
|
|
45
|
+
value: [{
|
|
46
|
+
radius: 12,
|
|
47
|
+
offset: {
|
|
48
|
+
x: 0,
|
|
49
|
+
y: 0
|
|
50
|
+
},
|
|
51
|
+
// @ts-ignore no current palette colour for this yet
|
|
52
|
+
color: '#030404',
|
|
53
|
+
// This opacity overrides the color alpha.
|
|
54
|
+
opacity: 0.56
|
|
55
|
+
}, {
|
|
56
|
+
radius: 1,
|
|
57
|
+
offset: {
|
|
58
|
+
x: 0,
|
|
59
|
+
y: 0
|
|
60
|
+
},
|
|
61
|
+
// @ts-ignore no current palette colour for this yet
|
|
62
|
+
color: '#030404',
|
|
63
|
+
// This opacity overrides the color alpha.
|
|
64
|
+
opacity: 0.5
|
|
65
|
+
}]
|
|
66
|
+
},
|
|
67
|
+
// @ts-ignore no current palette colour for this yet
|
|
68
|
+
spread: {
|
|
69
|
+
value: '#0304048f'
|
|
70
|
+
},
|
|
71
|
+
// @ts-ignore no current palette colour for this yet
|
|
72
|
+
perimeter: {
|
|
73
|
+
value: '#03040480'
|
|
74
|
+
}
|
|
65
75
|
},
|
|
66
76
|
overlay: {
|
|
67
77
|
value: [{
|
|
@@ -41,27 +41,37 @@ var shadow = {
|
|
|
41
41
|
}]
|
|
42
42
|
},
|
|
43
43
|
overflow: {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
44
|
+
'[default]': {
|
|
45
|
+
value: [{
|
|
46
|
+
radius: 12,
|
|
47
|
+
offset: {
|
|
48
|
+
x: 0,
|
|
49
|
+
y: 0
|
|
50
|
+
},
|
|
51
|
+
// @ts-ignore no current palette colour for this yet
|
|
52
|
+
color: '#030404',
|
|
53
|
+
// This opacity overrides the color alpha.
|
|
54
|
+
opacity: 0.56
|
|
55
|
+
}, {
|
|
56
|
+
radius: 1,
|
|
57
|
+
offset: {
|
|
58
|
+
x: 0,
|
|
59
|
+
y: 0
|
|
60
|
+
},
|
|
61
|
+
// @ts-ignore no current palette colour for this yet
|
|
62
|
+
color: '#030404',
|
|
63
|
+
// This opacity overrides the color alpha.
|
|
64
|
+
opacity: 0.5
|
|
65
|
+
}]
|
|
66
|
+
},
|
|
67
|
+
// @ts-ignore no current palette colour for this yet
|
|
68
|
+
spread: {
|
|
69
|
+
value: '#0304048f'
|
|
70
|
+
},
|
|
71
|
+
// @ts-ignore no current palette colour for this yet
|
|
72
|
+
perimeter: {
|
|
73
|
+
value: '#03040480'
|
|
74
|
+
}
|
|
65
75
|
},
|
|
66
76
|
overlay: {
|
|
67
77
|
value: [{
|
|
@@ -52,8 +52,9 @@ var color = {
|
|
|
52
52
|
},
|
|
53
53
|
neutral: {
|
|
54
54
|
'[default]': {
|
|
55
|
+
// this SHOULD be N20A but it creates a larger visual difference with lozenge / badge
|
|
55
56
|
'[default]': {
|
|
56
|
-
value: '
|
|
57
|
+
value: 'N40'
|
|
57
58
|
},
|
|
58
59
|
hovered: {
|
|
59
60
|
value: 'N30A'
|
|
@@ -91,10 +92,10 @@ var color = {
|
|
|
91
92
|
value: 'B400'
|
|
92
93
|
},
|
|
93
94
|
hovered: {
|
|
94
|
-
value: '
|
|
95
|
+
value: 'B300'
|
|
95
96
|
},
|
|
96
97
|
pressed: {
|
|
97
|
-
value: '
|
|
98
|
+
value: 'B500'
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
101
|
},
|
|
@@ -139,10 +140,10 @@ var color = {
|
|
|
139
140
|
value: 'R400'
|
|
140
141
|
},
|
|
141
142
|
hovered: {
|
|
142
|
-
value: '
|
|
143
|
+
value: 'R300'
|
|
143
144
|
},
|
|
144
145
|
pressed: {
|
|
145
|
-
value: '
|
|
146
|
+
value: 'R500'
|
|
146
147
|
}
|
|
147
148
|
}
|
|
148
149
|
},
|
|
@@ -160,13 +161,13 @@ var color = {
|
|
|
160
161
|
},
|
|
161
162
|
bold: {
|
|
162
163
|
'[default]': {
|
|
163
|
-
value: '
|
|
164
|
+
value: 'Y300'
|
|
164
165
|
},
|
|
165
166
|
hovered: {
|
|
166
167
|
value: 'Y200'
|
|
167
168
|
},
|
|
168
169
|
pressed: {
|
|
169
|
-
value: '
|
|
170
|
+
value: 'Y400'
|
|
170
171
|
}
|
|
171
172
|
}
|
|
172
173
|
},
|
|
@@ -11,7 +11,7 @@ var color = {
|
|
|
11
11
|
value: 'N800'
|
|
12
12
|
},
|
|
13
13
|
subtle: {
|
|
14
|
-
value: '
|
|
14
|
+
value: 'N500'
|
|
15
15
|
},
|
|
16
16
|
subtlest: {
|
|
17
17
|
value: 'N100'
|
|
@@ -33,7 +33,7 @@ var color = {
|
|
|
33
33
|
},
|
|
34
34
|
warning: {
|
|
35
35
|
'[default]': {
|
|
36
|
-
value: '
|
|
36
|
+
value: 'O800'
|
|
37
37
|
},
|
|
38
38
|
inverse: {
|
|
39
39
|
value: 'N800'
|