@atlaskit/forge-react-types 0.41.24 → 0.42.0

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/forge-react-types
2
2
 
3
+ ## 0.42.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#163500](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/163500)
8
+ [`130f9d3d1f5f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/130f9d3d1f5f0) -
9
+ Clean up color prop mapping in UI Kit Heading Component
10
+
11
+ ## 0.41.25
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 0.41.24
4
18
 
5
19
  ### Patch Changes
@@ -3,17 +3,14 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - HeadingProps
5
5
  *
6
- * @codegen <<SignedSource::c2e29c89ead70009a792cea03271e9c4>>
6
+ * @codegen <<SignedSource::0edc0326125b06e6a1280e81282d048d>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/heading/__generated__/index.partial.tsx <<SignedSource::96b99b296364dce930bb91174b226eaa>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/heading/__generated__/index.partial.tsx <<SignedSource::c7fa27d57c7e5695728bcfa2ffa634f9>>
9
9
  */
10
10
  import type { HeadingProps as PlatformHeadingProps } from '@atlaskit/heading';
11
11
  type Sizes = 'xxlarge' | 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall' | 'xxsmall';
12
- type TemporaryColors = 'default' | 'inverse';
13
- type NewColors = 'color.text' | 'color.text.inverse' | 'color.text.warning.inverse';
14
- export type HeadingProps = Pick<PlatformHeadingProps, 'children' | 'id' | 'testId' | 'as'> & {
12
+ export type HeadingProps = Pick<PlatformHeadingProps, 'children' | 'id' | 'testId' | 'as' | 'color'> & {
15
13
  size?: Sizes;
16
- color?: NewColors | TemporaryColors;
17
14
  };
18
15
  /**
19
16
  * A heading is a typography component used to display text in different sizes and formats.
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - TextProps
5
5
  *
6
- * @codegen <<SignedSource::c90b3120290d482160619bb4fea7e76e>>
6
+ * @codegen <<SignedSource::2cf1d1a11c89b10fdc65f27c51e6c7b4>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/text/__generated__/index.partial.tsx <<SignedSource::c49669a7876b51b4a88645a51f7a1451>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/text/__generated__/index.partial.tsx <<SignedSource::45fcbf413ecc09a9102dc482b4fc9d70>>
9
9
  */
10
10
  import React from 'react';
11
11
  import { Text as PlatformText } from '@atlaskit/primitives/compiled';
@@ -3,17 +3,14 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - HeadingProps
5
5
  *
6
- * @codegen <<SignedSource::c2e29c89ead70009a792cea03271e9c4>>
6
+ * @codegen <<SignedSource::0edc0326125b06e6a1280e81282d048d>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/heading/__generated__/index.partial.tsx <<SignedSource::96b99b296364dce930bb91174b226eaa>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/heading/__generated__/index.partial.tsx <<SignedSource::c7fa27d57c7e5695728bcfa2ffa634f9>>
9
9
  */
10
10
  import type { HeadingProps as PlatformHeadingProps } from '@atlaskit/heading';
11
11
  type Sizes = 'xxlarge' | 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall' | 'xxsmall';
12
- type TemporaryColors = 'default' | 'inverse';
13
- type NewColors = 'color.text' | 'color.text.inverse' | 'color.text.warning.inverse';
14
- export type HeadingProps = Pick<PlatformHeadingProps, 'children' | 'id' | 'testId' | 'as'> & {
12
+ export type HeadingProps = Pick<PlatformHeadingProps, 'children' | 'id' | 'testId' | 'as' | 'color'> & {
15
13
  size?: Sizes;
16
- color?: NewColors | TemporaryColors;
17
14
  };
18
15
  /**
19
16
  * A heading is a typography component used to display text in different sizes and formats.
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - TextProps
5
5
  *
6
- * @codegen <<SignedSource::c90b3120290d482160619bb4fea7e76e>>
6
+ * @codegen <<SignedSource::2cf1d1a11c89b10fdc65f27c51e6c7b4>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/text/__generated__/index.partial.tsx <<SignedSource::c49669a7876b51b4a88645a51f7a1451>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/text/__generated__/index.partial.tsx <<SignedSource::45fcbf413ecc09a9102dc482b4fc9d70>>
9
9
  */
10
10
  import React from 'react';
11
11
  import { Text as PlatformText } from '@atlaskit/primitives/compiled';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/forge-react-types",
3
- "version": "0.41.24",
3
+ "version": "0.42.0",
4
4
  "description": "Component types for Forge UI Kit React components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -25,38 +25,37 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@atlaskit/badge": "^18.1.0",
28
- "@atlaskit/button": "^23.0.0",
28
+ "@atlaskit/button": "^23.2.0",
29
29
  "@atlaskit/calendar": "^17.1.0",
30
30
  "@atlaskit/checkbox": "^17.1.0",
31
- "@atlaskit/code": "^17.1.0",
31
+ "@atlaskit/code": "^17.2.0",
32
32
  "@atlaskit/comment": "^13.0.0",
33
33
  "@atlaskit/datetime-picker": "^17.0.0",
34
34
  "@atlaskit/dynamic-table": "^18.1.0",
35
- "@atlaskit/editor-json-transformer": "^8.24.0",
36
35
  "@atlaskit/empty-state": "^10.0.0",
37
36
  "@atlaskit/form": "^12.0.0",
38
37
  "@atlaskit/heading": "^5.2.0",
39
38
  "@atlaskit/inline-edit": "^15.2.0",
40
39
  "@atlaskit/lozenge": "^12.2.0",
41
- "@atlaskit/modal-dialog": "^14.1.0",
42
- "@atlaskit/popup": "^4.1.0",
43
- "@atlaskit/primitives": "^14.7.0",
40
+ "@atlaskit/modal-dialog": "^14.2.0",
41
+ "@atlaskit/popup": "^4.3.0",
42
+ "@atlaskit/primitives": "^14.8.0",
44
43
  "@atlaskit/progress-bar": "^4.0.0",
45
- "@atlaskit/progress-tracker": "^10.0.0",
44
+ "@atlaskit/progress-tracker": "^10.1.0",
46
45
  "@atlaskit/radio": "^8.1.0",
47
46
  "@atlaskit/range": "^9.0.0",
48
- "@atlaskit/renderer": "^117.0.0",
47
+ "@atlaskit/renderer": "^118.6.0",
49
48
  "@atlaskit/section-message": "^8.2.0",
50
- "@atlaskit/select": "^20.4.0",
49
+ "@atlaskit/select": "^20.6.0",
51
50
  "@atlaskit/spinner": "^18.0.0",
52
- "@atlaskit/tabs": "^18.0.0",
51
+ "@atlaskit/tabs": "^18.1.0",
53
52
  "@atlaskit/tag": "^14.0.0",
54
53
  "@atlaskit/tag-group": "^12.0.0",
55
54
  "@atlaskit/textarea": "^8.0.0",
56
55
  "@atlaskit/textfield": "^8.0.0",
57
56
  "@atlaskit/toggle": "^15.0.0",
58
- "@atlaskit/tokens": "^4.8.0",
59
- "@atlaskit/tooltip": "^20.0.0",
57
+ "@atlaskit/tokens": "^4.9.0",
58
+ "@atlaskit/tooltip": "^20.2.0",
60
59
  "@babel/runtime": "^7.0.0"
61
60
  },
62
61
  "peerDependencies": {
@@ -3,21 +3,21 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - HeadingProps
5
5
  *
6
- * @codegen <<SignedSource::c2e29c89ead70009a792cea03271e9c4>>
6
+ * @codegen <<SignedSource::0edc0326125b06e6a1280e81282d048d>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/heading/__generated__/index.partial.tsx <<SignedSource::96b99b296364dce930bb91174b226eaa>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/heading/__generated__/index.partial.tsx <<SignedSource::c7fa27d57c7e5695728bcfa2ffa634f9>>
9
9
  */
10
10
  /* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
11
11
 
12
12
  import type { HeadingProps as PlatformHeadingProps } from '@atlaskit/heading';
13
13
 
14
14
  type Sizes = 'xxlarge' | 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall' | 'xxsmall';
15
- type TemporaryColors = 'default' | 'inverse';
16
- type NewColors = 'color.text' | 'color.text.inverse' | 'color.text.warning.inverse';
17
15
 
18
- export type HeadingProps = Pick<PlatformHeadingProps, 'children' | 'id' | 'testId' | 'as'> & {
16
+ export type HeadingProps = Pick<
17
+ PlatformHeadingProps,
18
+ 'children' | 'id' | 'testId' | 'as' | 'color'
19
+ > & {
19
20
  size?: Sizes;
20
- color?: NewColors | TemporaryColors;
21
21
  };
22
22
 
23
23
  /**
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - TextProps
5
5
  *
6
- * @codegen <<SignedSource::c90b3120290d482160619bb4fea7e76e>>
6
+ * @codegen <<SignedSource::2cf1d1a11c89b10fdc65f27c51e6c7b4>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/text/__generated__/index.partial.tsx <<SignedSource::c49669a7876b51b4a88645a51f7a1451>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/text/__generated__/index.partial.tsx <<SignedSource::45fcbf413ecc09a9102dc482b4fc9d70>>
9
9
  */
10
10
  /* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
11
11