@atlaskit/forge-react-types 0.11.2 → 0.12.1
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 +14 -0
- package/dist/cjs/components/__generated__/CalendarProps.codegen.js +5 -0
- package/dist/es2019/components/__generated__/CalendarProps.codegen.js +1 -0
- package/dist/esm/components/__generated__/CalendarProps.codegen.js +1 -0
- package/dist/types/components/__generated__/CalendarProps.codegen.d.ts +14 -0
- package/dist/types/components/__generated__/DatePickerProps.codegen.d.ts +2 -2
- package/dist/types/components/__generated__/index.d.ts +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types-ts4.5/components/__generated__/CalendarProps.codegen.d.ts +14 -0
- package/dist/types-ts4.5/components/__generated__/DatePickerProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/__generated__/index.d.ts +1 -0
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/package.json +7 -6
- package/src/components/__generated__/CalendarProps.codegen.tsx +18 -0
- package/src/components/__generated__/DatePickerProps.codegen.tsx +2 -2
- package/src/components/__generated__/index.ts +1 -0
- package/src/index.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/forge-react-types
|
|
2
2
|
|
|
3
|
+
## 0.12.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 0.12.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#98956](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98956)
|
|
14
|
+
[`90fe0e7d1f6a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/90fe0e7d1f6a) -
|
|
15
|
+
Add calendar codegen component to UI Kit 2
|
|
16
|
+
|
|
3
17
|
## 0.11.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Extract component prop types from UIKit 2 components - CalendarProps
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::809fe60e51015ea45199d65e850e76f5>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/calendar/__generated__/index.partial.tsx <<SignedSource::1a1e92ebb117bd23b5ed2fbbf8f309ff>>
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import PlatformCalendar from '@atlaskit/calendar';
|
|
12
|
+
type PlatformCalendarProps = React.ComponentProps<typeof PlatformCalendar>;
|
|
13
|
+
export type CalendarProps = Pick<PlatformCalendarProps, 'day' | 'defaultDay' | 'defaultMonth' | 'defaultYear' | 'defaultPreviouslySelected' | 'defaultSelected' | 'disabled' | 'disabledDateFilter' | 'maxDate' | 'minDate' | 'nextMonthLabel' | 'onBlur' | 'onChange' | 'onFocus' | 'onSelect' | 'previouslySelected' | 'previousMonthLabel' | 'selected' | 'today' | 'year' | 'locale' | 'testId' | 'weekStartDay' | 'tabIndex'>;
|
|
14
|
+
export {};
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - DatePickerProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::d04d3ce6574c309a5c0469b43a1891ff>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/datepicker/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/datepicker/__generated__/index.partial.tsx <<SignedSource::c81073870b6e0df94ccfaf046550c325>>
|
|
9
9
|
*/
|
|
10
10
|
export interface FieldProps {
|
|
11
11
|
id: string;
|
|
@@ -5,6 +5,7 @@ export type { BoxProps } from './BoxProps.codegen';
|
|
|
5
5
|
export type { ButtonGroupProps } from './ButtonGroupProps.codegen';
|
|
6
6
|
export type { ButtonProps } from './ButtonProps.codegen';
|
|
7
7
|
export type { CheckboxProps } from './CheckboxProps.codegen';
|
|
8
|
+
export type { CalendarProps } from './CalendarProps.codegen';
|
|
8
9
|
export type { CheckboxGroupProps } from './CheckboxGroupProps.codegen';
|
|
9
10
|
export type { CodeBlockProps } from './CodeBlockProps.codegen';
|
|
10
11
|
export type { CodeProps } from './CodeProps.codegen';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { BadgeProps, BannerProps, BleedProps, BoxProps, ButtonGroupProps, ButtonProps, CheckboxProps, CheckboxGroupProps, CodeBlockProps, CodeProps, DatePickerProps, DynamicTableProps, ErrorMessageProps, FlexProps, FormFooterProps, FormHeaderProps, FormProps, FormSectionProps, GridProps, HeadingProps, HelperMessageProps, IconProps, InlineProps, LabelProps, LinkButtonProps, ListProps, ListItemProps, LoadingButtonProps, LozengeProps, ModalBodyProps, ModalFooterProps, ModalHeaderProps, ModalProps, ModalTitleProps, ModalTransitionProps, ProgressBarProps, ProgressTrackerProps, RadioGroupProps, RadioProps, RangeProps, SectionMessageActionProps, SectionMessageProps, SelectProps, SpinnerProps, StackProps, TabListProps, TabPanelProps, TabProps, TabsProps, TagGroupProps, TagProps, TextAreaProps, TextfieldProps, ToggleProps, TooltipProps, ValidMessageProps, } from './components/__generated__';
|
|
1
|
+
export type { BadgeProps, BannerProps, BleedProps, BoxProps, ButtonGroupProps, ButtonProps, CalendarProps, CheckboxProps, CheckboxGroupProps, CodeBlockProps, CodeProps, DatePickerProps, DynamicTableProps, ErrorMessageProps, FlexProps, FormFooterProps, FormHeaderProps, FormProps, FormSectionProps, GridProps, HeadingProps, HelperMessageProps, IconProps, InlineProps, LabelProps, LinkButtonProps, ListProps, ListItemProps, LoadingButtonProps, LozengeProps, ModalBodyProps, ModalFooterProps, ModalHeaderProps, ModalProps, ModalTitleProps, ModalTransitionProps, ProgressBarProps, ProgressTrackerProps, RadioGroupProps, RadioProps, RangeProps, SectionMessageActionProps, SectionMessageProps, SelectProps, SpinnerProps, StackProps, TabListProps, TabPanelProps, TabProps, TabsProps, TagGroupProps, TagProps, TextAreaProps, TextfieldProps, ToggleProps, TooltipProps, ValidMessageProps, } from './components/__generated__';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Extract component prop types from UIKit 2 components - CalendarProps
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::809fe60e51015ea45199d65e850e76f5>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/calendar/__generated__/index.partial.tsx <<SignedSource::1a1e92ebb117bd23b5ed2fbbf8f309ff>>
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import PlatformCalendar from '@atlaskit/calendar';
|
|
12
|
+
type PlatformCalendarProps = React.ComponentProps<typeof PlatformCalendar>;
|
|
13
|
+
export type CalendarProps = Pick<PlatformCalendarProps, 'day' | 'defaultDay' | 'defaultMonth' | 'defaultYear' | 'defaultPreviouslySelected' | 'defaultSelected' | 'disabled' | 'disabledDateFilter' | 'maxDate' | 'minDate' | 'nextMonthLabel' | 'onBlur' | 'onChange' | 'onFocus' | 'onSelect' | 'previouslySelected' | 'previousMonthLabel' | 'selected' | 'today' | 'year' | 'locale' | 'testId' | 'weekStartDay' | 'tabIndex'>;
|
|
14
|
+
export {};
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - DatePickerProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::d04d3ce6574c309a5c0469b43a1891ff>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/datepicker/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/datepicker/__generated__/index.partial.tsx <<SignedSource::c81073870b6e0df94ccfaf046550c325>>
|
|
9
9
|
*/
|
|
10
10
|
export interface FieldProps {
|
|
11
11
|
id: string;
|
|
@@ -5,6 +5,7 @@ export type { BoxProps } from './BoxProps.codegen';
|
|
|
5
5
|
export type { ButtonGroupProps } from './ButtonGroupProps.codegen';
|
|
6
6
|
export type { ButtonProps } from './ButtonProps.codegen';
|
|
7
7
|
export type { CheckboxProps } from './CheckboxProps.codegen';
|
|
8
|
+
export type { CalendarProps } from './CalendarProps.codegen';
|
|
8
9
|
export type { CheckboxGroupProps } from './CheckboxGroupProps.codegen';
|
|
9
10
|
export type { CodeBlockProps } from './CodeBlockProps.codegen';
|
|
10
11
|
export type { CodeProps } from './CodeProps.codegen';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { BadgeProps, BannerProps, BleedProps, BoxProps, ButtonGroupProps, ButtonProps, CheckboxProps, CheckboxGroupProps, CodeBlockProps, CodeProps, DatePickerProps, DynamicTableProps, ErrorMessageProps, FlexProps, FormFooterProps, FormHeaderProps, FormProps, FormSectionProps, GridProps, HeadingProps, HelperMessageProps, IconProps, InlineProps, LabelProps, LinkButtonProps, ListProps, ListItemProps, LoadingButtonProps, LozengeProps, ModalBodyProps, ModalFooterProps, ModalHeaderProps, ModalProps, ModalTitleProps, ModalTransitionProps, ProgressBarProps, ProgressTrackerProps, RadioGroupProps, RadioProps, RangeProps, SectionMessageActionProps, SectionMessageProps, SelectProps, SpinnerProps, StackProps, TabListProps, TabPanelProps, TabProps, TabsProps, TagGroupProps, TagProps, TextAreaProps, TextfieldProps, ToggleProps, TooltipProps, ValidMessageProps, } from './components/__generated__';
|
|
1
|
+
export type { BadgeProps, BannerProps, BleedProps, BoxProps, ButtonGroupProps, ButtonProps, CalendarProps, CheckboxProps, CheckboxGroupProps, CodeBlockProps, CodeProps, DatePickerProps, DynamicTableProps, ErrorMessageProps, FlexProps, FormFooterProps, FormHeaderProps, FormProps, FormSectionProps, GridProps, HeadingProps, HelperMessageProps, IconProps, InlineProps, LabelProps, LinkButtonProps, ListProps, ListItemProps, LoadingButtonProps, LozengeProps, ModalBodyProps, ModalFooterProps, ModalHeaderProps, ModalProps, ModalTitleProps, ModalTransitionProps, ProgressBarProps, ProgressTrackerProps, RadioGroupProps, RadioProps, RangeProps, SectionMessageActionProps, SectionMessageProps, SelectProps, SpinnerProps, StackProps, TabListProps, TabPanelProps, TabProps, TabsProps, TagGroupProps, TagProps, TextAreaProps, TextfieldProps, ToggleProps, TooltipProps, ValidMessageProps, } from './components/__generated__';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/forge-react-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"description": "Component types for Forge UI Kit React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -28,16 +28,17 @@
|
|
|
28
28
|
"@atlaskit/badge": "^16.1.0",
|
|
29
29
|
"@atlaskit/banner": "^12.3.0",
|
|
30
30
|
"@atlaskit/button": "^17.14.0",
|
|
31
|
+
"@atlaskit/calendar": "^14.2.1",
|
|
31
32
|
"@atlaskit/checkbox": "^13.3.0",
|
|
32
33
|
"@atlaskit/code": "^15.2.0",
|
|
33
|
-
"@atlaskit/dynamic-table": "^14.
|
|
34
|
-
"@atlaskit/form": "^10.
|
|
34
|
+
"@atlaskit/dynamic-table": "^14.17.0",
|
|
35
|
+
"@atlaskit/form": "^10.1.0",
|
|
35
36
|
"@atlaskit/heading": "^2.3.0",
|
|
36
37
|
"@atlaskit/lozenge": "^11.7.0",
|
|
37
38
|
"@atlaskit/modal-dialog": "^12.13.0",
|
|
38
39
|
"@atlaskit/primitives": "^6.1.0",
|
|
39
40
|
"@atlaskit/progress-bar": "2.1.0",
|
|
40
|
-
"@atlaskit/progress-tracker": "8.
|
|
41
|
+
"@atlaskit/progress-tracker": "8.6.0",
|
|
41
42
|
"@atlaskit/radio": "^6.3.0",
|
|
42
43
|
"@atlaskit/range": "^7.2.0",
|
|
43
44
|
"@atlaskit/section-message": "^6.5.0",
|
|
@@ -49,8 +50,8 @@
|
|
|
49
50
|
"@atlaskit/textarea": "^5.4.0",
|
|
50
51
|
"@atlaskit/textfield": "^6.3.0",
|
|
51
52
|
"@atlaskit/toggle": "^13.1.0",
|
|
52
|
-
"@atlaskit/tokens": "^1.
|
|
53
|
-
"@atlaskit/tooltip": "^18.
|
|
53
|
+
"@atlaskit/tokens": "^1.48.0",
|
|
54
|
+
"@atlaskit/tooltip": "^18.4.0",
|
|
54
55
|
"@babel/runtime": "^7.0.0"
|
|
55
56
|
},
|
|
56
57
|
"peerDependencies": {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Extract component prop types from UIKit 2 components - CalendarProps
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::809fe60e51015ea45199d65e850e76f5>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/calendar/__generated__/index.partial.tsx <<SignedSource::1a1e92ebb117bd23b5ed2fbbf8f309ff>>
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import PlatformCalendar from '@atlaskit/calendar';
|
|
12
|
+
|
|
13
|
+
type PlatformCalendarProps = React.ComponentProps<typeof PlatformCalendar>;
|
|
14
|
+
|
|
15
|
+
export type CalendarProps = Pick<
|
|
16
|
+
PlatformCalendarProps,
|
|
17
|
+
'day' | 'defaultDay' | 'defaultMonth' | 'defaultYear' | 'defaultPreviouslySelected' | 'defaultSelected' | 'disabled' | 'disabledDateFilter' | 'maxDate' | 'minDate' | 'nextMonthLabel' | 'onBlur' | 'onChange' | 'onFocus' | 'onSelect' | 'previouslySelected' | 'previousMonthLabel' | 'selected' | 'today' | 'year' | 'locale' | 'testId' | 'weekStartDay' | 'tabIndex'
|
|
18
|
+
>;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - DatePickerProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::d04d3ce6574c309a5c0469b43a1891ff>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/datepicker/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/datepicker/__generated__/index.partial.tsx <<SignedSource::c81073870b6e0df94ccfaf046550c325>>
|
|
9
9
|
*/
|
|
10
10
|
export interface FieldProps {
|
|
11
11
|
id: string;
|
|
@@ -5,6 +5,7 @@ export type { BoxProps } from './BoxProps.codegen';
|
|
|
5
5
|
export type { ButtonGroupProps } from './ButtonGroupProps.codegen';
|
|
6
6
|
export type { ButtonProps } from './ButtonProps.codegen';
|
|
7
7
|
export type { CheckboxProps } from './CheckboxProps.codegen';
|
|
8
|
+
export type { CalendarProps } from './CalendarProps.codegen';
|
|
8
9
|
export type { CheckboxGroupProps } from './CheckboxGroupProps.codegen';
|
|
9
10
|
export type { CodeBlockProps } from './CodeBlockProps.codegen';
|
|
10
11
|
export type { CodeProps } from './CodeProps.codegen';
|