@atlaskit/forge-react-types 0.22.0 → 0.22.2
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.22.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#115072](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/115072)
|
|
8
|
+
[`c5449a8a22317`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c5449a8a22317) -
|
|
9
|
+
Revert color prop to be optional in UI Kit Heading component props
|
|
10
|
+
|
|
11
|
+
## 0.22.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 0.22.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - HeadingProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::0c1485a2891cf61f5ab9324b2880f5b5>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/heading/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/heading/__generated__/index.partial.tsx <<SignedSource::0719604f8e152c9ed92804908d88b7f5>>
|
|
9
9
|
*/
|
|
10
10
|
import type { HeadingProps as PlatformHeadingProps } from '@atlaskit/heading';
|
|
11
11
|
type HeadingTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
12
12
|
export type HeadingProps = Pick<PlatformHeadingProps, 'children' | 'id' | 'testId'> & {
|
|
13
13
|
as: HeadingTags;
|
|
14
|
-
color
|
|
14
|
+
color?: 'default' | 'inverse';
|
|
15
15
|
};
|
|
16
16
|
export {};
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - HeadingProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::0c1485a2891cf61f5ab9324b2880f5b5>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/heading/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/heading/__generated__/index.partial.tsx <<SignedSource::0719604f8e152c9ed92804908d88b7f5>>
|
|
9
9
|
*/
|
|
10
10
|
import type { HeadingProps as PlatformHeadingProps } from '@atlaskit/heading';
|
|
11
11
|
type HeadingTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
12
12
|
export type HeadingProps = Pick<PlatformHeadingProps, 'children' | 'id' | 'testId'> & {
|
|
13
13
|
as: HeadingTags;
|
|
14
|
-
color
|
|
14
|
+
color?: 'default' | 'inverse';
|
|
15
15
|
};
|
|
16
16
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/forge-react-types",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.2",
|
|
4
4
|
"description": "Component types for Forge UI Kit React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"@atlaskit/heading": "^2.4.0",
|
|
38
38
|
"@atlaskit/lozenge": "^11.8.0",
|
|
39
39
|
"@atlaskit/modal-dialog": "^12.14.0",
|
|
40
|
-
"@atlaskit/primitives": "^
|
|
40
|
+
"@atlaskit/primitives": "^9.0.0",
|
|
41
41
|
"@atlaskit/progress-bar": "2.2.0",
|
|
42
|
-
"@atlaskit/progress-tracker": "8.7.
|
|
42
|
+
"@atlaskit/progress-tracker": "8.7.2",
|
|
43
43
|
"@atlaskit/radio": "^6.4.0",
|
|
44
44
|
"@atlaskit/range": "^7.3.0",
|
|
45
45
|
"@atlaskit/section-message": "^6.5.0",
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - HeadingProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::0c1485a2891cf61f5ab9324b2880f5b5>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/heading/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/heading/__generated__/index.partial.tsx <<SignedSource::0719604f8e152c9ed92804908d88b7f5>>
|
|
9
9
|
*/
|
|
10
10
|
import type { HeadingProps as PlatformHeadingProps } from '@atlaskit/heading';
|
|
11
11
|
|
|
12
12
|
type HeadingTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
13
13
|
|
|
14
|
-
export type HeadingProps = Pick<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
export type HeadingProps = Pick<PlatformHeadingProps, 'children' | 'id' | 'testId'> & {
|
|
15
|
+
as: HeadingTags;
|
|
16
|
+
color?: 'default' | 'inverse';
|
|
17
|
+
};
|