@atlaskit/forge-react-types 0.5.5 → 0.6.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,21 @@
|
|
|
1
1
|
# @atlaskit/forge-react-types
|
|
2
2
|
|
|
3
|
+
## 0.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#80613](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80613) [`83fc29f5e92c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/83fc29f5e92c) - Add href prop to Tag component
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 0.5.6
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 0.5.5
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -21,13 +21,13 @@ yarn workspace @atlaskit/forge-react-types codegen
|
|
|
21
21
|
During development, the codegen command can be run for a specific component:
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
yarn workspace @atlaskit/forge-react-types <component-name>
|
|
24
|
+
yarn workspace @atlaskit/forge-react-types codegen <component-name>
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
e.g.
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
|
-
yarn workspace @atlaskit/forge-react-types ButtonProps
|
|
30
|
+
yarn workspace @atlaskit/forge-react-types codegen ButtonProps
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
NOTE: Make sure any new component prop types are being exported from `packages/forge/forge-react-types/src/components/__generated__/index.ts`
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TagProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::267268d3aa69a4b06f02e1cc5edea9ee>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/tag/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/tag/__generated__/index.partial.tsx <<SignedSource::5eafca6673842204effb416681fb9ff4>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { SimpleTag as PlatformSimpleTag } from '@atlaskit/tag';
|
|
12
12
|
type PlatformSimpleTagProps = React.ComponentProps<typeof PlatformSimpleTag>;
|
|
13
|
-
export type SimpleTagProps = Pick<PlatformSimpleTagProps, 'text' | 'appearance' | 'color' | 'elemBefore' | 'testId'>;
|
|
13
|
+
export type SimpleTagProps = Pick<PlatformSimpleTagProps, 'text' | 'appearance' | 'color' | 'elemBefore' | 'href' | 'testId'>;
|
|
14
14
|
export {};
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TagProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::267268d3aa69a4b06f02e1cc5edea9ee>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/tag/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/tag/__generated__/index.partial.tsx <<SignedSource::5eafca6673842204effb416681fb9ff4>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { SimpleTag as PlatformSimpleTag } from '@atlaskit/tag';
|
|
12
12
|
type PlatformSimpleTagProps = React.ComponentProps<typeof PlatformSimpleTag>;
|
|
13
|
-
export type SimpleTagProps = Pick<PlatformSimpleTagProps, 'text' | 'appearance' | 'color' | 'elemBefore' | 'testId'>;
|
|
13
|
+
export type SimpleTagProps = Pick<PlatformSimpleTagProps, 'text' | 'appearance' | 'color' | 'elemBefore' | 'href' | 'testId'>;
|
|
14
14
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/forge-react-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Component types for Forge UI Kit React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
"@atlaskit/button": "^17.7.0",
|
|
30
30
|
"@atlaskit/checkbox": "^13.1.0",
|
|
31
31
|
"@atlaskit/code": "^15.1.0",
|
|
32
|
-
"@atlaskit/dynamic-table": "^14.
|
|
32
|
+
"@atlaskit/dynamic-table": "^14.16.0",
|
|
33
33
|
"@atlaskit/form": "^9.0.3",
|
|
34
|
-
"@atlaskit/heading": "^
|
|
34
|
+
"@atlaskit/heading": "^2.0.0",
|
|
35
35
|
"@atlaskit/lozenge": "^11.6.0",
|
|
36
36
|
"@atlaskit/modal-dialog": "^12.10.0",
|
|
37
|
-
"@atlaskit/primitives": "^
|
|
37
|
+
"@atlaskit/primitives": "^5.0.0",
|
|
38
38
|
"@atlaskit/progress-bar": "2.0.1",
|
|
39
|
-
"@atlaskit/progress-tracker": "8.5.
|
|
39
|
+
"@atlaskit/progress-tracker": "8.5.9",
|
|
40
40
|
"@atlaskit/radio": "^6.1.0",
|
|
41
41
|
"@atlaskit/range": "^7.1.0",
|
|
42
42
|
"@atlaskit/section-message": "^6.4.0",
|
|
@@ -67,4 +67,4 @@
|
|
|
67
67
|
"scripts": {
|
|
68
68
|
"codegen": "ts-node ./scripts/codegen-runner.ts"
|
|
69
69
|
}
|
|
70
|
-
}
|
|
70
|
+
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TagProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::267268d3aa69a4b06f02e1cc5edea9ee>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/tag/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/tag/__generated__/index.partial.tsx <<SignedSource::5eafca6673842204effb416681fb9ff4>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { SimpleTag as PlatformSimpleTag } from '@atlaskit/tag';
|
|
@@ -14,5 +14,5 @@ type PlatformSimpleTagProps = React.ComponentProps<typeof PlatformSimpleTag>;
|
|
|
14
14
|
|
|
15
15
|
export type SimpleTagProps = Pick<
|
|
16
16
|
PlatformSimpleTagProps,
|
|
17
|
-
'text' | 'appearance' | 'color' | 'elemBefore' | 'testId'
|
|
17
|
+
'text' | 'appearance' | 'color' | 'elemBefore' | 'href' | 'testId'
|
|
18
18
|
>;
|