@atlaskit/primitives 1.6.0 → 1.6.1
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 +7 -0
- package/dist/cjs/xcss/style-maps.partial.js +4 -3
- package/dist/es2019/xcss/style-maps.partial.js +4 -3
- package/dist/esm/xcss/style-maps.partial.js +4 -3
- package/dist/types/xcss/style-maps.partial.d.ts +3 -2
- package/dist/types-ts4.5/xcss/style-maps.partial.d.ts +3 -2
- package/package.json +3 -3
- package/report.api.md +1 -0
- package/scripts/__tests__/__snapshots__/codegen.test.tsx.snap +1 -0
- package/tmp/api-report-tmp.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/primitives
|
|
2
2
|
|
|
3
|
+
## 1.6.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`83cd2ae7c5a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/83cd2ae7c5a) - Regenerates codegen artifacts as a result of introducting new visited link token.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
3
10
|
## 1.6.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
|
@@ -73,11 +73,11 @@ exports.negativeSpaceMap = negativeSpaceMap;
|
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
75
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
76
|
-
* @codegen <<SignedSource::
|
|
76
|
+
* @codegen <<SignedSource::2d67e9258c01e48d564a26a1e4400b94>>
|
|
77
77
|
* @codegenId colors
|
|
78
78
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
79
79
|
* @codegenParams ["border", "background", "shadow", "text", "fill", "surface"]
|
|
80
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
80
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
|
|
81
81
|
*/
|
|
82
82
|
var borderColorMap = {
|
|
83
83
|
'color.border': "var(--ds-border, #091e4221)",
|
|
@@ -346,7 +346,8 @@ var textColorMap = {
|
|
|
346
346
|
'color.text.subtlest': "var(--ds-text-subtlest, #7A869A)",
|
|
347
347
|
'color.text.subtle': "var(--ds-text-subtle, #42526E)",
|
|
348
348
|
'color.link': "var(--ds-link, #0052CC)",
|
|
349
|
-
'color.link.pressed': "var(--ds-link-pressed, #0747A6)"
|
|
349
|
+
'color.link.pressed': "var(--ds-link-pressed, #0747A6)",
|
|
350
|
+
'color.link.visited': "var(--ds-link-visited, #403294)"
|
|
350
351
|
};
|
|
351
352
|
exports.textColorMap = textColorMap;
|
|
352
353
|
var fillMap = {
|
|
@@ -61,11 +61,11 @@ export const negativeSpaceMap = {
|
|
|
61
61
|
*/
|
|
62
62
|
/**
|
|
63
63
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
64
|
-
* @codegen <<SignedSource::
|
|
64
|
+
* @codegen <<SignedSource::2d67e9258c01e48d564a26a1e4400b94>>
|
|
65
65
|
* @codegenId colors
|
|
66
66
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
67
67
|
* @codegenParams ["border", "background", "shadow", "text", "fill", "surface"]
|
|
68
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
68
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
|
|
69
69
|
*/
|
|
70
70
|
export const borderColorMap = {
|
|
71
71
|
'color.border': "var(--ds-border, #091e4221)",
|
|
@@ -331,7 +331,8 @@ export const textColorMap = {
|
|
|
331
331
|
'color.text.subtlest': "var(--ds-text-subtlest, #7A869A)",
|
|
332
332
|
'color.text.subtle': "var(--ds-text-subtle, #42526E)",
|
|
333
333
|
'color.link': "var(--ds-link, #0052CC)",
|
|
334
|
-
'color.link.pressed': "var(--ds-link-pressed, #0747A6)"
|
|
334
|
+
'color.link.pressed': "var(--ds-link-pressed, #0747A6)",
|
|
335
|
+
'color.link.visited': "var(--ds-link-visited, #403294)"
|
|
335
336
|
};
|
|
336
337
|
export const fillMap = {
|
|
337
338
|
'color.icon': "var(--ds-icon, #505F79)",
|
|
@@ -62,11 +62,11 @@ export var negativeSpaceMap = {
|
|
|
62
62
|
*/
|
|
63
63
|
/**
|
|
64
64
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
65
|
-
* @codegen <<SignedSource::
|
|
65
|
+
* @codegen <<SignedSource::2d67e9258c01e48d564a26a1e4400b94>>
|
|
66
66
|
* @codegenId colors
|
|
67
67
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
68
68
|
* @codegenParams ["border", "background", "shadow", "text", "fill", "surface"]
|
|
69
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
69
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
|
|
70
70
|
*/
|
|
71
71
|
export var borderColorMap = {
|
|
72
72
|
'color.border': "var(--ds-border, #091e4221)",
|
|
@@ -332,7 +332,8 @@ export var textColorMap = {
|
|
|
332
332
|
'color.text.subtlest': "var(--ds-text-subtlest, #7A869A)",
|
|
333
333
|
'color.text.subtle': "var(--ds-text-subtle, #42526E)",
|
|
334
334
|
'color.link': "var(--ds-link, #0052CC)",
|
|
335
|
-
'color.link.pressed': "var(--ds-link-pressed, #0747A6)"
|
|
335
|
+
'color.link.pressed': "var(--ds-link-pressed, #0747A6)",
|
|
336
|
+
'color.link.visited': "var(--ds-link-visited, #403294)"
|
|
336
337
|
};
|
|
337
338
|
export var fillMap = {
|
|
338
339
|
'color.icon': "var(--ds-icon, #505F79)",
|
|
@@ -62,11 +62,11 @@ export type NegativeSpace = keyof typeof negativeSpaceMap;
|
|
|
62
62
|
*/
|
|
63
63
|
/**
|
|
64
64
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
65
|
-
* @codegen <<SignedSource::
|
|
65
|
+
* @codegen <<SignedSource::2d67e9258c01e48d564a26a1e4400b94>>
|
|
66
66
|
* @codegenId colors
|
|
67
67
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
68
68
|
* @codegenParams ["border", "background", "shadow", "text", "fill", "surface"]
|
|
69
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
69
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
|
|
70
70
|
*/
|
|
71
71
|
export declare const borderColorMap: {
|
|
72
72
|
readonly 'color.border': "var(--ds-border)";
|
|
@@ -336,6 +336,7 @@ export declare const textColorMap: {
|
|
|
336
336
|
readonly 'color.text.subtle': "var(--ds-text-subtle)";
|
|
337
337
|
readonly 'color.link': "var(--ds-link)";
|
|
338
338
|
readonly 'color.link.pressed': "var(--ds-link-pressed)";
|
|
339
|
+
readonly 'color.link.visited': "var(--ds-link-visited)";
|
|
339
340
|
};
|
|
340
341
|
export type TextColor = keyof typeof textColorMap;
|
|
341
342
|
export declare const fillMap: {
|
|
@@ -62,11 +62,11 @@ export type NegativeSpace = keyof typeof negativeSpaceMap;
|
|
|
62
62
|
*/
|
|
63
63
|
/**
|
|
64
64
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
65
|
-
* @codegen <<SignedSource::
|
|
65
|
+
* @codegen <<SignedSource::2d67e9258c01e48d564a26a1e4400b94>>
|
|
66
66
|
* @codegenId colors
|
|
67
67
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
68
68
|
* @codegenParams ["border", "background", "shadow", "text", "fill", "surface"]
|
|
69
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
69
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f6a616f7ea03ec40c148fc83050d073b>>
|
|
70
70
|
*/
|
|
71
71
|
export declare const borderColorMap: {
|
|
72
72
|
readonly 'color.border': "var(--ds-border)";
|
|
@@ -336,6 +336,7 @@ export declare const textColorMap: {
|
|
|
336
336
|
readonly 'color.text.subtle': "var(--ds-text-subtle)";
|
|
337
337
|
readonly 'color.link': "var(--ds-link)";
|
|
338
338
|
readonly 'color.link.pressed': "var(--ds-link-pressed)";
|
|
339
|
+
readonly 'color.link.visited': "var(--ds-link-visited)";
|
|
339
340
|
};
|
|
340
341
|
export type TextColor = keyof typeof textColorMap;
|
|
341
342
|
export declare const fillMap: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/primitives",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "Primitives are token-backed low-level building blocks.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"codegen-styles": "ts-node -r tsconfig-paths/register ./scripts/codegen-styles.tsx"
|
|
126
126
|
},
|
|
127
127
|
"dependencies": {
|
|
128
|
-
"@atlaskit/tokens": "^1.
|
|
128
|
+
"@atlaskit/tokens": "^1.24.0",
|
|
129
129
|
"@babel/runtime": "^7.0.0",
|
|
130
130
|
"@emotion/react": "^11.7.1",
|
|
131
131
|
"@emotion/serialize": "^1.1.0",
|
|
@@ -196,4 +196,4 @@
|
|
|
196
196
|
"./responsive": "./src/responsive/index.tsx"
|
|
197
197
|
},
|
|
198
198
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
|
|
199
|
-
}
|
|
199
|
+
}
|
package/report.api.md
CHANGED
|
@@ -1081,6 +1081,7 @@ const textColorMap: {
|
|
|
1081
1081
|
readonly 'color.text.subtle': 'var(--ds-text-subtle)';
|
|
1082
1082
|
readonly 'color.link': 'var(--ds-link)';
|
|
1083
1083
|
readonly 'color.link.pressed': 'var(--ds-link-pressed)';
|
|
1084
|
+
readonly 'color.link.visited': 'var(--ds-link-visited)';
|
|
1084
1085
|
};
|
|
1085
1086
|
|
|
1086
1087
|
// @public (undocumented)
|
|
@@ -868,6 +868,7 @@ exports[`@atlaskit/primitives text styles are generated correctly 1`] = `
|
|
|
868
868
|
'color.text.subtle': token('color.text.subtle', '#42526E'),
|
|
869
869
|
'color.link': token('color.link', '#0052CC'),
|
|
870
870
|
'color.link.pressed': token('color.link.pressed', '#0747A6'),
|
|
871
|
+
'color.link.visited': token('color.link.visited', '#403294'),
|
|
871
872
|
} as const;
|
|
872
873
|
|
|
873
874
|
export type TextColor = keyof typeof textColorMap;
|
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -736,6 +736,7 @@ const textColorMap: {
|
|
|
736
736
|
readonly 'color.text.subtle': "var(--ds-text-subtle)";
|
|
737
737
|
readonly 'color.link': "var(--ds-link)";
|
|
738
738
|
readonly 'color.link.pressed': "var(--ds-link-pressed)";
|
|
739
|
+
readonly 'color.link.visited': "var(--ds-link-visited)";
|
|
739
740
|
};
|
|
740
741
|
|
|
741
742
|
// @public (undocumented)
|