@atlaskit/primitives 16.4.2 → 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 CHANGED
@@ -1,5 +1,19 @@
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
+
11
+ ## 16.4.3
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 16.4.2
4
18
 
5
19
  ### 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: "16.4.1",
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: "16.4.1",
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: "16.4.1",
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: "16.4.1",
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::042e960cffbaf7b7d1022ee02c3c6cbb>>
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::a98e95106b856526c36bec8851e84348>>
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: "16.4.1",
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: "16.4.1",
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: "16.4.1",
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: "16.4.1",
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::042e960cffbaf7b7d1022ee02c3c6cbb>>
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::a98e95106b856526c36bec8851e84348>>
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: "16.4.1",
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: "16.4.1",
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: "16.4.1",
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: "16.4.1",
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::042e960cffbaf7b7d1022ee02c3c6cbb>>
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::a98e95106b856526c36bec8851e84348>>
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::042e960cffbaf7b7d1022ee02c3c6cbb>>
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::a98e95106b856526c36bec8851e84348>>
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::042e960cffbaf7b7d1022ee02c3c6cbb>>
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::a98e95106b856526c36bec8851e84348>>
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.2",
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/"
@@ -134,10 +134,10 @@
134
134
  "dependencies": {
135
135
  "@atlaskit/analytics-next": "^11.1.0",
136
136
  "@atlaskit/app-provider": "^3.2.0",
137
- "@atlaskit/css": "^0.17.0",
137
+ "@atlaskit/css": "^0.18.0",
138
138
  "@atlaskit/ds-lib": "^5.3.0",
139
139
  "@atlaskit/interaction-context": "^3.1.0",
140
- "@atlaskit/tokens": "^8.4.0",
140
+ "@atlaskit/tokens": "^8.6.0",
141
141
  "@atlaskit/visually-hidden": "^3.0.0",
142
142
  "@babel/runtime": "^7.0.0",
143
143
  "@compiled/react": "^0.18.6",
@@ -154,26 +154,26 @@
154
154
  "@af/formatting": "workspace:^",
155
155
  "@af/integration-testing": "workspace:^",
156
156
  "@af/visual-regression": "workspace:^",
157
- "@atlaskit/avatar": "^25.5.0",
158
- "@atlaskit/button": "^23.6.0",
159
- "@atlaskit/checkbox": "^17.1.0",
160
- "@atlaskit/code": "^17.3.0",
157
+ "@atlaskit/avatar": "^25.6.0",
158
+ "@atlaskit/button": "^23.8.0",
159
+ "@atlaskit/checkbox": "^17.2.0",
160
+ "@atlaskit/code": "^17.4.0",
161
161
  "@atlaskit/docs": "^11.2.0",
162
162
  "@atlaskit/dropdown-menu": "^16.3.0",
163
- "@atlaskit/flag": "^17.5.0",
164
- "@atlaskit/form": "^14.3.0",
163
+ "@atlaskit/flag": "^17.7.0",
164
+ "@atlaskit/form": "^15.1.0",
165
165
  "@atlaskit/heading": "^5.2.0",
166
- "@atlaskit/icon": "^29.0.0",
167
- "@atlaskit/icon-object": "^7.3.0",
166
+ "@atlaskit/icon": "^29.3.0",
167
+ "@atlaskit/icon-object": "^7.4.0",
168
168
  "@atlaskit/image": "^3.0.0",
169
169
  "@atlaskit/link": "^3.2.0",
170
170
  "@atlaskit/logo": "^19.9.0",
171
- "@atlaskit/lozenge": "^13.1.0",
171
+ "@atlaskit/lozenge": "^13.2.0",
172
172
  "@atlaskit/motion": "^5.3.0",
173
- "@atlaskit/range": "^9.2.0",
174
- "@atlaskit/section-message": "^8.9.0",
175
- "@atlaskit/textfield": "^8.1.0",
176
- "@atlaskit/toggle": "^15.1.0",
173
+ "@atlaskit/range": "^9.3.0",
174
+ "@atlaskit/section-message": "^8.11.0",
175
+ "@atlaskit/textfield": "^8.2.0",
176
+ "@atlaskit/toggle": "^15.2.0",
177
177
  "@atlaskit/tooltip": "^20.11.0",
178
178
  "@atlassian/analytics-bridge": "^0.7.0",
179
179
  "@atlassian/codegen": "^0.1.0",
@@ -212,9 +212,9 @@ const forgeSourceFn = () =>
212
212
  );
213
213
 
214
214
  // Write all generated files
215
- primitivesSourceFns.forEach((sourceFn, index) => {
216
- const outputPath = primitivesOutputs[Math.floor(index / 9)]; // 9 configs per output
217
- writeFileSync(outputPath, sourceFn());
215
+ primitivesSourceFns.forEach((sourceFn) => {
216
+ writeFileSync(primitivesOutputs[0], sourceFn());
217
+ writeFileSync(primitivesOutputs[1], sourceFn());
218
218
  });
219
219
 
220
220
  writeFileSync(forgeOutputPath, forgeSourceFn());