@atlaskit/forge-react-types 0.34.13 → 0.34.14
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 +13 -0
- package/dist/cjs/components/__generated__/BoxProps.codegen.js +2 -2
- package/dist/es2019/components/__generated__/BoxProps.codegen.js +2 -2
- package/dist/esm/components/__generated__/BoxProps.codegen.js +2 -2
- package/dist/types/components/__generated__/BadgeProps.codegen.d.ts +2 -2
- package/dist/types/components/__generated__/BleedProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/BoxProps.codegen.d.ts +3 -3
- package/dist/types/components/__generated__/ButtonGroupProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/ButtonProps.codegen.d.ts +3 -2
- package/dist/types/components/__generated__/CalendarProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/CheckboxProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/CodeBlockProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/CodeProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/DatePickerProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/DynamicTableProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/EmptyStateProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/ErrorMessageProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/FlexProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/FormFooterProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/FormHeaderProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/FormSectionProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/HelperMessageProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/LabelProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/LinkButtonProps.codegen.d.ts +3 -2
- package/dist/types/components/__generated__/LoadingButtonProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/ValidMessageProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/BadgeProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/__generated__/BleedProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/BoxProps.codegen.d.ts +3 -3
- package/dist/types-ts4.5/components/__generated__/ButtonGroupProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/ButtonProps.codegen.d.ts +3 -2
- package/dist/types-ts4.5/components/__generated__/CalendarProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/CheckboxProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/CodeBlockProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/CodeProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/DatePickerProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/DynamicTableProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/EmptyStateProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/ErrorMessageProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/FlexProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/FormFooterProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/FormHeaderProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/FormSectionProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/HelperMessageProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/LabelProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/LinkButtonProps.codegen.d.ts +3 -2
- package/dist/types-ts4.5/components/__generated__/LoadingButtonProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/ValidMessageProps.codegen.d.ts +6 -2
- package/package.json +3 -3
- package/src/components/__generated__/BadgeProps.codegen.tsx +2 -2
- package/src/components/__generated__/BleedProps.codegen.tsx +8 -3
- package/src/components/__generated__/BoxProps.codegen.tsx +4 -9
- package/src/components/__generated__/ButtonGroupProps.codegen.tsx +8 -3
- package/src/components/__generated__/ButtonProps.codegen.tsx +5 -3
- package/src/components/__generated__/CalendarProps.codegen.tsx +8 -3
- package/src/components/__generated__/CheckboxProps.codegen.tsx +8 -3
- package/src/components/__generated__/CodeBlockProps.codegen.tsx +8 -3
- package/src/components/__generated__/CodeProps.codegen.tsx +8 -3
- package/src/components/__generated__/DatePickerProps.codegen.tsx +8 -3
- package/src/components/__generated__/DynamicTableProps.codegen.tsx +32 -8
- package/src/components/__generated__/EmptyStateProps.codegen.tsx +8 -3
- package/src/components/__generated__/ErrorMessageProps.codegen.tsx +8 -3
- package/src/components/__generated__/FlexProps.codegen.tsx +8 -3
- package/src/components/__generated__/FormFooterProps.codegen.tsx +8 -3
- package/src/components/__generated__/FormHeaderProps.codegen.tsx +8 -3
- package/src/components/__generated__/FormSectionProps.codegen.tsx +8 -3
- package/src/components/__generated__/HelperMessageProps.codegen.tsx +8 -3
- package/src/components/__generated__/LabelProps.codegen.tsx +10 -3
- package/src/components/__generated__/LinkButtonProps.codegen.tsx +5 -3
- package/src/components/__generated__/LoadingButtonProps.codegen.tsx +8 -3
- package/src/components/__generated__/ValidMessageProps.codegen.tsx +8 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/forge-react-types
|
|
2
2
|
|
|
3
|
+
## 0.34.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#107697](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107697)
|
|
8
|
+
[`e674161f3c419`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e674161f3c419) -
|
|
9
|
+
Migrate Box, Code, DatePicker, DynamicTable, EmptyState, Flex, and Form to using component props
|
|
10
|
+
config
|
|
11
|
+
- [#107336](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107336)
|
|
12
|
+
[`1648368ec825d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1648368ec825d) -
|
|
13
|
+
Migrate UIKit component codegen prop config setup
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 0.34.13
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -8,9 +8,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
*
|
|
9
9
|
* Extract component prop types from UIKit 2 components - BoxProps
|
|
10
10
|
*
|
|
11
|
-
* @codegen <<SignedSource::
|
|
11
|
+
* @codegen <<SignedSource::31dc8fb4f36ecf67c99521f59d86c2e1>>
|
|
12
12
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
13
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/box/__generated__/index.partial.tsx <<SignedSource::
|
|
13
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/box/__generated__/index.partial.tsx <<SignedSource::7f0def3e681685c87e720c200f3f4b23>>
|
|
14
14
|
*/
|
|
15
15
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage/preview */
|
|
16
16
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - BoxProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::31dc8fb4f36ecf67c99521f59d86c2e1>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/box/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/box/__generated__/index.partial.tsx <<SignedSource::7f0def3e681685c87e720c200f3f4b23>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage/preview */
|
|
11
11
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - BoxProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::31dc8fb4f36ecf67c99521f59d86c2e1>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/box/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/box/__generated__/index.partial.tsx <<SignedSource::7f0def3e681685c87e720c200f3f4b23>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage/preview */
|
|
11
11
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - BadgeProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::64c7e35a348ef5e063329091a361292f>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/badge/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/badge/__generated__/index.partial.tsx <<SignedSource::89ad3341c1b8ef4b6fc93df162ac91d3>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformBadge from '@atlaskit/badge';
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - BleedProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::c7fc1c22894c170849e24bf5e8171def>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/bleed/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/bleed/__generated__/index.partial.tsx <<SignedSource::a2cfcd6831a7e1c773ef12a09fc07228>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Bleed as PlatformBleed } from '@atlaskit/primitives';
|
|
12
12
|
type PlatformBleedProps = React.ComponentProps<typeof PlatformBleed>;
|
|
13
13
|
export type BleedProps = Pick<PlatformBleedProps, 'children' | 'all' | 'inline' | 'block' | 'testId' | 'role'>;
|
|
14
|
+
/**
|
|
15
|
+
* Primitives are token-backed low-level building blocks.
|
|
16
|
+
*/
|
|
17
|
+
export type TBleed<T> = (props: BleedProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - BoxProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::31dc8fb4f36ecf67c99521f59d86c2e1>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/box/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/box/__generated__/index.partial.tsx <<SignedSource::7f0def3e681685c87e720c200f3f4b23>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Box as PlatformBox } from '@atlaskit/primitives';
|
|
@@ -2187,7 +2187,7 @@ export type BoxProps = Pick<PlatformBoxProps, 'children' | 'ref' | 'testId'> & {
|
|
|
2187
2187
|
backgroundColor?: PlatformBoxProps['backgroundColor'];
|
|
2188
2188
|
/**
|
|
2189
2189
|
* Apply a subset of permitted styles, powered by Atlassian Design System tokens.
|
|
2190
|
-
* For a list of supported style properties on this component, see [here](/platform/forge/ui-kit/components/xcss).
|
|
2190
|
+
* For a list of supported style properties on this component, see [here](https://developer.atlassian.com/platform/forge/ui-kit/components/xcss).
|
|
2191
2191
|
*
|
|
2192
2192
|
* @type XCSSProp
|
|
2193
2193
|
*/
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ButtonGroupProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::4daf3a960cc3108bbbc8ad0ede3b7011>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/button-group.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/button-group.partial.tsx <<SignedSource::728cab6df690811513a66ea4bacb89c9>>
|
|
9
9
|
*/
|
|
10
10
|
import type { ButtonGroupProps as PlatformButtonGroupProps } from '@atlaskit/button';
|
|
11
11
|
import type { ButtonProps } from '@atlaskit/button';
|
|
12
12
|
export type ButtonGroupProps = Pick<PlatformButtonGroupProps, 'children' | 'testId' | 'label' | 'titleId'> & {
|
|
13
13
|
appearance?: ButtonProps['appearance'];
|
|
14
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* A button triggers an event or action. They let users know what will happen next.
|
|
17
|
+
*/
|
|
18
|
+
export type TButtonGroup<T> = (props: ButtonGroupProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ButtonProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::333890773f42cacce17cee560686b34c>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/index.partial.tsx <<SignedSource::c3a07cf50f9f4f166b94a72b4c2d5784>>
|
|
9
9
|
*/
|
|
10
10
|
import type { ButtonProps as PlatformButtonProps } from '@atlaskit/button/new';
|
|
11
11
|
export type Icon = 'activity' | 'add' | 'add-circle' | 'add-item' | 'addon' | 'app-access' | 'app-switcher' | 'archive' | 'arrow-down' | 'arrow-down-circle' | 'arrow-left' | 'arrow-left-circle' | 'arrow-right' | 'arrow-right-circle' | 'arrow-up' | 'arrow-up-circle' | 'attachment' | 'audio' | 'audio-circle' | 'backlog' | 'billing' | 'billing-filled' | 'bitbucket-branches' | 'bitbucket-builds' | 'bitbucket-clone' | 'bitbucket-commits' | 'bitbucket-compare' | 'bitbucket-forks' | 'bitbucket-output' | 'bitbucket-pipelines' | 'bitbucket-pullrequests' | 'bitbucket-repos' | 'bitbucket-snippets' | 'bitbucket-source' | 'board' | 'book' | 'bullet-list' | 'calendar' | 'calendar-filled' | 'camera' | 'camera-filled' | 'camera-rotate' | 'camera-take-picture' | 'canvas' | 'check' | 'check-circle' | 'check-circle-outline' | 'checkbox' | 'checkbox-indeterminate' | 'chevron-down' | 'chevron-down-circle' | 'chevron-left' | 'chevron-left-circle' | 'chevron-left-large' | 'chevron-right' | 'chevron-right-circle' | 'chevron-right-large' | 'chevron-up' | 'chevron-up-circle' | 'child-issues' | 'code' | 'comment' | 'component' | 'copy' | 'creditcard' | 'creditcard-filled' | 'cross' | 'cross-circle' | 'dashboard' | 'decision' | 'department' | 'detail-view' | 'discover' | 'discover-filled' | 'document' | 'document-filled' | 'documents' | 'download' | 'drag-handler' | 'dropbox' | 'edit' | 'edit-filled' | 'editor-add' | 'editor-addon' | 'editor-advanced' | 'editor-align-center' | 'editor-align-image-center' | 'editor-align-image-left' | 'editor-align-image-right' | 'editor-align-left' | 'editor-align-right' | 'editor-attachment' | 'editor-background-color' | 'editor-bold' | 'editor-bullet-list' | 'editor-close' | 'editor-code' | 'editor-collapse' | 'editor-date' | 'editor-decision' | 'editor-divider' | 'editor-done' | 'editor-edit' | 'editor-emoji' | 'editor-error' | 'editor-expand' | 'editor-feedback' | 'editor-file' | 'editor-file-preview' | 'editor-help' | 'editor-hint' | 'editor-horizontal-rule' | 'editor-image' | 'editor-image-border' | 'editor-image-resize' | 'editor-indent' | 'editor-info' | 'editor-italic' | 'editor-layout-single' | 'editor-layout-three-equal' | 'editor-layout-three-with-sidebars' | 'editor-layout-two-equal' | 'editor-layout-two-left-sidebar' | 'editor-layout-two-right-sidebar' | 'editor-link' | 'editor-media-center' | 'editor-media-full-width' | 'editor-media-wide' | 'editor-media-wrap-left' | 'editor-media-wrap-right' | 'editor-mention' | 'editor-more' | 'editor-note' | 'editor-number-list' | 'editor-open' | 'editor-outdent' | 'editor-panel' | 'editor-photo' | 'editor-quote' | 'editor-recent' | 'editor-redo' | 'editor-remove' | 'editor-remove-emoji' | 'editor-search' | 'editor-settings' | 'editor-strikethrough' | 'editor-success' | 'editor-table' | 'editor-table-display-options' | 'editor-task' | 'editor-text-color' | 'editor-text-style' | 'editor-underline' | 'editor-undo' | 'editor-unlink' | 'editor-warning' | 'email' | 'emoji' | 'emoji-add' | 'emoji-activity' | 'emoji-atlassian' | 'emoji-custom' | 'emoji-emoji' | 'emoji-flags' | 'emoji-food' | 'emoji-frequent' | 'emoji-keyboard' | 'emoji-nature' | 'emoji-objects' | 'emoji-people' | 'emoji-productivity' | 'emoji-symbols' | 'emoji-travel' | 'error' | 'export' | 'feedback' | 'file' | 'filter' | 'flag-filled' | 'folder' | 'folder-filled' | 'followers' | 'following' | 'googledrive' | 'graph-bar' | 'graph-line' | 'gsuite' | 'highlights' | 'hipchat-audio-only' | 'hipchat-chevron-double-down' | 'hipchat-chevron-double-up' | 'hipchat-chevron-down' | 'hipchat-chevron-up' | 'hipchat-dial-out' | 'hipchat-lobby' | 'hipchat-media-attachment-count' | 'hipchat-outgoing-sound' | 'hipchat-sd-video' | 'home' | 'home-circle' | 'image' | 'image-border' | 'image-resize' | 'info' | 'invite-team' | 'issue' | 'issue-raise' | 'issues' | 'jira-capture' | 'jira-failed-build-status' | 'jira-labs' | 'jira-test-session' | 'label' | 'lightbulb' | 'lightbulb-filled' | 'like' | 'link' | 'link-filled' | 'list' | 'location' | 'lock' | 'lock-circle' | 'lock-filled' | 'marketplace' | 'media-services-actual-size' | 'media-services-add-comment' | 'media-services-annotate' | 'media-services-arrow' | 'media-services-audio' | 'media-services-blur' | 'media-services-brush' | 'media-services-button-option' | 'media-services-code' | 'media-services-document' | 'media-services-filter' | 'media-services-fit-to-page' | 'media-services-full-screen' | 'media-services-grid' | 'media-services-image' | 'media-services-line' | 'media-services-line-thickness' | 'media-services-no-image' | 'media-services-open-mediaviewer' | 'media-services-oval' | 'media-services-pdf' | 'media-services-preselected' | 'media-services-presentation' | 'media-services-rectangle' | 'media-services-scale-large' | 'media-services-scale-small' | 'media-services-spreadsheet' | 'media-services-text' | 'media-services-unknown' | 'media-services-video' | 'media-services-zip' | 'media-services-zoom-in' | 'media-services-zoom-out' | 'mention' | 'menu' | 'menu-expand' | 'mobile' | 'more' | 'more-vertical' | 'notification' | 'notification-all' | 'notification-direct' | 'office-building' | 'office-building-filled' | 'open' | 'overview' | 'page' | 'page-filled' | 'pdf' | 'people' | 'people-group' | 'person' | 'person-circle' | 'person-with-circle' | 'person-with-cross' | 'person-with-tick' | 'portfolio' | 'preferences' | 'premium' | 'presence-active' | 'presence-busy' | 'presence-unavailable' | 'question' | 'question-circle' | 'questions' | 'queues' | 'quote' | 'radio' | 'recent' | 'redo' | 'refresh' | 'retry' | 'roadmap' | 'room-menu' | 'schedule' | 'schedule-filled' | 'screen' | 'search' | 'select-clear' | 'send' | 'settings' | 'share' | 'ship' | 'shortcut' | 'sign-in' | 'sign-out' | 'sprint' | 'star' | 'star-filled' | 'star-large' | 'status' | 'stopwatch' | 'subtask' | 'suitcase' | 'switcher' | 'table' | 'task' | 'teams' | 'trash' | 'tray' | 'undo' | 'unlink' | 'unlock' | 'unlock-circle' | 'unlock-filled' | 'upload' | 'user-avatar-circle' | 'vid-audio-muted' | 'vid-audio-on' | 'vid-backward' | 'vid-camera-off' | 'vid-camera-on' | 'vid-connection-circle' | 'vid-forward' | 'vid-full-screen-off' | 'vid-full-screen-on' | 'vid-hang-up' | 'vid-hd-circle' | 'vid-pause' | 'vid-play' | 'vid-raised-hand' | 'vid-share-screen' | 'vid-speaking-circle' | 'vid-volume-full' | 'vid-volume-half' | 'vid-volume-muted' | 'video-circle' | 'video-filled' | 'warning' | 'watch' | 'watch-filled' | 'world' | 'world-small';
|
|
@@ -15,4 +15,5 @@ export type ButtonProps = Pick<PlatformButtonProps, 'children' | 'autoFocus' | '
|
|
|
15
15
|
iconAfter?: IconType;
|
|
16
16
|
spacing?: PlatformButtonProps['spacing'] | 'none';
|
|
17
17
|
};
|
|
18
|
+
export type TButton<T> = (props: ButtonProps) => T;
|
|
18
19
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - CalendarProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::87bad6f2a27e493eeba6d969450d3a3d>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/calendar/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/calendar/__generated__/index.partial.tsx <<SignedSource::3fb4c1249481ec420be5118220ebcd82>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformCalendar from '@atlaskit/calendar';
|
|
12
12
|
type PlatformCalendarProps = React.ComponentProps<typeof PlatformCalendar>;
|
|
13
13
|
export type CalendarProps = Pick<PlatformCalendarProps, 'day' | 'defaultDay' | 'defaultMonth' | 'defaultYear' | 'defaultPreviouslySelected' | 'defaultSelected' | 'disabled' | 'maxDate' | 'minDate' | 'nextMonthLabel' | 'onBlur' | 'onChange' | 'onFocus' | 'onSelect' | 'previouslySelected' | 'previousMonthLabel' | 'selected' | 'today' | 'year' | 'locale' | 'testId' | 'weekStartDay' | 'tabIndex'>;
|
|
14
|
+
/**
|
|
15
|
+
* An interactive calendar for date selection experiences.
|
|
16
|
+
*/
|
|
17
|
+
export type TCalendar<T> = (props: CalendarProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - CheckboxProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::7f4aa902734166585716f52e001a6d8f>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/checkbox/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/checkbox/__generated__/index.partial.tsx <<SignedSource::e34c0ab52d3409a8548b6e51450ba43b>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformCheckbox from '@atlaskit/checkbox';
|
|
12
12
|
import type { EventHandlerProps } from './types.codegen';
|
|
13
13
|
type PlatformCheckboxProps = React.ComponentProps<typeof PlatformCheckbox>;
|
|
14
14
|
export type CheckboxProps = Pick<PlatformCheckboxProps, 'testId' | 'defaultChecked' | 'isChecked' | 'isIndeterminate' | 'label' | 'id' | 'isRequired' | 'isDisabled' | 'isInvalid' | 'value' | 'aria-invalid' | 'aria-labelledby' | 'name'> & Pick<EventHandlerProps, 'onChange' | 'onBlur' | 'onFocus'>;
|
|
15
|
+
/**
|
|
16
|
+
* A checkbox is an input control that allows a user to select one or more options from a number of choices.
|
|
17
|
+
*/
|
|
18
|
+
export type TCheckbox<T> = (props: CheckboxProps) => T;
|
|
15
19
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - CodeBlockProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::7ac72aa38d908f5ad8be5452cccb84d1>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/code/__generated__/codeblock.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/code/__generated__/codeblock.partial.tsx <<SignedSource::88ed38fdfc47db0938e7801195a00403>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { CodeBlock as PlatformCodeBlock } from '@atlaskit/code';
|
|
12
12
|
type PlatformCodeBlockProps = React.ComponentProps<typeof PlatformCodeBlock>;
|
|
13
13
|
export type CodeBlockProps = Pick<PlatformCodeBlockProps, 'text' | 'testId' | 'showLineNumbers' | 'language' | 'highlight' | 'highlightedStartText' | 'highlightedEndText' | 'shouldWrapLongLines'>;
|
|
14
|
+
/**
|
|
15
|
+
* Code highlights short strings of code snippets inline with body text.
|
|
16
|
+
*/
|
|
17
|
+
export type TCodeBlock<T> = (props: CodeBlockProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - CodeProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::1a39727c921b99c3519aa0020e967c21>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/code/__generated__/code.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/code/__generated__/code.partial.tsx <<SignedSource::370e450903cb8f21b11acac7a9fc720b>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Code as PlatformCode } from '@atlaskit/code';
|
|
12
12
|
type PlatformCodeProps = React.ComponentProps<typeof PlatformCode>;
|
|
13
13
|
export type CodeProps = Pick<PlatformCodeProps, 'children' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* Code highlights short strings of code snippets inline with body text.
|
|
16
|
+
*/
|
|
17
|
+
export type TCode<T> = (props: CodeProps) => T;
|
|
14
18
|
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::14d82d10ae64e4333440817918f6e955>>
|
|
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::6bc5d63c14b9dda11b370e386ccf4955>>
|
|
9
9
|
*/
|
|
10
10
|
import type { DateTimePickerSelectProps } from '@atlaskit/datetime-picker';
|
|
11
11
|
export interface FieldProps {
|
|
@@ -47,4 +47,8 @@ export type DatePickerProps = {
|
|
|
47
47
|
selectProps?: DateTimePickerSelectProps;
|
|
48
48
|
shouldShowCalendarButton?: boolean;
|
|
49
49
|
} & Partial<Omit<FieldProps, 'onChange'>>;
|
|
50
|
+
/**
|
|
51
|
+
* A date time picker allows the user to select an associated date and time.
|
|
52
|
+
*/
|
|
53
|
+
export type TDatePicker<T> = (props: DatePickerProps) => T;
|
|
50
54
|
export {};
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - DynamicTableProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::213e682fc5fc702c30fb176cf45969b3>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/dynamictable/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/dynamictable/__generated__/index.partial.tsx <<SignedSource::579e3dddf7bd4b762d0fd40744619b89>>
|
|
9
9
|
*/
|
|
10
10
|
import type { RowType, StatefulProps } from '@atlaskit/dynamic-table/types';
|
|
11
11
|
type NewRowType = Pick<RowType, 'cells' | 'key' | 'isHighlighted'>;
|
|
@@ -13,4 +13,8 @@ export type DynamicTableProps = Pick<StatefulProps, 'defaultPage' | 'defaultSort
|
|
|
13
13
|
rows?: NewRowType[];
|
|
14
14
|
caption?: string;
|
|
15
15
|
};
|
|
16
|
+
/**
|
|
17
|
+
* A dynamic table displays rows of data with built-in pagination, sorting, and re-ordering functionality.
|
|
18
|
+
*/
|
|
19
|
+
export type TDynamicTable<T> = (props: DynamicTableProps) => T;
|
|
16
20
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - EmptyStateProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::07a70b90ed6e68ae200fd5e38e163a89>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/emptystate/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/emptystate/__generated__/index.partial.tsx <<SignedSource::d6c509a722d55de0f55d401cd2e75435>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformEmptyState from '@atlaskit/empty-state';
|
|
12
12
|
type PlatformEmptyStateProps = React.ComponentProps<typeof PlatformEmptyState>;
|
|
13
13
|
export type EmptyStateProps = Pick<PlatformEmptyStateProps, 'buttonGroupLabel' | 'description' | 'header' | 'headingLevel' | 'isLoading' | 'primaryAction' | 'secondaryAction' | 'tertiaryAction' | 'testId' | 'width'>;
|
|
14
|
+
/**
|
|
15
|
+
* An empty state appears when there is no data to display and describes what the user can do next.
|
|
16
|
+
*/
|
|
17
|
+
export type TEmptyState<T> = (props: EmptyStateProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ErrorMessageProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::3d3da7aa33a6ac0adb1524f89ee28208>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/error-message.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/error-message.partial.tsx <<SignedSource::9e1a8d256d8d999a689140fbcda430fa>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { ErrorMessage as PlatformErrorMessage } from '@atlaskit/form';
|
|
12
12
|
type PlatformErrorMessageProps = React.ComponentProps<typeof PlatformErrorMessage>;
|
|
13
13
|
export type ErrorMessageProps = Pick<PlatformErrorMessageProps, 'children' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A form allows users to input information.
|
|
16
|
+
*/
|
|
17
|
+
export type TErrorMessage<T> = (props: ErrorMessageProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - FlexProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::a7674fb0691e3265f6e0940ae4f938e1>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/flex/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/flex/__generated__/index.partial.tsx <<SignedSource::0e480e44e57f21f761bec4613ac4988d>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Flex as PlatformFlex } from '@atlaskit/primitives';
|
|
12
12
|
type PlatformFlexProps = React.ComponentProps<typeof PlatformFlex>;
|
|
13
13
|
export type FlexProps = Pick<PlatformFlexProps, 'children' | 'justifyContent' | 'alignItems' | 'columnGap' | 'gap' | 'rowGap' | 'direction' | 'wrap' | 'testId' | 'role'>;
|
|
14
|
+
/**
|
|
15
|
+
* Primitives are token-backed low-level building blocks.
|
|
16
|
+
*/
|
|
17
|
+
export type TFlex<T> = (props: FlexProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - FormFooterProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::cb77ae443b27f1229afcd556eb365acf>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-footer.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-footer.partial.tsx <<SignedSource::ff2413efe154db0f89a03200caf50ced>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { FormFooter as PlatformFormFooter } from '@atlaskit/form';
|
|
12
12
|
type PlatformFormFooterProps = React.ComponentProps<typeof PlatformFormFooter>;
|
|
13
13
|
export type FormFooterProps = Pick<PlatformFormFooterProps, 'children' | 'align'>;
|
|
14
|
+
/**
|
|
15
|
+
* A form allows users to input information.
|
|
16
|
+
*/
|
|
17
|
+
export type TFormFooter<T> = (props: FormFooterProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - FormHeaderProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::74a8285c7ae5a0c5db7b8cafa4d8226b>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-header.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-header.partial.tsx <<SignedSource::038ad7a850af23fb1c9b30de39ab0552>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { FormHeader as PlatformFormHeader } from '@atlaskit/form';
|
|
12
12
|
type PlatformFormHeaderProps = React.ComponentProps<typeof PlatformFormHeader>;
|
|
13
13
|
export type FormHeaderProps = Pick<PlatformFormHeaderProps, 'title' | 'description' | 'children'>;
|
|
14
|
+
/**
|
|
15
|
+
* A form allows users to input information.
|
|
16
|
+
*/
|
|
17
|
+
export type TFormHeader<T> = (props: FormHeaderProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - FormSectionProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::bb91841c1913229e7eb66d61b4ab693d>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-section.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-section.partial.tsx <<SignedSource::7b30101c26550bb11c0f4ca6d4cf46fc>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { FormSection as PlatformFormSection } from '@atlaskit/form';
|
|
12
12
|
type PlatformFormSectionProps = React.ComponentProps<typeof PlatformFormSection>;
|
|
13
13
|
export type FormSectionProps = Pick<PlatformFormSectionProps, 'title' | 'children' | 'description'>;
|
|
14
|
+
/**
|
|
15
|
+
* A form allows users to input information.
|
|
16
|
+
*/
|
|
17
|
+
export type TFormSection<T> = (props: FormSectionProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - HelperMessageProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::85d8a9188648ed81c09769eedb4935e6>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/helper-message.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/helper-message.partial.tsx <<SignedSource::f093808bbd8bf8738059aee750524013>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { HelperMessage as PlatformHelperMessage } from '@atlaskit/form';
|
|
12
12
|
type PlatformHelperMessageProps = React.ComponentProps<typeof PlatformHelperMessage>;
|
|
13
13
|
export type HelperMessageProps = Pick<PlatformHelperMessageProps, 'children' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A form allows users to input information.
|
|
16
|
+
*/
|
|
17
|
+
export type THelperMessage<T> = (props: HelperMessageProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,11 +3,15 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - LabelProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::0a894a2ad4f4410a2c67f12f0287dbcd>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/label.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/label.partial.tsx <<SignedSource::60bad4561265206e7c10d92a99fce9f4>>
|
|
9
9
|
*/
|
|
10
10
|
import type { LabelProps as PlatformLabelProps } from '@atlaskit/form';
|
|
11
11
|
export type LabelProps = Pick<PlatformLabelProps, 'children' | 'testId' | 'id'> & {
|
|
12
12
|
labelFor: string;
|
|
13
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* A form allows users to input information.
|
|
16
|
+
*/
|
|
17
|
+
export type TLabel<T> = (props: LabelProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - LinkButtonProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::ac79b85bde2efadf2186ea5acd6d267e>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/link-button.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/link-button.partial.tsx <<SignedSource::4f0e6eb251c01a13ba006b3d7569820d>>
|
|
9
9
|
*/
|
|
10
10
|
import type { LinkButtonProps as PlatformLinkButtonProps } from '@atlaskit/button/new';
|
|
11
11
|
import React from 'react';
|
|
@@ -15,3 +15,4 @@ export type LinkButtonProps = Pick<PlatformLinkButtonProps, 'children' | 'target
|
|
|
15
15
|
appearance?: PlatformLinkButtonProps['appearance'] | 'link' | 'subtle-link';
|
|
16
16
|
spacing?: PlatformLinkButtonProps['spacing'] | 'none';
|
|
17
17
|
};
|
|
18
|
+
export type TLinkButton<T> = (props: LinkButtonProps) => T;
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - LoadingButtonProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::58521a43391f996afe6923d5a591a82c>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/loading-button.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/loading-button.partial.tsx <<SignedSource::078e02aff0fd36fb6bbf64711f0c5490>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { LoadingButton as PlatformLoadingButton } from '@atlaskit/button';
|
|
12
12
|
type PlatformLoadingButtonProps = React.ComponentProps<typeof PlatformLoadingButton>;
|
|
13
13
|
export type LoadingButtonProps = Pick<PlatformLoadingButtonProps, 'children' | 'appearance' | 'autoFocus' | 'isDisabled' | 'isSelected' | 'onBlur' | 'onClick' | 'onFocus' | 'spacing' | 'testId' | 'shouldFitContainer' | 'type' | 'isLoading'>;
|
|
14
|
+
/**
|
|
15
|
+
* A button triggers an event or action. They let users know what will happen next.
|
|
16
|
+
*/
|
|
17
|
+
export type TLoadingButton<T> = (props: LoadingButtonProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ValidMessageProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::40ef2ece49a84181a994ff221e42cc39>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/valid-message.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/valid-message.partial.tsx <<SignedSource::5460cf891302777898b53c0b4ae8b610>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { ValidMessage as PlatformValidMessage } from '@atlaskit/form';
|
|
12
12
|
type PlatformValidMessageProps = React.ComponentProps<typeof PlatformValidMessage>;
|
|
13
13
|
export type ValidMessageProps = Pick<PlatformValidMessageProps, 'children' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A form allows users to input information.
|
|
16
|
+
*/
|
|
17
|
+
export type TValidMessage<T> = (props: ValidMessageProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - BadgeProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::64c7e35a348ef5e063329091a361292f>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/badge/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/badge/__generated__/index.partial.tsx <<SignedSource::89ad3341c1b8ef4b6fc93df162ac91d3>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformBadge from '@atlaskit/badge';
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - BleedProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::c7fc1c22894c170849e24bf5e8171def>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/bleed/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/bleed/__generated__/index.partial.tsx <<SignedSource::a2cfcd6831a7e1c773ef12a09fc07228>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Bleed as PlatformBleed } from '@atlaskit/primitives';
|
|
12
12
|
type PlatformBleedProps = React.ComponentProps<typeof PlatformBleed>;
|
|
13
13
|
export type BleedProps = Pick<PlatformBleedProps, 'children' | 'all' | 'inline' | 'block' | 'testId' | 'role'>;
|
|
14
|
+
/**
|
|
15
|
+
* Primitives are token-backed low-level building blocks.
|
|
16
|
+
*/
|
|
17
|
+
export type TBleed<T> = (props: BleedProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - BoxProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::31dc8fb4f36ecf67c99521f59d86c2e1>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/box/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/box/__generated__/index.partial.tsx <<SignedSource::7f0def3e681685c87e720c200f3f4b23>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Box as PlatformBox } from '@atlaskit/primitives';
|
|
@@ -2187,7 +2187,7 @@ export type BoxProps = Pick<PlatformBoxProps, 'children' | 'ref' | 'testId'> & {
|
|
|
2187
2187
|
backgroundColor?: PlatformBoxProps['backgroundColor'];
|
|
2188
2188
|
/**
|
|
2189
2189
|
* Apply a subset of permitted styles, powered by Atlassian Design System tokens.
|
|
2190
|
-
* For a list of supported style properties on this component, see [here](/platform/forge/ui-kit/components/xcss).
|
|
2190
|
+
* For a list of supported style properties on this component, see [here](https://developer.atlassian.com/platform/forge/ui-kit/components/xcss).
|
|
2191
2191
|
*
|
|
2192
2192
|
* @type XCSSProp
|
|
2193
2193
|
*/
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ButtonGroupProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::4daf3a960cc3108bbbc8ad0ede3b7011>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/button-group.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/button-group.partial.tsx <<SignedSource::728cab6df690811513a66ea4bacb89c9>>
|
|
9
9
|
*/
|
|
10
10
|
import type { ButtonGroupProps as PlatformButtonGroupProps } from '@atlaskit/button';
|
|
11
11
|
import type { ButtonProps } from '@atlaskit/button';
|
|
12
12
|
export type ButtonGroupProps = Pick<PlatformButtonGroupProps, 'children' | 'testId' | 'label' | 'titleId'> & {
|
|
13
13
|
appearance?: ButtonProps['appearance'];
|
|
14
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* A button triggers an event or action. They let users know what will happen next.
|
|
17
|
+
*/
|
|
18
|
+
export type TButtonGroup<T> = (props: ButtonGroupProps) => T;
|