@atlaskit/ds-explorations 2.0.10 → 2.0.11

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,11 @@
1
1
  # @atlaskit/ds-explorations
2
2
 
3
+ ## 2.0.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [`a02eed2974e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a02eed2974e) - Move codegen into @atlassian scope to publish it to private registry
8
+
3
9
  ## 2.0.10
4
10
 
5
11
  ### Patch Changes
@@ -12,6 +12,15 @@ var _react2 = require("@emotion/react");
12
12
  var _constants = require("../constants");
13
13
  var _surfaceProvider = require("./surface-provider");
14
14
  var _excluded = ["children", "as", "className", "display", "flexDirection", "alignItems", "justifyContent", "backgroundColor", "borderColor", "borderStyle", "borderWidth", "borderRadius", "shadow", "layer", "padding", "paddingBlock", "paddingInline", "position", "height", "overflow", "width", "UNSAFE_style", "testId"];
15
+ /** @jsx jsx */
16
+ /**
17
+ * @private
18
+ * @deprecated DSP-8009: This type is scheduled for deletion.
19
+ * Please use `Box` from `@atlaskit/primitives` instead.
20
+ */
21
+
22
+ // Without this type annotation on Box we don't get autocomplete for props due to forwardRef types
23
+
15
24
  /**
16
25
  * __Box__
17
26
  *
@@ -273,7 +282,6 @@ var heightMap = {
273
282
  /**
274
283
  * @codegenEnd
275
284
  */
276
-
277
285
  /**
278
286
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
279
287
  * @codegen <<SignedSource::0ba10ee53636df14b0db65fa1adbc94c>>
@@ -417,7 +425,6 @@ var paddingInlineMap = {
417
425
  /**
418
426
  * @codegenEnd
419
427
  */
420
-
421
428
  /**
422
429
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
423
430
  * @codegen <<SignedSource::514663609a5a48a284de40c5c4ad200b>>
@@ -567,7 +574,6 @@ var shadowMap = {
567
574
  /**
568
575
  * @codegenEnd
569
576
  */
570
-
571
577
  /**
572
578
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
573
579
  * @codegen <<SignedSource::bacbea271b30ec7d2f61306c9a8a9e63>>
@@ -8,6 +8,12 @@ var _react = require("react");
8
8
  var _react2 = require("@emotion/react");
9
9
  /** @jsx jsx */
10
10
 
11
+ /**
12
+ * @private
13
+ * @deprecated DSP-8009: This type is scheduled for deletion.
14
+ * Please use `Inline` from `@atlaskit/primitives` instead.
15
+ */
16
+
11
17
  var flexAlignItemsMap = {
12
18
  center: (0, _react2.css)({
13
19
  alignItems: 'center'
@@ -8,6 +8,12 @@ var _react = require("react");
8
8
  var _react2 = require("@emotion/react");
9
9
  /** @jsx jsx */
10
10
 
11
+ /**
12
+ * @private
13
+ * @deprecated DSP-8009: This type is scheduled for deletion.
14
+ * Please use `Stack` from `@atlaskit/primitives` instead.
15
+ */
16
+
11
17
  var flexAlignItemsMap = {
12
18
  center: (0, _react2.css)({
13
19
  alignItems: 'center'
@@ -12,6 +12,7 @@ var _tinyInvariant = _interopRequireDefault(require("tiny-invariant"));
12
12
  var _colorMap = _interopRequireDefault(require("../internal/color-map"));
13
13
  var _surfaceProvider = require("./surface-provider");
14
14
  var _excluded = ["children"];
15
+ /** @jsx jsx */
15
16
  var asAllowlist = ['span', 'div', 'p', 'strong'];
16
17
  var textAlignMap = {
17
18
  center: (0, _react2.css)({
@@ -206,7 +207,6 @@ var lineHeightMap = {
206
207
  /**
207
208
  * @codegenEnd
208
209
  */
209
-
210
210
  /**
211
211
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
212
212
  * @codegen <<SignedSource::3780858df77f5fe0c6e0f39a4c989741>>
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/ds-explorations",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "sideEffects": false
5
5
  }
@@ -4,6 +4,15 @@ import { forwardRef } from 'react';
4
4
  import { css, jsx } from '@emotion/react';
5
5
  import { LAYERS } from '../constants';
6
6
  import { SurfaceContext } from './surface-provider';
7
+
8
+ /**
9
+ * @private
10
+ * @deprecated DSP-8009: This type is scheduled for deletion.
11
+ * Please use `Box` from `@atlaskit/primitives` instead.
12
+ */
13
+
14
+ // Without this type annotation on Box we don't get autocomplete for props due to forwardRef types
15
+
7
16
  /**
8
17
  * __Box__
9
18
  *
@@ -265,7 +274,6 @@ const heightMap = {
265
274
  /**
266
275
  * @codegenEnd
267
276
  */
268
-
269
277
  /**
270
278
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
271
279
  * @codegen <<SignedSource::0ba10ee53636df14b0db65fa1adbc94c>>
@@ -409,7 +417,6 @@ const paddingInlineMap = {
409
417
  /**
410
418
  * @codegenEnd
411
419
  */
412
-
413
420
  /**
414
421
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
415
422
  * @codegen <<SignedSource::514663609a5a48a284de40c5c4ad200b>>
@@ -559,7 +566,6 @@ const shadowMap = {
559
566
  /**
560
567
  * @codegenEnd
561
568
  */
562
-
563
569
  /**
564
570
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
565
571
  * @codegen <<SignedSource::bacbea271b30ec7d2f61306c9a8a9e63>>
@@ -1,6 +1,13 @@
1
1
  /** @jsx jsx */
2
2
  import { Children, forwardRef, Fragment, memo } from 'react';
3
3
  import { css, jsx } from '@emotion/react';
4
+
5
+ /**
6
+ * @private
7
+ * @deprecated DSP-8009: This type is scheduled for deletion.
8
+ * Please use `Inline` from `@atlaskit/primitives` instead.
9
+ */
10
+
4
11
  const flexAlignItemsMap = {
5
12
  center: css({
6
13
  alignItems: 'center'
@@ -1,6 +1,13 @@
1
1
  /** @jsx jsx */
2
2
  import { forwardRef, memo } from 'react';
3
3
  import { css, jsx } from '@emotion/react';
4
+
5
+ /**
6
+ * @private
7
+ * @deprecated DSP-8009: This type is scheduled for deletion.
8
+ * Please use `Stack` from `@atlaskit/primitives` instead.
9
+ */
10
+
4
11
  const flexAlignItemsMap = {
5
12
  center: css({
6
13
  alignItems: 'center'
@@ -197,7 +197,6 @@ const lineHeightMap = {
197
197
  /**
198
198
  * @codegenEnd
199
199
  */
200
-
201
200
  /**
202
201
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
203
202
  * @codegen <<SignedSource::3780858df77f5fe0c6e0f39a4c989741>>
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/ds-explorations",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "sideEffects": false
5
5
  }
@@ -6,6 +6,15 @@ import { forwardRef } from 'react';
6
6
  import { css, jsx } from '@emotion/react';
7
7
  import { LAYERS } from '../constants';
8
8
  import { SurfaceContext } from './surface-provider';
9
+
10
+ /**
11
+ * @private
12
+ * @deprecated DSP-8009: This type is scheduled for deletion.
13
+ * Please use `Box` from `@atlaskit/primitives` instead.
14
+ */
15
+
16
+ // Without this type annotation on Box we don't get autocomplete for props due to forwardRef types
17
+
9
18
  /**
10
19
  * __Box__
11
20
  *
@@ -268,7 +277,6 @@ var heightMap = {
268
277
  /**
269
278
  * @codegenEnd
270
279
  */
271
-
272
280
  /**
273
281
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
274
282
  * @codegen <<SignedSource::0ba10ee53636df14b0db65fa1adbc94c>>
@@ -412,7 +420,6 @@ var paddingInlineMap = {
412
420
  /**
413
421
  * @codegenEnd
414
422
  */
415
-
416
423
  /**
417
424
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
418
425
  * @codegen <<SignedSource::514663609a5a48a284de40c5c4ad200b>>
@@ -562,7 +569,6 @@ var shadowMap = {
562
569
  /**
563
570
  * @codegenEnd
564
571
  */
565
-
566
572
  /**
567
573
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
568
574
  * @codegen <<SignedSource::bacbea271b30ec7d2f61306c9a8a9e63>>
@@ -1,6 +1,13 @@
1
1
  /** @jsx jsx */
2
2
  import { Children, forwardRef, Fragment, memo } from 'react';
3
3
  import { css, jsx } from '@emotion/react';
4
+
5
+ /**
6
+ * @private
7
+ * @deprecated DSP-8009: This type is scheduled for deletion.
8
+ * Please use `Inline` from `@atlaskit/primitives` instead.
9
+ */
10
+
4
11
  var flexAlignItemsMap = {
5
12
  center: css({
6
13
  alignItems: 'center'
@@ -1,6 +1,13 @@
1
1
  /** @jsx jsx */
2
2
  import { forwardRef, memo } from 'react';
3
3
  import { css, jsx } from '@emotion/react';
4
+
5
+ /**
6
+ * @private
7
+ * @deprecated DSP-8009: This type is scheduled for deletion.
8
+ * Please use `Stack` from `@atlaskit/primitives` instead.
9
+ */
10
+
4
11
  var flexAlignItemsMap = {
5
12
  center: css({
6
13
  alignItems: 'center'
@@ -200,7 +200,6 @@ var lineHeightMap = {
200
200
  /**
201
201
  * @codegenEnd
202
202
  */
203
-
204
203
  /**
205
204
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
206
205
  * @codegen <<SignedSource::3780858df77f5fe0c6e0f39a4c989741>>
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/ds-explorations",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/ds-explorations",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "description": "An experimental package for exploration and validation of spacing / typography foundations.",
5
5
  "license": "Apache-2.0",
6
6
  "atlassian": {
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
15
15
  "scripts": {
16
- "ak-postbuild": "cd ../../../ && yarn build @af/codegen && yarn build @atlaskit/tokens && cd packages/design-system/ds-explorations && yarn codegen-styles",
16
+ "ak-postbuild": "cd ../../../ && yarn build @atlassian/codegen -d cjs,esm,es2019 && yarn build @atlaskit/tokens && cd packages/design-system/ds-explorations && yarn codegen-styles",
17
17
  "codegen-styles": "ts-node --project ../../../tsconfig.node.json ./scripts/codegen-styles",
18
18
  "prepare": "yarn ak-postbuild"
19
19
  },
@@ -47,7 +47,6 @@
47
47
  "react": "^16.8.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@af/codegen": "*",
51
50
  "@atlaskit/badge": "*",
52
51
  "@atlaskit/button": "*",
53
52
  "@atlaskit/code": "*",
@@ -57,13 +56,14 @@
57
56
  "@atlaskit/heading": "*",
58
57
  "@atlaskit/icon": "*",
59
58
  "@atlaskit/lozenge": "*",
60
- "@atlaskit/primitives": "^0.4.0",
59
+ "@atlaskit/primitives": "^0.7.0",
61
60
  "@atlaskit/section-message": "*",
62
61
  "@atlaskit/ssr": "*",
63
62
  "@atlaskit/textfield": "*",
64
63
  "@atlaskit/visual-regression": "*",
65
64
  "@atlaskit/webdriver-runner": "*",
66
65
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
66
+ "@atlassian/codegen": "^0.0.1",
67
67
  "@testing-library/react": "^12.1.5",
68
68
  "fs-extra": "^4.0.2",
69
69
  "prettier": "^2.7.0",
@@ -2,7 +2,10 @@
2
2
  import { writeFile } from 'fs/promises';
3
3
  import { join } from 'path';
4
4
 
5
- import { createPartialSignedArtifact, createSignedArtifact } from '@af/codegen';
5
+ import {
6
+ createPartialSignedArtifact,
7
+ createSignedArtifact,
8
+ } from '@atlassian/codegen';
6
9
 
7
10
  import { createColorStylesFromTemplate } from './color-codegen-template';
8
11
  import { createColorMapTemplate } from './color-map-template';