@atlaskit/forge-react-types 0.52.2 → 0.53.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 +11 -0
- package/dist/cjs/components/__generated__/TileProps.codegen.js +5 -0
- package/dist/es2019/components/__generated__/TileProps.codegen.js +1 -0
- package/dist/esm/components/__generated__/TileProps.codegen.js +1 -0
- package/dist/types/components/__generated__/TileProps.codegen.d.ts +20 -0
- 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__/TileProps.codegen.d.ts +20 -0
- 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 +10 -9
- package/src/components/__generated__/TileProps.codegen.tsx +27 -0
- package/src/components/__generated__/index.ts +1 -0
- package/src/index.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/forge-react-types
|
|
2
2
|
|
|
3
|
+
## 0.53.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`6f93643f9e844`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6f93643f9e844) -
|
|
8
|
+
[ux] Addition of Tile component for Forge UIKit
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 0.52.2
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
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 - TileProps
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::8b1e13d93e3348f59fa7b79a0da227aa>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tile/__generated__/index.partial.tsx <<SignedSource::d7ec62556fa495888b1d4326b71c4d52>>
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import PlatformTile from '@atlaskit/tile';
|
|
12
|
+
type PlatformTileProps = React.ComponentProps<typeof PlatformTile>;
|
|
13
|
+
export type TileProps = Pick<PlatformTileProps, 'backgroundColor' | 'label' | 'size' | 'children' | 'hasBorder' | 'isInset' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A tile is a rounded square that takes an asset and represents a noun.
|
|
16
|
+
*
|
|
17
|
+
* @see [Tile](https://developer.atlassian.com/platform/forge/ui-kit/components/tile/) in UI Kit documentation for more information
|
|
18
|
+
*/
|
|
19
|
+
export type TTile<T> = (props: TileProps) => T;
|
|
20
|
+
export {};
|
|
@@ -54,6 +54,7 @@ export type { TagGroupProps, TTagGroup } from './TagGroupProps.codegen';
|
|
|
54
54
|
export type { SimpleTagProps as TagProps, TSimpleTag as TTag } from './TagProps.codegen';
|
|
55
55
|
export type { TextAreaProps, TTextArea } from './TextAreaProps.codegen';
|
|
56
56
|
export type { TextfieldProps, TTextfield } from './TextfieldProps.codegen';
|
|
57
|
+
export type { TileProps, TTile } from './TileProps.codegen';
|
|
57
58
|
export type { TimePickerProps, TTimePicker } from './TimePickerProps.codegen';
|
|
58
59
|
export type { ToggleProps, TToggle } from './ToggleProps.codegen';
|
|
59
60
|
export type { TooltipProps, TTooltip } from './TooltipProps.codegen';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { AdfRendererProps, BadgeProps, BoxProps, ButtonGroupProps, ButtonProps, CalendarProps, CheckboxProps, CheckboxGroupProps, CodeBlockProps, CodeProps, CommentProps, DatePickerProps, DynamicTableProps, EmptyStateProps, 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, TextProps, TextAreaProps, TextfieldProps, ToggleProps, TooltipProps, TimePickerProps, ValidMessageProps, PopupProps, InlineEditProps, PressableProps, TBadge, TBox, TButtonGroup, TButton, TCalendar, TCheckbox, TCheckboxGroup, TCodeBlock, TCode, TComment, TDatePicker, TDynamicTable, TEmptyState, TErrorMessage, TFileCard, TFlex, TFormFooter, TFormHeader, TForm, TFormSection, TGrid, THeading, THelperMessage, TIcon, TInline, TInlineEdit, TLabel, TLinkButton, TList, TListItem, TLoadingButton, TLozenge, TModalBody, TModalFooter, TModalHeader, TModal, TModalTitle, TModalTransition, TProgressBar, TProgressTracker, TRadioGroup, TRadio, TRange, TSectionMessageAction, TSectionMessage, TSelect, TSpinner, TStack, TTabList, TTabPanel, TTab, TTabs, TTagGroup, TTag, TTextArea, TTextfield, TTimePicker, TToggle, TTooltip, TValidMessage, TPopup, TAdfRenderer, TText, TPressable, TFilePicker, } from './components/__generated__';
|
|
1
|
+
export type { AdfRendererProps, BadgeProps, BoxProps, ButtonGroupProps, ButtonProps, CalendarProps, CheckboxProps, CheckboxGroupProps, CodeBlockProps, CodeProps, CommentProps, DatePickerProps, DynamicTableProps, EmptyStateProps, 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, TextProps, TextAreaProps, TextfieldProps, TileProps, ToggleProps, TooltipProps, TimePickerProps, ValidMessageProps, PopupProps, InlineEditProps, PressableProps, TBadge, TBox, TButtonGroup, TButton, TCalendar, TCheckbox, TCheckboxGroup, TCodeBlock, TCode, TComment, TDatePicker, TDynamicTable, TEmptyState, TErrorMessage, TFileCard, TFlex, TFormFooter, TFormHeader, TForm, TFormSection, TGrid, THeading, THelperMessage, TIcon, TInline, TInlineEdit, TLabel, TLinkButton, TList, TListItem, TLoadingButton, TLozenge, TModalBody, TModalFooter, TModalHeader, TModal, TModalTitle, TModalTransition, TProgressBar, TProgressTracker, TRadioGroup, TRadio, TRange, TSectionMessageAction, TSectionMessage, TSelect, TSpinner, TStack, TTabList, TTabPanel, TTab, TTabs, TTagGroup, TTag, TTextArea, TTextfield, TTimePicker, TToggle, TTooltip, TValidMessage, TPopup, TAdfRenderer, TText, TPressable, TFilePicker, TTile, } from './components/__generated__';
|
|
2
2
|
export type { BarChartProps, StackBarChartProps, HorizontalStackBarChartProps, HorizontalBarChartProps, LineChartProps, DonutChartProps, PieChartProps, TBarChart, TStackBarChart, THorizontalStackBarChart, THorizontalBarChart, TLineChart, TDonutChart, TPieChart, } from './components/charts';
|
|
3
3
|
export type { ChromelessEditorProps, CommentEditorProps, TChromelessEditor, TCommentEditor, } from './components/editor';
|
|
4
4
|
export type { ChartColorTokens } from './types';
|
|
@@ -0,0 +1,20 @@
|
|
|
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 - TileProps
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::8b1e13d93e3348f59fa7b79a0da227aa>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tile/__generated__/index.partial.tsx <<SignedSource::d7ec62556fa495888b1d4326b71c4d52>>
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import PlatformTile from '@atlaskit/tile';
|
|
12
|
+
type PlatformTileProps = React.ComponentProps<typeof PlatformTile>;
|
|
13
|
+
export type TileProps = Pick<PlatformTileProps, 'backgroundColor' | 'label' | 'size' | 'children' | 'hasBorder' | 'isInset' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A tile is a rounded square that takes an asset and represents a noun.
|
|
16
|
+
*
|
|
17
|
+
* @see [Tile](https://developer.atlassian.com/platform/forge/ui-kit/components/tile/) in UI Kit documentation for more information
|
|
18
|
+
*/
|
|
19
|
+
export type TTile<T> = (props: TileProps) => T;
|
|
20
|
+
export {};
|
|
@@ -54,6 +54,7 @@ export type { TagGroupProps, TTagGroup } from './TagGroupProps.codegen';
|
|
|
54
54
|
export type { SimpleTagProps as TagProps, TSimpleTag as TTag } from './TagProps.codegen';
|
|
55
55
|
export type { TextAreaProps, TTextArea } from './TextAreaProps.codegen';
|
|
56
56
|
export type { TextfieldProps, TTextfield } from './TextfieldProps.codegen';
|
|
57
|
+
export type { TileProps, TTile } from './TileProps.codegen';
|
|
57
58
|
export type { TimePickerProps, TTimePicker } from './TimePickerProps.codegen';
|
|
58
59
|
export type { ToggleProps, TToggle } from './ToggleProps.codegen';
|
|
59
60
|
export type { TooltipProps, TTooltip } from './TooltipProps.codegen';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { AdfRendererProps, BadgeProps, BoxProps, ButtonGroupProps, ButtonProps, CalendarProps, CheckboxProps, CheckboxGroupProps, CodeBlockProps, CodeProps, CommentProps, DatePickerProps, DynamicTableProps, EmptyStateProps, 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, TextProps, TextAreaProps, TextfieldProps, ToggleProps, TooltipProps, TimePickerProps, ValidMessageProps, PopupProps, InlineEditProps, PressableProps, TBadge, TBox, TButtonGroup, TButton, TCalendar, TCheckbox, TCheckboxGroup, TCodeBlock, TCode, TComment, TDatePicker, TDynamicTable, TEmptyState, TErrorMessage, TFileCard, TFlex, TFormFooter, TFormHeader, TForm, TFormSection, TGrid, THeading, THelperMessage, TIcon, TInline, TInlineEdit, TLabel, TLinkButton, TList, TListItem, TLoadingButton, TLozenge, TModalBody, TModalFooter, TModalHeader, TModal, TModalTitle, TModalTransition, TProgressBar, TProgressTracker, TRadioGroup, TRadio, TRange, TSectionMessageAction, TSectionMessage, TSelect, TSpinner, TStack, TTabList, TTabPanel, TTab, TTabs, TTagGroup, TTag, TTextArea, TTextfield, TTimePicker, TToggle, TTooltip, TValidMessage, TPopup, TAdfRenderer, TText, TPressable, TFilePicker, } from './components/__generated__';
|
|
1
|
+
export type { AdfRendererProps, BadgeProps, BoxProps, ButtonGroupProps, ButtonProps, CalendarProps, CheckboxProps, CheckboxGroupProps, CodeBlockProps, CodeProps, CommentProps, DatePickerProps, DynamicTableProps, EmptyStateProps, 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, TextProps, TextAreaProps, TextfieldProps, TileProps, ToggleProps, TooltipProps, TimePickerProps, ValidMessageProps, PopupProps, InlineEditProps, PressableProps, TBadge, TBox, TButtonGroup, TButton, TCalendar, TCheckbox, TCheckboxGroup, TCodeBlock, TCode, TComment, TDatePicker, TDynamicTable, TEmptyState, TErrorMessage, TFileCard, TFlex, TFormFooter, TFormHeader, TForm, TFormSection, TGrid, THeading, THelperMessage, TIcon, TInline, TInlineEdit, TLabel, TLinkButton, TList, TListItem, TLoadingButton, TLozenge, TModalBody, TModalFooter, TModalHeader, TModal, TModalTitle, TModalTransition, TProgressBar, TProgressTracker, TRadioGroup, TRadio, TRange, TSectionMessageAction, TSectionMessage, TSelect, TSpinner, TStack, TTabList, TTabPanel, TTab, TTabs, TTagGroup, TTag, TTextArea, TTextfield, TTimePicker, TToggle, TTooltip, TValidMessage, TPopup, TAdfRenderer, TText, TPressable, TFilePicker, TTile, } from './components/__generated__';
|
|
2
2
|
export type { BarChartProps, StackBarChartProps, HorizontalStackBarChartProps, HorizontalBarChartProps, LineChartProps, DonutChartProps, PieChartProps, TBarChart, TStackBarChart, THorizontalStackBarChart, THorizontalBarChart, TLineChart, TDonutChart, TPieChart, } from './components/charts';
|
|
3
3
|
export type { ChromelessEditorProps, CommentEditorProps, TChromelessEditor, TCommentEditor, } from './components/editor';
|
|
4
4
|
export type { ChartColorTokens } from './types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/forge-react-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.53.0",
|
|
4
4
|
"description": "Component types for Forge UI Kit React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -23,17 +23,17 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@atlaskit/button": "^23.9.0",
|
|
25
25
|
"@atlaskit/comment": "^13.2.0",
|
|
26
|
-
"@atlaskit/datetime-picker": "^17.
|
|
26
|
+
"@atlaskit/datetime-picker": "^17.4.0",
|
|
27
27
|
"@atlaskit/dynamic-table": "^18.3.0",
|
|
28
28
|
"@atlaskit/form": "^15.2.0",
|
|
29
|
-
"@atlaskit/inline-edit": "^15.
|
|
29
|
+
"@atlaskit/inline-edit": "^15.5.0",
|
|
30
30
|
"@atlaskit/modal-dialog": "^14.9.0",
|
|
31
|
-
"@atlaskit/navigation-system": "^5.
|
|
32
|
-
"@atlaskit/popup": "^4.
|
|
31
|
+
"@atlaskit/navigation-system": "^5.21.0",
|
|
32
|
+
"@atlaskit/popup": "^4.13.0",
|
|
33
33
|
"@atlaskit/primitives": "^17.0.0",
|
|
34
34
|
"@atlaskit/progress-bar": "^4.1.0",
|
|
35
35
|
"@atlaskit/progress-tracker": "^10.4.0",
|
|
36
|
-
"@atlaskit/radio": "^8.
|
|
36
|
+
"@atlaskit/radio": "^8.4.0",
|
|
37
37
|
"@atlaskit/section-message": "^8.11.0",
|
|
38
38
|
"@atlaskit/select": "^21.6.0",
|
|
39
39
|
"@atlaskit/spinner": "^19.0.0",
|
|
@@ -42,9 +42,10 @@
|
|
|
42
42
|
"@atlaskit/tag-group": "^12.0.0",
|
|
43
43
|
"@atlaskit/textarea": "^8.2.0",
|
|
44
44
|
"@atlaskit/textfield": "^8.2.0",
|
|
45
|
+
"@atlaskit/tile": "^1.0.0",
|
|
45
46
|
"@atlaskit/toggle": "^15.2.0",
|
|
46
|
-
"@atlaskit/tokens": "^9.
|
|
47
|
-
"@atlaskit/tooltip": "^20.
|
|
47
|
+
"@atlaskit/tokens": "^9.1.0",
|
|
48
|
+
"@atlaskit/tooltip": "^20.12.0",
|
|
48
49
|
"@babel/runtime": "^7.0.0"
|
|
49
50
|
},
|
|
50
51
|
"peerDependencies": {
|
|
@@ -52,7 +53,7 @@
|
|
|
52
53
|
},
|
|
53
54
|
"devDependencies": {
|
|
54
55
|
"@atlassian/codegen": "^0.1.0",
|
|
55
|
-
"@atlassian/forge-ui": "^32.
|
|
56
|
+
"@atlassian/forge-ui": "^32.64.0",
|
|
56
57
|
"@types/node": "~22.17.1",
|
|
57
58
|
"lodash": "^4.17.21",
|
|
58
59
|
"react": "^18.2.0",
|
|
@@ -0,0 +1,27 @@
|
|
|
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 - TileProps
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::8b1e13d93e3348f59fa7b79a0da227aa>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tile/__generated__/index.partial.tsx <<SignedSource::d7ec62556fa495888b1d4326b71c4d52>>
|
|
9
|
+
*/
|
|
10
|
+
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
|
+
|
|
12
|
+
import React from 'react';
|
|
13
|
+
import PlatformTile from '@atlaskit/tile';
|
|
14
|
+
|
|
15
|
+
type PlatformTileProps = React.ComponentProps<typeof PlatformTile>;
|
|
16
|
+
|
|
17
|
+
export type TileProps = Pick<
|
|
18
|
+
PlatformTileProps,
|
|
19
|
+
'backgroundColor' | 'label' | 'size' | 'children' | 'hasBorder' | 'isInset' | 'testId'
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A tile is a rounded square that takes an asset and represents a noun.
|
|
24
|
+
*
|
|
25
|
+
* @see [Tile](https://developer.atlassian.com/platform/forge/ui-kit/components/tile/) in UI Kit documentation for more information
|
|
26
|
+
*/
|
|
27
|
+
export type TTile<T> = (props: TileProps) => T;
|
|
@@ -57,6 +57,7 @@ export type { TagGroupProps, TTagGroup } from './TagGroupProps.codegen';
|
|
|
57
57
|
export type { SimpleTagProps as TagProps, TSimpleTag as TTag } from './TagProps.codegen';
|
|
58
58
|
export type { TextAreaProps, TTextArea } from './TextAreaProps.codegen';
|
|
59
59
|
export type { TextfieldProps, TTextfield } from './TextfieldProps.codegen';
|
|
60
|
+
export type { TileProps, TTile } from './TileProps.codegen';
|
|
60
61
|
export type { TimePickerProps, TTimePicker } from './TimePickerProps.codegen';
|
|
61
62
|
export type { ToggleProps, TToggle } from './ToggleProps.codegen';
|
|
62
63
|
export type { TooltipProps, TTooltip } from './TooltipProps.codegen';
|
package/src/index.ts
CHANGED
|
@@ -55,6 +55,7 @@ export type {
|
|
|
55
55
|
TextProps,
|
|
56
56
|
TextAreaProps,
|
|
57
57
|
TextfieldProps,
|
|
58
|
+
TileProps,
|
|
58
59
|
ToggleProps,
|
|
59
60
|
TooltipProps,
|
|
60
61
|
TimePickerProps,
|
|
@@ -127,6 +128,7 @@ export type {
|
|
|
127
128
|
TText,
|
|
128
129
|
TPressable,
|
|
129
130
|
TFilePicker,
|
|
131
|
+
TTile,
|
|
130
132
|
} from './components/__generated__';
|
|
131
133
|
|
|
132
134
|
export type {
|