@atlaskit/ds-explorations 3.2.3 → 3.2.5
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/dist/cjs/components/text.partial.js +3 -2
- package/dist/es2019/components/text.partial.js +3 -2
- package/dist/esm/components/text.partial.js +3 -2
- package/dist/types/components/text.partial.d.ts +2 -2
- package/dist/types-ts4.5/components/text.partial.d.ts +2 -2
- package/package.json +3 -3
- package/scripts/color-codegen-template.tsx +4 -4
- package/scripts/color-map-template.tsx +1 -2
- package/scripts/interaction-codegen.tsx +1 -2
- package/src/components/text.partial.tsx +2 -2
- package/tsconfig.dev.json +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/ds-explorations
|
|
2
2
|
|
|
3
|
+
## 3.2.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#79770](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/79770) [`542e29efe0ad`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/542e29efe0ad) - Update imports from @atlaskit/tokens
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
10
|
+
## 3.2.4
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [#77148](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77148) [`d2c916f37431`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d2c916f37431) - Codegen updates
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 3.2.3
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -129,11 +129,11 @@ var Text = function Text(_ref) {
|
|
|
129
129
|
var _default = exports.default = Text;
|
|
130
130
|
/**
|
|
131
131
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
132
|
-
* @codegen <<SignedSource::
|
|
132
|
+
* @codegen <<SignedSource::810e8bb08f80fbe8be4954ff88db13f3>>
|
|
133
133
|
* @codegenId typography
|
|
134
134
|
* @codegenCommand yarn codegen-styles
|
|
135
135
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight"]
|
|
136
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography-adg3.tsx <<SignedSource::
|
|
136
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography-adg3.tsx <<SignedSource::dea2f000c634888a201f28bc93b656cf>>
|
|
137
137
|
*/
|
|
138
138
|
var fontSizeMap = {
|
|
139
139
|
'size.050': (0, _react2.css)({
|
|
@@ -224,6 +224,7 @@ var lineHeightMap = {
|
|
|
224
224
|
/**
|
|
225
225
|
* @codegenEnd
|
|
226
226
|
*/
|
|
227
|
+
|
|
227
228
|
/**
|
|
228
229
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
229
230
|
* @codegen <<SignedSource::95d4f240e36e302a634e8633a0782cba>>
|
|
@@ -120,11 +120,11 @@ export default Text;
|
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
122
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
123
|
-
* @codegen <<SignedSource::
|
|
123
|
+
* @codegen <<SignedSource::810e8bb08f80fbe8be4954ff88db13f3>>
|
|
124
124
|
* @codegenId typography
|
|
125
125
|
* @codegenCommand yarn codegen-styles
|
|
126
126
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight"]
|
|
127
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography-adg3.tsx <<SignedSource::
|
|
127
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography-adg3.tsx <<SignedSource::dea2f000c634888a201f28bc93b656cf>>
|
|
128
128
|
*/
|
|
129
129
|
const fontSizeMap = {
|
|
130
130
|
'size.050': css({
|
|
@@ -215,6 +215,7 @@ const lineHeightMap = {
|
|
|
215
215
|
/**
|
|
216
216
|
* @codegenEnd
|
|
217
217
|
*/
|
|
218
|
+
|
|
218
219
|
/**
|
|
219
220
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
220
221
|
* @codegen <<SignedSource::95d4f240e36e302a634e8633a0782cba>>
|
|
@@ -123,11 +123,11 @@ export default Text;
|
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
126
|
-
* @codegen <<SignedSource::
|
|
126
|
+
* @codegen <<SignedSource::810e8bb08f80fbe8be4954ff88db13f3>>
|
|
127
127
|
* @codegenId typography
|
|
128
128
|
* @codegenCommand yarn codegen-styles
|
|
129
129
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight"]
|
|
130
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography-adg3.tsx <<SignedSource::
|
|
130
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography-adg3.tsx <<SignedSource::dea2f000c634888a201f28bc93b656cf>>
|
|
131
131
|
*/
|
|
132
132
|
var fontSizeMap = {
|
|
133
133
|
'size.050': css({
|
|
@@ -218,6 +218,7 @@ var lineHeightMap = {
|
|
|
218
218
|
/**
|
|
219
219
|
* @codegenEnd
|
|
220
220
|
*/
|
|
221
|
+
|
|
221
222
|
/**
|
|
222
223
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
223
224
|
* @codegen <<SignedSource::95d4f240e36e302a634e8633a0782cba>>
|
|
@@ -81,11 +81,11 @@ declare const Text: FC<TextProps>;
|
|
|
81
81
|
export default Text;
|
|
82
82
|
/**
|
|
83
83
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
84
|
-
* @codegen <<SignedSource::
|
|
84
|
+
* @codegen <<SignedSource::810e8bb08f80fbe8be4954ff88db13f3>>
|
|
85
85
|
* @codegenId typography
|
|
86
86
|
* @codegenCommand yarn codegen-styles
|
|
87
87
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight"]
|
|
88
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography-adg3.tsx <<SignedSource::
|
|
88
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography-adg3.tsx <<SignedSource::dea2f000c634888a201f28bc93b656cf>>
|
|
89
89
|
*/
|
|
90
90
|
declare const fontSizeMap: {
|
|
91
91
|
'size.050': import("@emotion/react").SerializedStyles;
|
|
@@ -86,11 +86,11 @@ declare const Text: FC<TextProps>;
|
|
|
86
86
|
export default Text;
|
|
87
87
|
/**
|
|
88
88
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
89
|
-
* @codegen <<SignedSource::
|
|
89
|
+
* @codegen <<SignedSource::810e8bb08f80fbe8be4954ff88db13f3>>
|
|
90
90
|
* @codegenId typography
|
|
91
91
|
* @codegenCommand yarn codegen-styles
|
|
92
92
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight"]
|
|
93
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography-adg3.tsx <<SignedSource::
|
|
93
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography-adg3.tsx <<SignedSource::dea2f000c634888a201f28bc93b656cf>>
|
|
94
94
|
*/
|
|
95
95
|
declare const fontSizeMap: {
|
|
96
96
|
'size.050': import("@emotion/react").SerializedStyles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/ds-explorations",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.5",
|
|
4
4
|
"description": "An experimental package for exploration and validation of spacing / typography foundations.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"prepare": "yarn ak-postbuild"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@atlaskit/tokens": "^1.
|
|
28
|
+
"@atlaskit/tokens": "^1.40.0",
|
|
29
29
|
"@babel/runtime": "^7.0.0",
|
|
30
30
|
"@emotion/react": "^11.7.1",
|
|
31
31
|
"tiny-invariant": "^1.2.0"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@atlaskit/ds-lib": "*",
|
|
38
|
-
"@atlaskit/primitives": "^
|
|
38
|
+
"@atlaskit/primitives": "^4.0.0",
|
|
39
39
|
"@atlaskit/visual-regression": "*",
|
|
40
40
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
41
41
|
"@atlassian/codegen": "^0.1.0",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import prettier from 'prettier';
|
|
2
2
|
import parserTypeScript from 'prettier/parser-typescript';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
import {
|
|
5
|
+
legacyLightTokens as legacyTokens,
|
|
6
|
+
light as tokens,
|
|
7
|
+
} from '@atlaskit/tokens/tokens-raw';
|
|
8
8
|
|
|
9
9
|
import {
|
|
10
10
|
capitalize,
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import prettier from 'prettier';
|
|
2
2
|
import parserTypeScript from 'prettier/parser-typescript';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
import tokens from '@atlaskit/tokens/src/artifacts/tokens-raw/atlassian-light';
|
|
4
|
+
import { light as tokens } from '@atlaskit/tokens/tokens-raw';
|
|
6
5
|
|
|
7
6
|
import { compose, isAccent, not, pick } from './utils';
|
|
8
7
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import prettier from 'prettier';
|
|
2
2
|
import parserTypeScript from 'prettier/parser-typescript';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
import tokens from '@atlaskit/tokens/src/artifacts/tokens-raw/atlassian-light';
|
|
4
|
+
import { light as tokens } from '@atlaskit/tokens/tokens-raw';
|
|
6
5
|
|
|
7
6
|
import {
|
|
8
7
|
capitalize,
|
|
@@ -189,11 +189,11 @@ export default Text;
|
|
|
189
189
|
|
|
190
190
|
/**
|
|
191
191
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
192
|
-
* @codegen <<SignedSource::
|
|
192
|
+
* @codegen <<SignedSource::810e8bb08f80fbe8be4954ff88db13f3>>
|
|
193
193
|
* @codegenId typography
|
|
194
194
|
* @codegenCommand yarn codegen-styles
|
|
195
195
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight"]
|
|
196
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography-adg3.tsx <<SignedSource::
|
|
196
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-typography-adg3.tsx <<SignedSource::dea2f000c634888a201f28bc93b656cf>>
|
|
197
197
|
*/
|
|
198
198
|
const fontSizeMap = {
|
|
199
199
|
'size.050': css({
|