@atlaskit/forge-react-types 0.27.7 → 0.27.8
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 +9 -0
- package/dist/types/components/__generated__/DatePickerProps.codegen.d.ts +4 -4
- package/dist/types-ts4.5/components/__generated__/DatePickerProps.codegen.d.ts +4 -4
- package/package.json +2 -1
- package/src/components/__generated__/DatePickerProps.codegen.tsx +4 -4
- package/src/components/__generated__/TimePickerProps.codegen.tsx +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/forge-react-types
|
|
2
2
|
|
|
3
|
+
## 0.27.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#133339](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/133339)
|
|
8
|
+
[`eb8297ababb74`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/eb8297ababb74) -
|
|
9
|
+
Update datepicker usage to match new refactored API.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 0.27.7
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - DatePickerProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::42eaa9f29e60017a2248e671b55923b2>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::8ac4bc3fdccbecd1e2f4aec3dca13ea0>>
|
|
9
9
|
*/
|
|
10
|
-
import type {
|
|
10
|
+
import type { DateTimePickerSelectProps } from '@atlaskit/datetime-picker';
|
|
11
11
|
export interface FieldProps {
|
|
12
12
|
id: string;
|
|
13
13
|
isRequired: boolean;
|
|
@@ -44,6 +44,6 @@ export type DatePickerProps = {
|
|
|
44
44
|
testId?: string;
|
|
45
45
|
weekStartDay?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
46
46
|
onChange?: (value: string) => void;
|
|
47
|
-
selectProps?:
|
|
47
|
+
selectProps?: DateTimePickerSelectProps;
|
|
48
48
|
} & Partial<Omit<FieldProps, 'onChange' | 'isRequired'>>;
|
|
49
49
|
export {};
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - DatePickerProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::42eaa9f29e60017a2248e671b55923b2>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::8ac4bc3fdccbecd1e2f4aec3dca13ea0>>
|
|
9
9
|
*/
|
|
10
|
-
import type {
|
|
10
|
+
import type { DateTimePickerSelectProps } from '@atlaskit/datetime-picker';
|
|
11
11
|
export interface FieldProps {
|
|
12
12
|
id: string;
|
|
13
13
|
isRequired: boolean;
|
|
@@ -44,6 +44,6 @@ export type DatePickerProps = {
|
|
|
44
44
|
testId?: string;
|
|
45
45
|
weekStartDay?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
46
46
|
onChange?: (value: string) => void;
|
|
47
|
-
selectProps?:
|
|
47
|
+
selectProps?: DateTimePickerSelectProps;
|
|
48
48
|
} & Partial<Omit<FieldProps, 'onChange' | 'isRequired'>>;
|
|
49
49
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/forge-react-types",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.8",
|
|
4
4
|
"description": "Component types for Forge UI Kit React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"@atlaskit/calendar": "^14.5.0",
|
|
32
32
|
"@atlaskit/checkbox": "^13.7.0",
|
|
33
33
|
"@atlaskit/code": "^15.5.0",
|
|
34
|
+
"@atlaskit/datetime-picker": "^14.0.0",
|
|
34
35
|
"@atlaskit/dynamic-table": "^14.20.0",
|
|
35
36
|
"@atlaskit/empty-state": "^7.11.0",
|
|
36
37
|
"@atlaskit/form": "^10.5.0",
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - DatePickerProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::42eaa9f29e60017a2248e671b55923b2>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::8ac4bc3fdccbecd1e2f4aec3dca13ea0>>
|
|
9
9
|
*/
|
|
10
|
-
import type {
|
|
10
|
+
import type { DateTimePickerSelectProps } from '@atlaskit/datetime-picker';
|
|
11
11
|
|
|
12
12
|
export interface FieldProps {
|
|
13
13
|
id: string;
|
|
@@ -47,5 +47,5 @@ export type DatePickerProps = {
|
|
|
47
47
|
testId?: string;
|
|
48
48
|
weekStartDay?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
49
49
|
onChange?:(value: string) => void;
|
|
50
|
-
selectProps?:
|
|
50
|
+
selectProps?: DateTimePickerSelectProps;
|
|
51
51
|
} & Partial<Omit<FieldProps, 'onChange' | 'isRequired' >>;
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TimePickerProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::db62df2c8928eb77a589694a6741e9ae>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/timepicker/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/timepicker/__generated__/index.partial.tsx <<SignedSource::45eaafdd9a1bbc8b356cc8a9b5365bc1>>
|
|
9
9
|
*/
|
|
10
|
-
import type {
|
|
10
|
+
import type { DateTimePickerSelectProps } from '@atlaskit/datetime-picker';
|
|
11
11
|
|
|
12
12
|
export interface FieldProps {
|
|
13
13
|
id: string;
|
|
@@ -44,5 +44,5 @@ export type TimePickerProps = {
|
|
|
44
44
|
placeholder?: string;
|
|
45
45
|
locale?: string;
|
|
46
46
|
testId?: string;
|
|
47
|
-
selectProps?:
|
|
47
|
+
selectProps?: DateTimePickerSelectProps;
|
|
48
48
|
} & Partial<Omit<FieldProps, 'onChange' | 'isRequired'>>;
|