@atlaskit/heading 5.2.8 → 5.2.9
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 +6 -0
- package/package.json +5 -5
- package/scripts/codegen.tsx +2 -2
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/heading",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.9",
|
|
4
4
|
"description": "A heading is a typography component used to display text in different sizes and formats.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"codegen": "ts-node ./scripts/codegen.tsx"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@atlaskit/css": "^0.
|
|
31
|
-
"@atlaskit/primitives": "^
|
|
32
|
-
"@atlaskit/tokens": "^6.
|
|
30
|
+
"@atlaskit/css": "^0.15.0",
|
|
31
|
+
"@atlaskit/primitives": "^15.0.0",
|
|
32
|
+
"@atlaskit/tokens": "^6.5.0",
|
|
33
33
|
"@babel/runtime": "^7.0.0",
|
|
34
34
|
"@compiled/react": "^0.18.3"
|
|
35
35
|
},
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@af/formatting": "workspace:^",
|
|
42
42
|
"@af/integration-testing": "workspace:^",
|
|
43
43
|
"@af/visual-regression": "workspace:^",
|
|
44
|
-
"@atlaskit/button": "^23.
|
|
44
|
+
"@atlaskit/button": "^23.5.0",
|
|
45
45
|
"@atlaskit/docs": "^11.1.0",
|
|
46
46
|
"@atlaskit/ds-lib": "^5.1.0",
|
|
47
47
|
"@atlaskit/ssr": "workspace:^",
|
package/scripts/codegen.tsx
CHANGED
|
@@ -22,14 +22,14 @@ const removeVerbosity = (name: string): string => {
|
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
export const createTypographyStylesFromTemplate = () => {
|
|
25
|
-
|
|
26
25
|
const tokenTypes = headingTokens
|
|
27
26
|
.map((token) => {
|
|
28
27
|
return `
|
|
29
28
|
readonly ${removeVerbosity(token.name)}: CompiledStyles<{
|
|
30
29
|
font: "var(${tokenNames[token.name as keyof typeof tokenNames]})";
|
|
31
30
|
}>;`.trim();
|
|
32
|
-
})
|
|
31
|
+
})
|
|
32
|
+
.join('\n\t');
|
|
33
33
|
|
|
34
34
|
return (
|
|
35
35
|
format(
|