@atlaskit/heading 5.2.8 → 5.2.10
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 +12 -1
- package/package.json +7 -7
- package/scripts/codegen.tsx +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/heading
|
|
2
2
|
|
|
3
|
+
## 5.2.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 5.2.9
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 5.2.8
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -611,7 +623,6 @@
|
|
|
611
623
|
production. The major is to simplify consumption and versioning in product.
|
|
612
624
|
|
|
613
625
|
Other changes:
|
|
614
|
-
|
|
615
626
|
- Introduction of a `HeadingContext` provider to aid with creating the right semantic structure
|
|
616
627
|
for headings.
|
|
617
628
|
- Migrated internals to use `@compiled/react` from `@emotion/react`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/heading",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.10",
|
|
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,11 +27,11 @@
|
|
|
27
27
|
"codegen": "ts-node ./scripts/codegen.tsx"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@atlaskit/css": "^0.
|
|
31
|
-
"@atlaskit/primitives": "^
|
|
32
|
-
"@atlaskit/tokens": "^
|
|
30
|
+
"@atlaskit/css": "^0.15.0",
|
|
31
|
+
"@atlaskit/primitives": "^15.0.0",
|
|
32
|
+
"@atlaskit/tokens": "^7.0.0",
|
|
33
33
|
"@babel/runtime": "^7.0.0",
|
|
34
|
-
"@compiled/react": "^0.18.
|
|
34
|
+
"@compiled/react": "^0.18.6"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"react": "^18.2.0"
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"@af/formatting": "workspace:^",
|
|
42
42
|
"@af/integration-testing": "workspace:^",
|
|
43
43
|
"@af/visual-regression": "workspace:^",
|
|
44
|
-
"@atlaskit/button": "^23.
|
|
45
|
-
"@atlaskit/docs": "^11.
|
|
44
|
+
"@atlaskit/button": "^23.5.0",
|
|
45
|
+
"@atlaskit/docs": "^11.2.0",
|
|
46
46
|
"@atlaskit/ds-lib": "^5.1.0",
|
|
47
47
|
"@atlaskit/ssr": "workspace:^",
|
|
48
48
|
"@atlassian/codegen": "^0.1.0",
|
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(
|