@atlaskit/forge-react-types 0.1.1 → 0.2.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 +10 -0
- package/dist/types/components/__generated__/ButtonProps.d.ts +9 -6
- package/dist/types-ts4.5/components/__generated__/ButtonProps.d.ts +9 -6
- package/package.json +3 -2
- package/scripts/codegen/componentPropTypes.ts +0 -1
- package/src/components/__generated__/ButtonProps.tsx +365 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/forge-react-types
|
|
2
2
|
|
|
3
|
+
## 0.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#72888](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72888) [`3bf03a46894c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3bf03a46894c) - Add icon props to ButtonProps
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 0.1.1
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -3,12 +3,15 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ButtonProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::608a03bb653872bfa96dea8698d7d098>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/button/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/button/__generated__/index.partial.tsx <<SignedSource::02de95b15ee84f580bd4604609e70c7a>>
|
|
9
9
|
*/
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
type
|
|
13
|
-
export type ButtonProps = Pick<PlatformButtonProps, 'children' | 'autoFocus' | 'isDisabled' | 'isSelected' | 'onBlur' | 'onClick' | 'onFocus' | 'spacing' | 'testId' | 'shouldFitContainer' | 'appearance' | 'type'
|
|
10
|
+
import type { ButtonProps as PlatformButtonProps } from '@atlaskit/button/new';
|
|
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' | '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';
|
|
12
|
+
type IconType = Icon;
|
|
13
|
+
export type ButtonProps = Pick<PlatformButtonProps, 'children' | 'autoFocus' | 'isDisabled' | 'isSelected' | 'onBlur' | 'onClick' | 'onFocus' | 'spacing' | 'testId' | 'shouldFitContainer' | 'appearance' | 'type'> & {
|
|
14
|
+
iconBefore?: IconType;
|
|
15
|
+
iconAfter?: IconType;
|
|
16
|
+
};
|
|
14
17
|
export {};
|
|
@@ -3,12 +3,15 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ButtonProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::608a03bb653872bfa96dea8698d7d098>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/button/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/button/__generated__/index.partial.tsx <<SignedSource::02de95b15ee84f580bd4604609e70c7a>>
|
|
9
9
|
*/
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
type
|
|
13
|
-
export type ButtonProps = Pick<PlatformButtonProps, 'children' | 'autoFocus' | 'isDisabled' | 'isSelected' | 'onBlur' | 'onClick' | 'onFocus' | 'spacing' | 'testId' | 'shouldFitContainer' | 'appearance' | 'type'
|
|
10
|
+
import type { ButtonProps as PlatformButtonProps } from '@atlaskit/button/new';
|
|
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' | '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';
|
|
12
|
+
type IconType = Icon;
|
|
13
|
+
export type ButtonProps = Pick<PlatformButtonProps, 'children' | 'autoFocus' | 'isDisabled' | 'isSelected' | 'onBlur' | 'onClick' | 'onFocus' | 'spacing' | 'testId' | 'shouldFitContainer' | 'appearance' | 'type'> & {
|
|
14
|
+
iconBefore?: IconType;
|
|
15
|
+
iconAfter?: IconType;
|
|
16
|
+
};
|
|
14
17
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/forge-react-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Component types for Forge UI Kit React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@atlaskit/radio": "^6.0.0",
|
|
41
41
|
"@atlaskit/range": "^7.1.0",
|
|
42
42
|
"@atlaskit/section-message": "^6.4.0",
|
|
43
|
-
"@atlaskit/select": "^17.0
|
|
43
|
+
"@atlaskit/select": "^17.1.0",
|
|
44
44
|
"@atlaskit/spinner": "^16.0.0",
|
|
45
45
|
"@atlaskit/tabs": "^14.0.0",
|
|
46
46
|
"@atlaskit/tag": "^12.0.0",
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
59
|
+
"@atlassian/codegen": "^0.1.2",
|
|
59
60
|
"@types/node": "~18.17.1",
|
|
60
61
|
"react": "^16.8.0",
|
|
61
62
|
"ts-morph": "^17.0.0",
|
|
@@ -3,16 +3,373 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ButtonProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::608a03bb653872bfa96dea8698d7d098>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/button/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/button/__generated__/index.partial.tsx <<SignedSource::02de95b15ee84f580bd4604609e70c7a>>
|
|
9
9
|
*/
|
|
10
|
-
import
|
|
11
|
-
|
|
10
|
+
import type { ButtonProps as PlatformButtonProps } from '@atlaskit/button/new';
|
|
11
|
+
|
|
12
|
+
export type Icon =
|
|
13
|
+
| 'activity'
|
|
14
|
+
| 'add'
|
|
15
|
+
| 'add-circle'
|
|
16
|
+
| 'add-item'
|
|
17
|
+
| 'addon'
|
|
18
|
+
| 'app-access'
|
|
19
|
+
| 'app-switcher'
|
|
20
|
+
| 'archive'
|
|
21
|
+
| 'arrow-down'
|
|
22
|
+
| 'arrow-down-circle'
|
|
23
|
+
| 'arrow-left'
|
|
24
|
+
| 'arrow-left-circle'
|
|
25
|
+
| 'arrow-right'
|
|
26
|
+
| 'arrow-right-circle'
|
|
27
|
+
| 'arrow-up'
|
|
28
|
+
| 'arrow-up-circle'
|
|
29
|
+
| 'attachment'
|
|
30
|
+
| 'audio'
|
|
31
|
+
| 'audio-circle'
|
|
32
|
+
| 'backlog'
|
|
33
|
+
| 'billing'
|
|
34
|
+
| 'billing-filled'
|
|
35
|
+
| 'bitbucket-branches'
|
|
36
|
+
| 'bitbucket-builds'
|
|
37
|
+
| 'bitbucket-clone'
|
|
38
|
+
| 'bitbucket-commits'
|
|
39
|
+
| 'bitbucket-compare'
|
|
40
|
+
| 'bitbucket-forks'
|
|
41
|
+
| 'bitbucket-output'
|
|
42
|
+
| 'bitbucket-pipelines'
|
|
43
|
+
| 'bitbucket-pullrequests'
|
|
44
|
+
| 'bitbucket-repos'
|
|
45
|
+
| 'bitbucket-snippets'
|
|
46
|
+
| 'bitbucket-source'
|
|
47
|
+
| 'board'
|
|
48
|
+
| 'book'
|
|
49
|
+
| 'bullet-list'
|
|
50
|
+
| 'calendar'
|
|
51
|
+
| 'calendar-filled'
|
|
52
|
+
| 'camera'
|
|
53
|
+
| 'camera-filled'
|
|
54
|
+
| 'camera-rotate'
|
|
55
|
+
| 'camera-take-picture'
|
|
56
|
+
| 'canvas'
|
|
57
|
+
| 'check'
|
|
58
|
+
| 'check-circle'
|
|
59
|
+
| 'check-circle-outline'
|
|
60
|
+
| 'checkbox'
|
|
61
|
+
| 'checkbox-indeterminate'
|
|
62
|
+
| 'chevron-down'
|
|
63
|
+
| 'chevron-down-circle'
|
|
64
|
+
| 'chevron-left'
|
|
65
|
+
| 'chevron-left-circle'
|
|
66
|
+
| 'chevron-left-large'
|
|
67
|
+
| 'chevron-right'
|
|
68
|
+
| 'chevron-right-circle'
|
|
69
|
+
| 'chevron-right-large'
|
|
70
|
+
| 'chevron-up'
|
|
71
|
+
| 'chevron-up-circle'
|
|
72
|
+
| 'child-issues'
|
|
73
|
+
| 'code'
|
|
74
|
+
| 'comment'
|
|
75
|
+
| 'component'
|
|
76
|
+
| 'copy'
|
|
77
|
+
| 'creditcard'
|
|
78
|
+
| 'creditcard-filled'
|
|
79
|
+
| 'cross'
|
|
80
|
+
| 'cross-circle'
|
|
81
|
+
| 'dashboard'
|
|
82
|
+
| 'decision'
|
|
83
|
+
| 'department'
|
|
84
|
+
| 'detail-view'
|
|
85
|
+
| 'discover'
|
|
86
|
+
| 'discover-filled'
|
|
87
|
+
| 'document'
|
|
88
|
+
| 'document-filled'
|
|
89
|
+
| 'documents'
|
|
90
|
+
| 'download'
|
|
91
|
+
| 'drag-handler'
|
|
92
|
+
| 'dropbox'
|
|
93
|
+
| 'edit'
|
|
94
|
+
| 'edit-filled'
|
|
95
|
+
| 'editor-add'
|
|
96
|
+
| 'editor-addon'
|
|
97
|
+
| 'editor-advanced'
|
|
98
|
+
| 'editor-align-center'
|
|
99
|
+
| 'editor-align-image-center'
|
|
100
|
+
| 'editor-align-image-left'
|
|
101
|
+
| 'editor-align-image-right'
|
|
102
|
+
| 'editor-align-left'
|
|
103
|
+
| 'editor-align-right'
|
|
104
|
+
| 'editor-attachment'
|
|
105
|
+
| 'editor-background-color'
|
|
106
|
+
| 'editor-bold'
|
|
107
|
+
| 'editor-bullet-list'
|
|
108
|
+
| 'editor-close'
|
|
109
|
+
| 'editor-code'
|
|
110
|
+
| 'editor-collapse'
|
|
111
|
+
| 'editor-date'
|
|
112
|
+
| 'editor-decision'
|
|
113
|
+
| 'editor-divider'
|
|
114
|
+
| 'editor-done'
|
|
115
|
+
| 'editor-edit'
|
|
116
|
+
| 'editor-emoji'
|
|
117
|
+
| 'editor-error'
|
|
118
|
+
| 'editor-expand'
|
|
119
|
+
| 'editor-feedback'
|
|
120
|
+
| 'editor-file'
|
|
121
|
+
| 'editor-file-preview'
|
|
122
|
+
| 'editor-help'
|
|
123
|
+
| 'editor-hint'
|
|
124
|
+
| 'editor-horizontal-rule'
|
|
125
|
+
| 'editor-image'
|
|
126
|
+
| 'editor-image-border'
|
|
127
|
+
| 'editor-image-resize'
|
|
128
|
+
| 'editor-indent'
|
|
129
|
+
| 'editor-info'
|
|
130
|
+
| 'editor-italic'
|
|
131
|
+
| 'editor-layout-single'
|
|
132
|
+
| 'editor-layout-three-equal'
|
|
133
|
+
| 'editor-layout-three-with-sidebars'
|
|
134
|
+
| 'editor-layout-two-equal'
|
|
135
|
+
| 'editor-layout-two-left-sidebar'
|
|
136
|
+
| 'editor-layout-two-right-sidebar'
|
|
137
|
+
| 'editor-link'
|
|
138
|
+
| 'editor-media-center'
|
|
139
|
+
| 'editor-media-full-width'
|
|
140
|
+
| 'editor-media-wide'
|
|
141
|
+
| 'editor-media-wrap-left'
|
|
142
|
+
| 'editor-media-wrap-right'
|
|
143
|
+
| 'editor-mention'
|
|
144
|
+
| 'editor-more'
|
|
145
|
+
| 'editor-note'
|
|
146
|
+
| 'editor-number-list'
|
|
147
|
+
| 'editor-open'
|
|
148
|
+
| 'editor-outdent'
|
|
149
|
+
| 'editor-panel'
|
|
150
|
+
| 'editor-photo'
|
|
151
|
+
| 'editor-quote'
|
|
152
|
+
| 'editor-recent'
|
|
153
|
+
| 'editor-redo'
|
|
154
|
+
| 'editor-remove'
|
|
155
|
+
| 'editor-remove-emoji'
|
|
156
|
+
| 'editor-search'
|
|
157
|
+
| 'editor-settings'
|
|
158
|
+
| 'editor-strikethrough'
|
|
159
|
+
| 'editor-success'
|
|
160
|
+
| 'editor-table'
|
|
161
|
+
| 'editor-table-display-options'
|
|
162
|
+
| 'editor-task'
|
|
163
|
+
| 'editor-text-color'
|
|
164
|
+
| 'editor-text-style'
|
|
165
|
+
| 'editor-underline'
|
|
166
|
+
| 'editor-undo'
|
|
167
|
+
| 'editor-unlink'
|
|
168
|
+
| 'editor-warning'
|
|
169
|
+
| 'email'
|
|
170
|
+
| 'emoji'
|
|
171
|
+
| 'emoji-add'
|
|
172
|
+
| 'emoji-activity'
|
|
173
|
+
| 'emoji-atlassian'
|
|
174
|
+
| 'emoji-custom'
|
|
175
|
+
| 'emoji-emoji'
|
|
176
|
+
| 'emoji-flags'
|
|
177
|
+
| 'emoji-food'
|
|
178
|
+
| 'emoji-frequent'
|
|
179
|
+
| 'emoji-keyboard'
|
|
180
|
+
| 'emoji-nature'
|
|
181
|
+
| 'emoji-objects'
|
|
182
|
+
| 'emoji-people'
|
|
183
|
+
| 'emoji-productivity'
|
|
184
|
+
| 'emoji-symbols'
|
|
185
|
+
| 'emoji-travel'
|
|
186
|
+
| 'error'
|
|
187
|
+
| 'export'
|
|
188
|
+
| 'feedback'
|
|
189
|
+
| 'file'
|
|
190
|
+
| 'filter'
|
|
191
|
+
| 'flag-filled'
|
|
192
|
+
| 'folder'
|
|
193
|
+
| 'folder-filled'
|
|
194
|
+
| 'followers'
|
|
195
|
+
| 'following'
|
|
196
|
+
| 'googledrive'
|
|
197
|
+
| 'graph-bar'
|
|
198
|
+
| 'graph-line'
|
|
199
|
+
| 'gsuite'
|
|
200
|
+
| 'highlights'
|
|
201
|
+
| 'hipchat-audio-only'
|
|
202
|
+
| 'hipchat-chevron-double-down'
|
|
203
|
+
| 'hipchat-chevron-double-up'
|
|
204
|
+
| 'hipchat-chevron-down'
|
|
205
|
+
| 'hipchat-chevron-up'
|
|
206
|
+
| 'hipchat-dial-out'
|
|
207
|
+
| 'hipchat-lobby'
|
|
208
|
+
| 'hipchat-media-attachment-count'
|
|
209
|
+
| 'hipchat-outgoing-sound'
|
|
210
|
+
| 'hipchat-sd-video'
|
|
211
|
+
| 'home'
|
|
212
|
+
| 'home-circle'
|
|
213
|
+
| 'image'
|
|
214
|
+
| 'image-border'
|
|
215
|
+
| 'image-resize'
|
|
216
|
+
| 'info'
|
|
217
|
+
| 'invite-team'
|
|
218
|
+
| 'issue'
|
|
219
|
+
| 'issue-raise'
|
|
220
|
+
| 'issues'
|
|
221
|
+
| 'jira-capture'
|
|
222
|
+
| 'jira-failed-build-status'
|
|
223
|
+
| 'jira-labs'
|
|
224
|
+
| 'jira-test-session'
|
|
225
|
+
| 'label'
|
|
226
|
+
| 'lightbulb'
|
|
227
|
+
| 'lightbulb-filled'
|
|
228
|
+
| 'like'
|
|
229
|
+
| 'link'
|
|
230
|
+
| 'link-filled'
|
|
231
|
+
| 'list'
|
|
232
|
+
| 'location'
|
|
233
|
+
| 'lock'
|
|
234
|
+
| 'lock-circle'
|
|
235
|
+
| 'lock-filled'
|
|
236
|
+
| 'marketplace'
|
|
237
|
+
| 'media-services-actual-size'
|
|
238
|
+
| 'media-services-add-comment'
|
|
239
|
+
| 'media-services-annotate'
|
|
240
|
+
| 'media-services-arrow'
|
|
241
|
+
| 'media-services-audio'
|
|
242
|
+
| 'media-services-blur'
|
|
243
|
+
| 'media-services-brush'
|
|
244
|
+
| 'media-services-button-option'
|
|
245
|
+
| 'media-services-code'
|
|
246
|
+
| 'media-services-document'
|
|
247
|
+
| 'media-services-filter'
|
|
248
|
+
| 'media-services-fit-to-page'
|
|
249
|
+
| 'media-services-full-screen'
|
|
250
|
+
| 'media-services-grid'
|
|
251
|
+
| 'media-services-image'
|
|
252
|
+
| 'media-services-line'
|
|
253
|
+
| 'media-services-line-thickness'
|
|
254
|
+
| 'media-services-no-image'
|
|
255
|
+
| 'media-services-open-mediaviewer'
|
|
256
|
+
| 'media-services-oval'
|
|
257
|
+
| 'media-services-pdf'
|
|
258
|
+
| 'media-services-preselected'
|
|
259
|
+
| 'media-services-presentation'
|
|
260
|
+
| 'media-services-rectangle'
|
|
261
|
+
| 'media-services-scale-large'
|
|
262
|
+
| 'media-services-scale-small'
|
|
263
|
+
| 'media-services-spreadsheet'
|
|
264
|
+
| 'media-services-text'
|
|
265
|
+
| 'media-services-unknown'
|
|
266
|
+
| 'media-services-video'
|
|
267
|
+
| 'media-services-zip'
|
|
268
|
+
| 'media-services-zoom-in'
|
|
269
|
+
| 'media-services-zoom-out'
|
|
270
|
+
| 'mention'
|
|
271
|
+
| 'menu'
|
|
272
|
+
| 'menu-expand'
|
|
273
|
+
| 'mobile'
|
|
274
|
+
| 'more'
|
|
275
|
+
| 'more-vertical'
|
|
276
|
+
| 'notification'
|
|
277
|
+
| 'notification-all'
|
|
278
|
+
| 'notification-direct'
|
|
279
|
+
| 'office-building'
|
|
280
|
+
| 'office-building-filled'
|
|
281
|
+
| 'open'
|
|
282
|
+
| 'overview'
|
|
283
|
+
| 'page'
|
|
284
|
+
| 'page-filled'
|
|
285
|
+
| 'pdf'
|
|
286
|
+
| 'people'
|
|
287
|
+
| 'people-group'
|
|
288
|
+
| 'person'
|
|
289
|
+
| 'person-circle'
|
|
290
|
+
| 'person-with-circle'
|
|
291
|
+
| 'person-with-cross'
|
|
292
|
+
| 'person-with-tick'
|
|
293
|
+
| 'portfolio'
|
|
294
|
+
| 'preferences'
|
|
295
|
+
| 'premium'
|
|
296
|
+
| 'presence-active'
|
|
297
|
+
| 'presence-busy'
|
|
298
|
+
| 'presence-unavailable'
|
|
299
|
+
| 'question'
|
|
300
|
+
| 'question-circle'
|
|
301
|
+
| 'questions'
|
|
302
|
+
| 'queues'
|
|
303
|
+
| 'quote'
|
|
304
|
+
| 'radio'
|
|
305
|
+
| 'recent'
|
|
306
|
+
| 'redo'
|
|
307
|
+
| 'refresh'
|
|
308
|
+
| 'retry'
|
|
309
|
+
| 'roadmap'
|
|
310
|
+
| 'room-menu'
|
|
311
|
+
| 'schedule'
|
|
312
|
+
| 'schedule-filled'
|
|
313
|
+
| 'screen'
|
|
314
|
+
| 'search'
|
|
315
|
+
| 'select-clear'
|
|
316
|
+
| 'send'
|
|
317
|
+
| 'settings'
|
|
318
|
+
| 'share'
|
|
319
|
+
| 'ship'
|
|
320
|
+
| 'shortcut'
|
|
321
|
+
| 'sign-in'
|
|
322
|
+
| 'sign-out'
|
|
323
|
+
| 'sprint'
|
|
324
|
+
| 'star'
|
|
325
|
+
| 'star-filled'
|
|
326
|
+
| 'star-large'
|
|
327
|
+
| 'status'
|
|
328
|
+
| 'stopwatch'
|
|
329
|
+
| 'subtask'
|
|
330
|
+
| 'suitcase'
|
|
331
|
+
| 'switcher'
|
|
332
|
+
| 'table'
|
|
333
|
+
| 'task'
|
|
334
|
+
| 'trash'
|
|
335
|
+
| 'tray'
|
|
336
|
+
| 'undo'
|
|
337
|
+
| 'unlink'
|
|
338
|
+
| 'unlock'
|
|
339
|
+
| 'unlock-circle'
|
|
340
|
+
| 'unlock-filled'
|
|
341
|
+
| 'upload'
|
|
342
|
+
| 'user-avatar-circle'
|
|
343
|
+
| 'vid-audio-muted'
|
|
344
|
+
| 'vid-audio-on'
|
|
345
|
+
| 'vid-backward'
|
|
346
|
+
| 'vid-camera-off'
|
|
347
|
+
| 'vid-camera-on'
|
|
348
|
+
| 'vid-connection-circle'
|
|
349
|
+
| 'vid-forward'
|
|
350
|
+
| 'vid-full-screen-off'
|
|
351
|
+
| 'vid-full-screen-on'
|
|
352
|
+
| 'vid-hang-up'
|
|
353
|
+
| 'vid-hd-circle'
|
|
354
|
+
| 'vid-pause'
|
|
355
|
+
| 'vid-play'
|
|
356
|
+
| 'vid-raised-hand'
|
|
357
|
+
| 'vid-share-screen'
|
|
358
|
+
| 'vid-speaking-circle'
|
|
359
|
+
| 'vid-volume-full'
|
|
360
|
+
| 'vid-volume-half'
|
|
361
|
+
| 'vid-volume-muted'
|
|
362
|
+
| 'video-circle'
|
|
363
|
+
| 'video-filled'
|
|
364
|
+
| 'warning'
|
|
365
|
+
| 'watch'
|
|
366
|
+
| 'watch-filled'
|
|
367
|
+
| 'world'
|
|
368
|
+
| 'world-small';
|
|
369
|
+
type IconType = Icon;
|
|
12
370
|
|
|
13
|
-
type PlatformButtonProps = React.ComponentProps<typeof PlatformButton>;
|
|
14
371
|
|
|
15
372
|
export type ButtonProps = Pick<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
373
|
+
PlatformButtonProps,
|
|
374
|
+
'children' | 'autoFocus' | 'isDisabled' | 'isSelected' | 'onBlur' | 'onClick' | 'onFocus' | 'spacing' | 'testId' | 'shouldFitContainer' | 'appearance' | 'type'
|
|
375
|
+
> & { iconBefore?: IconType, iconAfter?: IconType };
|