@atlaskit/primitives 16.4.3 → 16.4.4
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 +8 -0
- package/dist/cjs/compiled/components/anchor.js +1 -1
- package/dist/cjs/compiled/components/pressable.js +1 -1
- package/dist/cjs/components/anchor.js +1 -1
- package/dist/cjs/components/pressable.js +1 -1
- package/dist/cjs/xcss/style-maps.partial.js +2 -2
- package/dist/es2019/compiled/components/anchor.js +1 -1
- package/dist/es2019/compiled/components/pressable.js +1 -1
- package/dist/es2019/components/anchor.js +1 -1
- package/dist/es2019/components/pressable.js +1 -1
- package/dist/es2019/xcss/style-maps.partial.js +2 -2
- package/dist/esm/compiled/components/anchor.js +1 -1
- package/dist/esm/compiled/components/pressable.js +1 -1
- package/dist/esm/components/anchor.js +1 -1
- package/dist/esm/components/pressable.js +1 -1
- package/dist/esm/xcss/style-maps.partial.js +2 -2
- package/dist/types/xcss/style-maps.partial.d.ts +2 -2
- package/dist/types-ts4.5/xcss/style-maps.partial.d.ts +2 -2
- package/package.json +3 -3
- package/scripts/codegen-styles.tsx +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/primitives
|
|
2
2
|
|
|
3
|
+
## 16.4.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`8f904ca860b20`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8f904ca860b20) -
|
|
8
|
+
Fixed codegen script not respecting manual changes in partially codegen'd files.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 16.4.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -70,7 +70,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
|
|
|
70
70
|
action: 'clicked',
|
|
71
71
|
componentName: componentName || 'Anchor',
|
|
72
72
|
packageName: "@atlaskit/primitives",
|
|
73
|
-
packageVersion: "
|
|
73
|
+
packageVersion: "16.4.4",
|
|
74
74
|
analyticsData: analyticsContext,
|
|
75
75
|
actionSubject: 'link'
|
|
76
76
|
});
|
|
@@ -61,7 +61,7 @@ var Pressable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
61
61
|
action: 'clicked',
|
|
62
62
|
componentName: componentName || 'Pressable',
|
|
63
63
|
packageName: "@atlaskit/primitives",
|
|
64
|
-
packageVersion: "
|
|
64
|
+
packageVersion: "16.4.4",
|
|
65
65
|
analyticsData: analyticsContext,
|
|
66
66
|
actionSubject: 'button'
|
|
67
67
|
});
|
|
@@ -105,7 +105,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
|
|
|
105
105
|
action: 'clicked',
|
|
106
106
|
componentName: componentName || 'Anchor',
|
|
107
107
|
packageName: "@atlaskit/primitives",
|
|
108
|
-
packageVersion: "
|
|
108
|
+
packageVersion: "16.4.4",
|
|
109
109
|
analyticsData: analyticsContext,
|
|
110
110
|
actionSubject: 'link'
|
|
111
111
|
});
|
|
@@ -97,7 +97,7 @@ var Pressable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
97
97
|
action: 'clicked',
|
|
98
98
|
componentName: componentName || 'Pressable',
|
|
99
99
|
packageName: "@atlaskit/primitives",
|
|
100
|
-
packageVersion: "
|
|
100
|
+
packageVersion: "16.4.4",
|
|
101
101
|
analyticsData: analyticsContext,
|
|
102
102
|
actionSubject: 'button'
|
|
103
103
|
});
|
|
@@ -494,11 +494,11 @@ var layerMap = exports.layerMap = {
|
|
|
494
494
|
|
|
495
495
|
/**
|
|
496
496
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
497
|
-
* @codegen <<SignedSource::
|
|
497
|
+
* @codegen <<SignedSource::2db762824a4c50f25f7829537dee1f49>>
|
|
498
498
|
* @codegenId border
|
|
499
499
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
500
500
|
* @codegenParams ["width", "radius"]
|
|
501
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
501
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::6683952932c4ad145144ebc086a2548e>>
|
|
502
502
|
*/
|
|
503
503
|
var borderWidthMap = exports.borderWidthMap = {
|
|
504
504
|
'border.width': "var(--ds-border-width, 1px)",
|
|
@@ -56,7 +56,7 @@ const AnchorNoRef = ({
|
|
|
56
56
|
action: 'clicked',
|
|
57
57
|
componentName: componentName || 'Anchor',
|
|
58
58
|
packageName: "@atlaskit/primitives",
|
|
59
|
-
packageVersion: "
|
|
59
|
+
packageVersion: "16.4.4",
|
|
60
60
|
analyticsData: analyticsContext,
|
|
61
61
|
actionSubject: 'link'
|
|
62
62
|
});
|
|
@@ -48,7 +48,7 @@ const Pressable = /*#__PURE__*/forwardRef(({
|
|
|
48
48
|
action: 'clicked',
|
|
49
49
|
componentName: componentName || 'Pressable',
|
|
50
50
|
packageName: "@atlaskit/primitives",
|
|
51
|
-
packageVersion: "
|
|
51
|
+
packageVersion: "16.4.4",
|
|
52
52
|
analyticsData: analyticsContext,
|
|
53
53
|
actionSubject: 'button'
|
|
54
54
|
});
|
|
@@ -94,7 +94,7 @@ const AnchorNoRef = ({
|
|
|
94
94
|
action: 'clicked',
|
|
95
95
|
componentName: componentName || 'Anchor',
|
|
96
96
|
packageName: "@atlaskit/primitives",
|
|
97
|
-
packageVersion: "
|
|
97
|
+
packageVersion: "16.4.4",
|
|
98
98
|
analyticsData: analyticsContext,
|
|
99
99
|
actionSubject: 'link'
|
|
100
100
|
});
|
|
@@ -86,7 +86,7 @@ const Pressable = /*#__PURE__*/forwardRef(({
|
|
|
86
86
|
action: 'clicked',
|
|
87
87
|
componentName: componentName || 'Pressable',
|
|
88
88
|
packageName: "@atlaskit/primitives",
|
|
89
|
-
packageVersion: "
|
|
89
|
+
packageVersion: "16.4.4",
|
|
90
90
|
analyticsData: analyticsContext,
|
|
91
91
|
actionSubject: 'button'
|
|
92
92
|
});
|
|
@@ -489,11 +489,11 @@ export const layerMap = {
|
|
|
489
489
|
|
|
490
490
|
/**
|
|
491
491
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
492
|
-
* @codegen <<SignedSource::
|
|
492
|
+
* @codegen <<SignedSource::2db762824a4c50f25f7829537dee1f49>>
|
|
493
493
|
* @codegenId border
|
|
494
494
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
495
495
|
* @codegenParams ["width", "radius"]
|
|
496
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
496
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::6683952932c4ad145144ebc086a2548e>>
|
|
497
497
|
*/
|
|
498
498
|
export const borderWidthMap = {
|
|
499
499
|
'border.width': "var(--ds-border-width, 1px)",
|
|
@@ -61,7 +61,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
|
|
|
61
61
|
action: 'clicked',
|
|
62
62
|
componentName: componentName || 'Anchor',
|
|
63
63
|
packageName: "@atlaskit/primitives",
|
|
64
|
-
packageVersion: "
|
|
64
|
+
packageVersion: "16.4.4",
|
|
65
65
|
analyticsData: analyticsContext,
|
|
66
66
|
actionSubject: 'link'
|
|
67
67
|
});
|
|
@@ -52,7 +52,7 @@ var Pressable = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
52
52
|
action: 'clicked',
|
|
53
53
|
componentName: componentName || 'Pressable',
|
|
54
54
|
packageName: "@atlaskit/primitives",
|
|
55
|
-
packageVersion: "
|
|
55
|
+
packageVersion: "16.4.4",
|
|
56
56
|
analyticsData: analyticsContext,
|
|
57
57
|
actionSubject: 'button'
|
|
58
58
|
});
|
|
@@ -99,7 +99,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
|
|
|
99
99
|
action: 'clicked',
|
|
100
100
|
componentName: componentName || 'Anchor',
|
|
101
101
|
packageName: "@atlaskit/primitives",
|
|
102
|
-
packageVersion: "
|
|
102
|
+
packageVersion: "16.4.4",
|
|
103
103
|
analyticsData: analyticsContext,
|
|
104
104
|
actionSubject: 'link'
|
|
105
105
|
});
|
|
@@ -91,7 +91,7 @@ var Pressable = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
91
91
|
action: 'clicked',
|
|
92
92
|
componentName: componentName || 'Pressable',
|
|
93
93
|
packageName: "@atlaskit/primitives",
|
|
94
|
-
packageVersion: "
|
|
94
|
+
packageVersion: "16.4.4",
|
|
95
95
|
analyticsData: analyticsContext,
|
|
96
96
|
actionSubject: 'button'
|
|
97
97
|
});
|
|
@@ -489,11 +489,11 @@ export var layerMap = {
|
|
|
489
489
|
|
|
490
490
|
/**
|
|
491
491
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
492
|
-
* @codegen <<SignedSource::
|
|
492
|
+
* @codegen <<SignedSource::2db762824a4c50f25f7829537dee1f49>>
|
|
493
493
|
* @codegenId border
|
|
494
494
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
495
495
|
* @codegenParams ["width", "radius"]
|
|
496
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
496
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::6683952932c4ad145144ebc086a2548e>>
|
|
497
497
|
*/
|
|
498
498
|
export var borderWidthMap = {
|
|
499
499
|
'border.width': "var(--ds-border-width, 1px)",
|
|
@@ -513,11 +513,11 @@ export type Layer = keyof typeof layerMap;
|
|
|
513
513
|
*/
|
|
514
514
|
/**
|
|
515
515
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
516
|
-
* @codegen <<SignedSource::
|
|
516
|
+
* @codegen <<SignedSource::2db762824a4c50f25f7829537dee1f49>>
|
|
517
517
|
* @codegenId border
|
|
518
518
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
519
519
|
* @codegenParams ["width", "radius"]
|
|
520
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
520
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::6683952932c4ad145144ebc086a2548e>>
|
|
521
521
|
*/
|
|
522
522
|
export declare const borderWidthMap: {
|
|
523
523
|
'border.width': 'var(--ds-border-width)';
|
|
@@ -513,11 +513,11 @@ export type Layer = keyof typeof layerMap;
|
|
|
513
513
|
*/
|
|
514
514
|
/**
|
|
515
515
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
516
|
-
* @codegen <<SignedSource::
|
|
516
|
+
* @codegen <<SignedSource::2db762824a4c50f25f7829537dee1f49>>
|
|
517
517
|
* @codegenId border
|
|
518
518
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
519
519
|
* @codegenParams ["width", "radius"]
|
|
520
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
520
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::6683952932c4ad145144ebc086a2548e>>
|
|
521
521
|
*/
|
|
522
522
|
export declare const borderWidthMap: {
|
|
523
523
|
'border.width': 'var(--ds-border-width)';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/primitives",
|
|
3
|
-
"version": "16.4.
|
|
3
|
+
"version": "16.4.4",
|
|
4
4
|
"description": "Primitives are token-backed low-level building blocks.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -161,9 +161,9 @@
|
|
|
161
161
|
"@atlaskit/docs": "^11.2.0",
|
|
162
162
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
163
163
|
"@atlaskit/flag": "^17.7.0",
|
|
164
|
-
"@atlaskit/form": "^15.
|
|
164
|
+
"@atlaskit/form": "^15.1.0",
|
|
165
165
|
"@atlaskit/heading": "^5.2.0",
|
|
166
|
-
"@atlaskit/icon": "^29.
|
|
166
|
+
"@atlaskit/icon": "^29.3.0",
|
|
167
167
|
"@atlaskit/icon-object": "^7.4.0",
|
|
168
168
|
"@atlaskit/image": "^3.0.0",
|
|
169
169
|
"@atlaskit/link": "^3.2.0",
|
|
@@ -212,9 +212,9 @@ const forgeSourceFn = () =>
|
|
|
212
212
|
);
|
|
213
213
|
|
|
214
214
|
// Write all generated files
|
|
215
|
-
primitivesSourceFns.forEach((sourceFn
|
|
216
|
-
|
|
217
|
-
writeFileSync(
|
|
215
|
+
primitivesSourceFns.forEach((sourceFn) => {
|
|
216
|
+
writeFileSync(primitivesOutputs[0], sourceFn());
|
|
217
|
+
writeFileSync(primitivesOutputs[1], sourceFn());
|
|
218
218
|
});
|
|
219
219
|
|
|
220
220
|
writeFileSync(forgeOutputPath, forgeSourceFn());
|