@atlaskit/forge-react-types 0.42.3 → 0.42.5

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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/forge-react-types
2
2
 
3
+ ## 0.42.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#181844](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/181844)
8
+ [`96c8f11408c6e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/96c8f11408c6e) -
9
+ Remove @atlaskit/renderer dependency from @atlaskit/forge-react-types
10
+ - Updated dependencies
11
+
12
+ ## 0.42.4
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
3
18
  ## 0.42.3
4
19
 
5
20
  ### Patch Changes
@@ -8,9 +8,9 @@ Object.defineProperty(exports, "__esModule", {
8
8
  *
9
9
  * Extract component prop types from UIKit 2 components - PressableProps
10
10
  *
11
- * @codegen <<SignedSource::515984e69408f30f333241c0b51ceb31>>
11
+ * @codegen <<SignedSource::5372ef8608441a2d8f71e99a6fd0a36e>>
12
12
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
13
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/pressable/__generated__/index.partial.tsx <<SignedSource::a7f457ec091071415e904b705d62f605>>
13
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/pressable/__generated__/index.partial.tsx <<SignedSource::b297593f4c38160fa0272fb43fcaa19c>>
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 - PressableProps
5
5
  *
6
- * @codegen <<SignedSource::515984e69408f30f333241c0b51ceb31>>
6
+ * @codegen <<SignedSource::5372ef8608441a2d8f71e99a6fd0a36e>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/pressable/__generated__/index.partial.tsx <<SignedSource::a7f457ec091071415e904b705d62f605>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/pressable/__generated__/index.partial.tsx <<SignedSource::b297593f4c38160fa0272fb43fcaa19c>>
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 - PressableProps
5
5
  *
6
- * @codegen <<SignedSource::515984e69408f30f333241c0b51ceb31>>
6
+ * @codegen <<SignedSource::5372ef8608441a2d8f71e99a6fd0a36e>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/pressable/__generated__/index.partial.tsx <<SignedSource::a7f457ec091071415e904b705d62f605>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/pressable/__generated__/index.partial.tsx <<SignedSource::b297593f4c38160fa0272fb43fcaa19c>>
9
9
  */
10
10
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage/preview */
11
11
 
@@ -3,20 +3,19 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - AdfRendererProps
5
5
  *
6
- * @codegen <<SignedSource::4e44b65ce16ded81aeeb086d4abf54c9>>
6
+ * @codegen <<SignedSource::40da0a9685347169dc754cca2d5a3fd4>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/adfrenderer/index.tsx <<SignedSource::38be261305900c390921675abcf4c90c>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/adfrenderer/index.tsx <<SignedSource::c45edd7c2018b7b260630f851183f623>>
9
9
  */
10
- import { type RendererProps } from '@atlaskit/renderer';
11
10
  import type { DocNode } from '@atlaskit/adf-schema';
12
- export type AdfRendererProps = RendererProps & {
11
+ export type AdfRendererProps = {
13
12
  /**
14
13
  * An ADF document to render
15
14
  *
16
15
  * @type [DocNode](https://developer.atlassian.com/cloud/jira/platform/apis/document/nodes/doc/)
17
16
  */
18
17
  document: DocNode;
19
- documentWithoutMedia?: RendererProps['document'];
18
+ documentWithoutMedia?: DocNode;
20
19
  /**
21
20
  * A function to determine behaviour for handling unsupported nodes:
22
21
  * - Return a new Node to replace the unsupported one
@@ -3,17 +3,19 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - IconProps
5
5
  *
6
- * @codegen <<SignedSource::40d5e815277b3ce91da33d74742659fc>>
6
+ * @codegen <<SignedSource::77876beafd61427f009d983cb3b8122c>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/icon/index.tsx <<SignedSource::54a87ae131386a26a52d09234f67aa98>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/icon/index.tsx <<SignedSource::1a39bcc2f23c9d9da235781c26aee813>>
9
9
  */
10
10
  import type { ActiveTokens } from '@atlaskit/tokens';
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';
12
- type Glyph = Icon;
13
- export type IconColor = Extract<ActiveTokens, `color.icon.${string}`> | 'color.icon';
11
+ export type IconNext = 'add' | 'app-switcher' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'attachment' | 'audio' | 'backlog' | 'board' | 'calendar' | 'camera' | 'checkbox-indeterminate' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'child-issues' | 'comment' | 'component' | 'copy' | 'cross-circle' | 'dashboard' | 'decision' | 'department' | 'download' | 'edit' | 'email' | 'emoji-add' | 'emoji' | 'error' | 'feedback' | 'file' | 'filter' | 'flag-filled' | 'home' | 'image' | 'issue' | 'issues' | 'lightbulb' | 'link' | 'location' | 'marketplace' | 'menu' | 'notification' | 'office-building' | 'page' | 'people-group' | 'person' | 'premium' | 'question-circle' | 'redo' | 'refresh' | 'retry' | 'roadmap' | 'screen' | 'search' | 'send' | 'settings' | 'share' | 'sprint' | 'stopwatch' | 'task' | 'teams' | 'undo' | 'warning' | 'accessibility' | 'ai-agent' | 'ai-chat' | 'ai-generative-text-summary' | 'alert' | 'align-center' | 'align-image-center' | 'align-image-left' | 'align-image-right' | 'align-left' | 'align-right' | 'align-text-center' | 'align-text-left' | 'align-text-right' | 'angle-brackets' | 'api' | 'app' | 'app-switcher-legacy' | 'apps' | 'archive-box' | 'arrow-down-left' | 'arrow-down-right' | 'arrow-up-left' | 'arrow-up-right' | 'assets' | 'atlassian-intelligence' | 'automation' | 'basketball' | 'boards' | 'book-with-bookmark' | 'border' | 'border-weight-medium' | 'border-weight-thick' | 'border-weight-thin' | 'branch' | 'briefcase' | 'bug' | 'calendar-plus' | 'capture' | 'card' | 'cash' | 'changes' | 'chart-bar' | 'chart-matrix' | 'chart-pie' | 'chart-trend' | 'chat-widget' | 'check-mark' | 'checkbox-checked' | 'checkbox-unchecked' | 'chevron-double-left' | 'chevron-double-right' | 'child-work-items' | 'clipboard' | 'clock' | 'close' | 'cloud-arrow-up' | 'collapse-horizontal' | 'collapse-vertical' | 'comment-add' | 'commit' | 'compass' | 'content-align-center' | 'content-align-left' | 'content-align-right' | 'content-width-narrow' | 'content-width-wide' | 'content-wrap-left' | 'content-wrap-right' | 'credit-card' | 'curly-brackets' | 'customize' | 'data-flow' | 'data-number' | 'data-string' | 'database' | 'defect' | 'delete' | 'device-mobile' | 'devices' | 'discovery' | 'drag-handle' | 'drag-handle-horizontal' | 'drag-handle-vertical' | 'drawer-left' | 'drawer-right' | 'edit-bulk' | 'emoji-casual' | 'emoji-neutral' | 'emoji-remove' | 'epic' | 'exclamation-square' | 'expand-horizontal' | 'expand-vertical' | 'eye-open' | 'eye-open-filled' | 'eye-open-strikethrough' | 'feed' | 'field' | 'field-alert' | 'field-checkbox-group' | 'field-dropdown' | 'field-radio-group' | 'files' | 'flag' | 'flask' | 'folder-closed' | 'folder-open' | 'form' | 'fullscreen-enter' | 'fullscreen-exit' | 'glasses' | 'globe' | 'goal' | 'grid' | 'grow-diagonal' | 'grow-horizontal' | 'grow-vertical' | 'hashtag' | 'headphones' | 'heart' | 'highlight' | 'image-fullscreen' | 'image-inline' | 'image-scaled' | 'inbox' | 'incident' | 'information' | 'information-circle' | 'key-result' | 'layout-one-column' | 'layout-three-columns' | 'layout-three-columns-sidebars' | 'layout-two-columns' | 'layout-two-columns-sidebar-left' | 'layout-two-columns-sidebar-right' | 'library' | 'link-broken' | 'link-external' | 'list-bulleted' | 'list-checklist' | 'list-numbered' | 'lobby-bell' | 'lock-locked' | 'lock-unlocked' | 'log-in' | 'log-out' | 'magic-wand' | 'markdown' | 'maximize' | 'megaphone' | 'merge-failure' | 'merge-success' | 'microphone' | 'minimize' | 'minus' | 'minus-square' | 'node' | 'note' | 'notification-muted' | 'objective' | 'on-call' | 'operations' | 'pages' | 'paint-bucket' | 'paint-palette' | 'pen' | 'person-add' | 'person-added' | 'person-avatar' | 'person-offboard' | 'person-remove' | 'person-warning' | 'phone' | 'pin' | 'pin-filled' | 'plus-square' | 'power-plug' | 'presenter-mode' | 'printer' | 'priority-blocker' | 'priority-critical' | 'priority-high' | 'priority-highest' | 'priority-low' | 'priority-lowest' | 'priority-major' | 'priority-medium' | 'priority-minor' | 'priority-trivial' | 'problem' | 'project' | 'project-status' | 'projection-screen' | 'pull-request' | 'pulse' | 'quotation-mark' | 'radio-checked' | 'radio-unchecked' | 'release' | 'scales' | 'scorecard' | 'screen-plus' | 'shapes' | 'shield' | 'shield-strikethrough' | 'show-more-horizontal' | 'show-more-vertical' | 'shrink-diagonal' | 'shrink-horizontal' | 'shrink-vertical' | 'sidebar-collapse' | 'sidebar-expand' | 'sidebar-left' | 'sidebar-right' | 'smart-link' | 'smart-link-card' | 'smart-link-embed' | 'smart-link-inline' | 'smart-link-list' | 'snippet' | 'sort-ascending' | 'sort-descending' | 'spreadsheet' | 'star-starred' | 'star-unstarred' | 'status-verified' | 'story' | 'stroke-weight-extra-large' | 'stroke-weight-large' | 'stroke-weight-medium' | 'stroke-weight-small' | 'subtasks' | 'success' | 'summarize' | 'support' | 'table-cell-clear' | 'table-cell-merge' | 'table-cell-split' | 'table-column-add-left' | 'table-column-add-right' | 'table-column-delete' | 'table-column-move-left' | 'table-column-move-right' | 'table-columns-distribute' | 'table-row-add-above' | 'table-row-add-below' | 'table-row-delete' | 'table-row-move-down' | 'table-row-move-up' | 'tag' | 'takeout-food' | 'target' | 'task-in-progress' | 'task-to-do' | 'tasks' | 'text' | 'text-bold' | 'text-heading' | 'text-indent-left' | 'text-indent-right' | 'text-italic' | 'text-shorten' | 'text-spellcheck' | 'text-strikethrough' | 'text-style' | 'text-underline' | 'text-wrap' | 'theme' | 'thumbs-down' | 'thumbs-up' | 'timeline' | 'tools' | 'transition' | 'translate' | 'tree' | 'vehicle-car' | 'video' | 'video-next' | 'video-next-overlay' | 'video-pause' | 'video-pause-overlay' | 'video-play' | 'video-play-overlay' | 'video-previous' | 'video-previous-overlay' | 'video-skip-backward-fifteen' | 'video-skip-backward-ten' | 'video-skip-forward-fifteen' | 'video-skip-forward-ten' | 'video-stop' | 'video-stop-overlay' | 'volume-high' | 'volume-low' | 'volume-muted' | 'whiteboard' | 'work-item' | 'work-items' | 'zoom-in' | 'zoom-out' | 'utility/add' | 'utility/arrow-down' | 'utility/arrow-left' | 'utility/arrow-right' | 'utility/arrow-up' | 'utility/check-circle' | 'utility/check-mark' | 'utility/chevron-double-left' | 'utility/chevron-double-right' | 'utility/chevron-down' | 'utility/chevron-left' | 'utility/chevron-right' | 'utility/chevron-up' | 'utility/cross' | 'utility/cross-circle' | 'utility/drag-handle' | 'utility/drag-handle-horizontal' | 'utility/drag-handle-vertical' | 'utility/error' | 'utility/information' | 'utility/link-external' | 'utility/lock-locked' | 'utility/lock-unlocked' | 'utility/show-more-horizontal' | 'utility/show-more-vertical' | 'utility/star-starred' | 'utility/star-unstarred' | 'utility/success' | 'utility/warning';
12
+ export type IconRemoved = 'billing-filled' | 'billing' | 'bitbucket-builds' | 'bitbucket-clone' | 'bitbucket-compare' | 'bitbucket-forks' | 'bitbucket-output' | 'bitbucket-pipelines' | 'camera-rotate' | 'camera-take-picture' | 'canvas' | 'hipchat-chevron-double-down' | 'hipchat-chevron-double-up' | 'dropbox' | 'editor-addon' | 'editor-advanced' | 'editor-file-preview' | 'editor-image-border' | 'editor-remove-emoji' | 'editor-strikethrough' | 'editor-table-display-options' | 'editor-text-color' | 'editor-underline' | 'emoji-atlassian' | 'folder-filled' | 'following' | 'googledrive' | 'gsuite' | 'highlights' | 'image-border' | 'jira-failed-build-status' | 'list' | 'hipchat-media-attachment-count' | 'media-services-annotate' | 'media-services-arrow' | 'media-services-blur' | 'media-services-brush' | 'media-services-button-option' | 'media-services-line-thickness' | 'media-services-no-image' | 'media-services-open-mediaviewer' | 'media-services-oval' | 'media-services-pdf' | 'media-services-rectangle' | 'media-services-text' | 'media-services-unknown' | 'media-services-zip' | 'mention' | 'notification-all' | 'pdf' | 'person-with-circle' | 'person-with-cross' | 'portfolio' | 'presence-active' | 'presence-busy' | 'presence-unavailable' | 'status' | 'vid-audio-muted' | 'vid-backward' | 'vid-camera-off' | 'vid-connection-circle' | 'vid-forward' | 'vid-hang-up' | 'vid-hd-circle' | 'vid-raised-hand' | 'vid-share-screen' | 'vid-speaking-circle';
13
+ export type IconReplaced = 'activity' | 'add-circle' | 'add-item' | 'addon' | 'editor-align-center' | 'editor-align-left' | 'editor-align-right' | 'app-access' | 'archive' | 'arrow-down-circle' | 'arrow-left-circle' | 'arrow-right-circle' | 'arrow-up-circle' | 'audio-circle' | 'hipchat-audio-only' | 'bitbucket-branches' | 'bitbucket-commits' | 'bitbucket-pullrequests' | 'bitbucket-repos' | 'bitbucket-snippets' | 'bitbucket-source' | 'book' | 'bullet-list' | 'calendar-filled' | 'camera-filled' | 'checkbox' | 'check-circle' | 'check-circle-outline' | 'check' | 'chevron-down-circle' | 'hipchat-chevron-down' | 'chevron-left-circle' | 'chevron-left-large' | 'chevron-right-circle' | 'chevron-right-large' | 'chevron-up-circle' | 'hipchat-chevron-up' | 'code' | 'creditcard-filled' | 'creditcard' | 'cross' | 'detail-view' | 'hipchat-dial-out' | 'discover-filled' | 'discover' | 'document-filled' | 'document' | 'documents' | 'drag-handler' | 'edit-filled' | 'editor-add' | 'editor-align-image-center' | 'editor-align-image-left' | 'editor-align-image-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-help' | 'editor-hint' | 'editor-horizontal-rule' | 'editor-image' | '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-search' | 'editor-settings' | 'editor-success' | 'editor-table' | 'editor-task' | 'editor-text-style' | 'editor-undo' | 'editor-unlink' | 'editor-warning' | 'emoji-activity' | 'emoji-custom' | 'emoji-emoji' | 'emoji-flags' | 'emoji-food' | 'emoji-frequent' | 'emoji-keyboard' | 'emoji-nature' | 'emoji-objects' | 'emoji-people' | 'emoji-productivity' | 'emoji-symbols' | 'emoji-travel' | 'export' | 'folder' | 'followers' | 'graph-bar' | 'graph-line' | 'home-circle' | 'image-resize' | 'info' | 'invite-team' | 'issue-raise' | 'jira-capture' | 'jira-labs' | 'jira-test-session' | 'label' | 'lightbulb-filled' | 'like' | 'link-filled' | 'hipchat-lobby' | 'lock-circle' | 'lock-filled' | 'lock' | 'media-services-actual-size' | 'media-services-add-comment' | 'media-services-audio' | '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-preselected' | 'media-services-presentation' | 'media-services-scale-large' | 'media-services-scale-small' | 'media-services-spreadsheet' | 'media-services-video' | 'media-services-zoom-in' | 'media-services-zoom-out' | 'menu-expand' | 'mobile' | 'more' | 'more-vertical' | 'notification-direct' | 'office-building-filled' | 'open' | 'hipchat-outgoing-sound' | 'overview' | 'page-filled' | 'people' | 'person-circle' | 'person-with-tick' | 'preferences' | 'question' | 'questions' | 'queues' | 'quote' | 'radio' | 'recent' | 'room-menu' | 'schedule-filled' | 'schedule' | 'hipchat-sd-video' | 'select-clear' | 'ship' | 'shortcut' | 'sign-in' | 'sign-out' | 'star-filled' | 'star' | 'star-large' | 'subtask' | 'suitcase' | 'switcher' | 'table' | 'trash' | 'tray' | 'unlink' | 'unlock-circle' | 'unlock-filled' | 'unlock' | 'upload' | 'user-avatar-circle' | 'vid-audio-on' | 'vid-camera-on' | 'video-circle' | 'video-filled' | 'vid-full-screen-off' | 'vid-full-screen-on' | 'vid-pause' | 'vid-play' | 'vid-volume-full' | 'vid-volume-half' | 'vid-volume-muted' | 'watch-filled' | 'watch' | 'world' | 'world-small';
14
+ type Glyph = IconNext | IconRemoved | IconReplaced;
15
+ export type IconColor = Extract<ActiveTokens, `color.${string}`>;
14
16
  export interface IconProps {
15
17
  /**
16
- * There are three icon sizes `small` (16px), `medium` (24px), `large` (32px), and `xlarge` (48px).
18
+ * There are three icon sizes: `small` (16px), `medium` (24px), and `large` (32px). However "large" is now deprecated and will be removed on the 22nd of December 2025.
17
19
  * This pixel size refers to the canvas the icon sits on, not the size of the icon shape itself.
18
20
  */
19
21
  size?: 'small' | 'medium' | 'large';
@@ -26,12 +28,14 @@ export interface IconProps {
26
28
  * Name of the icon to be rendered.
27
29
  */
28
30
  glyph: Glyph;
31
+ color?: IconColor;
29
32
  /**
30
- * Primary color for the icon. Inherits the current font color by default.
33
+ * @deprecated the "primaryColor" prop is deprecated and will be removed on the 22nd of December 2025. Please use the "color" prop instead. For more information, visit: https://developer.atlassian.com/platform/forge/ui-kit/components/icon/.
31
34
  */
32
35
  primaryColor?: IconColor;
33
36
  /**
34
37
  * Secondary color for the icon. Defaults to the page background for an icon that supports two colors.
38
+ * @deprecated the "secondaryColor" prop is deprecated and will be removed on the 22nd of December 2025. Please refactor your code to avoid using this prop.
35
39
  */
36
40
  secondaryColor?: IconColor;
37
41
  }
@@ -3,16 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - PressableProps
5
5
  *
6
- * @codegen <<SignedSource::515984e69408f30f333241c0b51ceb31>>
6
+ * @codegen <<SignedSource::5372ef8608441a2d8f71e99a6fd0a36e>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/pressable/__generated__/index.partial.tsx <<SignedSource::a7f457ec091071415e904b705d62f605>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/pressable/__generated__/index.partial.tsx <<SignedSource::b297593f4c38160fa0272fb43fcaa19c>>
9
9
  */
10
10
  import React from 'react';
11
11
  import { Pressable as PlatformPressable } from '@atlaskit/primitives';
12
- import type { CSSProperties } from '@emotion/serialize';
13
12
  import type * as CSS from 'csstype';
14
13
  import type { MediaQuery } from '@atlaskit/primitives';
15
14
  import { tokensMap } from '@atlaskit/primitives';
15
+ type CSSProperties = CSS.PropertiesFallback<number | string>;
16
16
  type TokensMap = typeof tokensMap;
17
17
  type TokensMapPropKey = keyof TokensMap;
18
18
  type TokenizedProps = {
@@ -3,20 +3,19 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - AdfRendererProps
5
5
  *
6
- * @codegen <<SignedSource::4e44b65ce16ded81aeeb086d4abf54c9>>
6
+ * @codegen <<SignedSource::40da0a9685347169dc754cca2d5a3fd4>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/adfrenderer/index.tsx <<SignedSource::38be261305900c390921675abcf4c90c>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/adfrenderer/index.tsx <<SignedSource::c45edd7c2018b7b260630f851183f623>>
9
9
  */
10
- import { type RendererProps } from '@atlaskit/renderer';
11
10
  import type { DocNode } from '@atlaskit/adf-schema';
12
- export type AdfRendererProps = RendererProps & {
11
+ export type AdfRendererProps = {
13
12
  /**
14
13
  * An ADF document to render
15
14
  *
16
15
  * @type [DocNode](https://developer.atlassian.com/cloud/jira/platform/apis/document/nodes/doc/)
17
16
  */
18
17
  document: DocNode;
19
- documentWithoutMedia?: RendererProps['document'];
18
+ documentWithoutMedia?: DocNode;
20
19
  /**
21
20
  * A function to determine behaviour for handling unsupported nodes:
22
21
  * - Return a new Node to replace the unsupported one
@@ -3,17 +3,19 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - IconProps
5
5
  *
6
- * @codegen <<SignedSource::40d5e815277b3ce91da33d74742659fc>>
6
+ * @codegen <<SignedSource::77876beafd61427f009d983cb3b8122c>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/icon/index.tsx <<SignedSource::54a87ae131386a26a52d09234f67aa98>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/icon/index.tsx <<SignedSource::1a39bcc2f23c9d9da235781c26aee813>>
9
9
  */
10
10
  import type { ActiveTokens } from '@atlaskit/tokens';
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';
12
- type Glyph = Icon;
13
- export type IconColor = Extract<ActiveTokens, `color.icon.${string}`> | 'color.icon';
11
+ export type IconNext = 'add' | 'app-switcher' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'attachment' | 'audio' | 'backlog' | 'board' | 'calendar' | 'camera' | 'checkbox-indeterminate' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'child-issues' | 'comment' | 'component' | 'copy' | 'cross-circle' | 'dashboard' | 'decision' | 'department' | 'download' | 'edit' | 'email' | 'emoji-add' | 'emoji' | 'error' | 'feedback' | 'file' | 'filter' | 'flag-filled' | 'home' | 'image' | 'issue' | 'issues' | 'lightbulb' | 'link' | 'location' | 'marketplace' | 'menu' | 'notification' | 'office-building' | 'page' | 'people-group' | 'person' | 'premium' | 'question-circle' | 'redo' | 'refresh' | 'retry' | 'roadmap' | 'screen' | 'search' | 'send' | 'settings' | 'share' | 'sprint' | 'stopwatch' | 'task' | 'teams' | 'undo' | 'warning' | 'accessibility' | 'ai-agent' | 'ai-chat' | 'ai-generative-text-summary' | 'alert' | 'align-center' | 'align-image-center' | 'align-image-left' | 'align-image-right' | 'align-left' | 'align-right' | 'align-text-center' | 'align-text-left' | 'align-text-right' | 'angle-brackets' | 'api' | 'app' | 'app-switcher-legacy' | 'apps' | 'archive-box' | 'arrow-down-left' | 'arrow-down-right' | 'arrow-up-left' | 'arrow-up-right' | 'assets' | 'atlassian-intelligence' | 'automation' | 'basketball' | 'boards' | 'book-with-bookmark' | 'border' | 'border-weight-medium' | 'border-weight-thick' | 'border-weight-thin' | 'branch' | 'briefcase' | 'bug' | 'calendar-plus' | 'capture' | 'card' | 'cash' | 'changes' | 'chart-bar' | 'chart-matrix' | 'chart-pie' | 'chart-trend' | 'chat-widget' | 'check-mark' | 'checkbox-checked' | 'checkbox-unchecked' | 'chevron-double-left' | 'chevron-double-right' | 'child-work-items' | 'clipboard' | 'clock' | 'close' | 'cloud-arrow-up' | 'collapse-horizontal' | 'collapse-vertical' | 'comment-add' | 'commit' | 'compass' | 'content-align-center' | 'content-align-left' | 'content-align-right' | 'content-width-narrow' | 'content-width-wide' | 'content-wrap-left' | 'content-wrap-right' | 'credit-card' | 'curly-brackets' | 'customize' | 'data-flow' | 'data-number' | 'data-string' | 'database' | 'defect' | 'delete' | 'device-mobile' | 'devices' | 'discovery' | 'drag-handle' | 'drag-handle-horizontal' | 'drag-handle-vertical' | 'drawer-left' | 'drawer-right' | 'edit-bulk' | 'emoji-casual' | 'emoji-neutral' | 'emoji-remove' | 'epic' | 'exclamation-square' | 'expand-horizontal' | 'expand-vertical' | 'eye-open' | 'eye-open-filled' | 'eye-open-strikethrough' | 'feed' | 'field' | 'field-alert' | 'field-checkbox-group' | 'field-dropdown' | 'field-radio-group' | 'files' | 'flag' | 'flask' | 'folder-closed' | 'folder-open' | 'form' | 'fullscreen-enter' | 'fullscreen-exit' | 'glasses' | 'globe' | 'goal' | 'grid' | 'grow-diagonal' | 'grow-horizontal' | 'grow-vertical' | 'hashtag' | 'headphones' | 'heart' | 'highlight' | 'image-fullscreen' | 'image-inline' | 'image-scaled' | 'inbox' | 'incident' | 'information' | 'information-circle' | 'key-result' | 'layout-one-column' | 'layout-three-columns' | 'layout-three-columns-sidebars' | 'layout-two-columns' | 'layout-two-columns-sidebar-left' | 'layout-two-columns-sidebar-right' | 'library' | 'link-broken' | 'link-external' | 'list-bulleted' | 'list-checklist' | 'list-numbered' | 'lobby-bell' | 'lock-locked' | 'lock-unlocked' | 'log-in' | 'log-out' | 'magic-wand' | 'markdown' | 'maximize' | 'megaphone' | 'merge-failure' | 'merge-success' | 'microphone' | 'minimize' | 'minus' | 'minus-square' | 'node' | 'note' | 'notification-muted' | 'objective' | 'on-call' | 'operations' | 'pages' | 'paint-bucket' | 'paint-palette' | 'pen' | 'person-add' | 'person-added' | 'person-avatar' | 'person-offboard' | 'person-remove' | 'person-warning' | 'phone' | 'pin' | 'pin-filled' | 'plus-square' | 'power-plug' | 'presenter-mode' | 'printer' | 'priority-blocker' | 'priority-critical' | 'priority-high' | 'priority-highest' | 'priority-low' | 'priority-lowest' | 'priority-major' | 'priority-medium' | 'priority-minor' | 'priority-trivial' | 'problem' | 'project' | 'project-status' | 'projection-screen' | 'pull-request' | 'pulse' | 'quotation-mark' | 'radio-checked' | 'radio-unchecked' | 'release' | 'scales' | 'scorecard' | 'screen-plus' | 'shapes' | 'shield' | 'shield-strikethrough' | 'show-more-horizontal' | 'show-more-vertical' | 'shrink-diagonal' | 'shrink-horizontal' | 'shrink-vertical' | 'sidebar-collapse' | 'sidebar-expand' | 'sidebar-left' | 'sidebar-right' | 'smart-link' | 'smart-link-card' | 'smart-link-embed' | 'smart-link-inline' | 'smart-link-list' | 'snippet' | 'sort-ascending' | 'sort-descending' | 'spreadsheet' | 'star-starred' | 'star-unstarred' | 'status-verified' | 'story' | 'stroke-weight-extra-large' | 'stroke-weight-large' | 'stroke-weight-medium' | 'stroke-weight-small' | 'subtasks' | 'success' | 'summarize' | 'support' | 'table-cell-clear' | 'table-cell-merge' | 'table-cell-split' | 'table-column-add-left' | 'table-column-add-right' | 'table-column-delete' | 'table-column-move-left' | 'table-column-move-right' | 'table-columns-distribute' | 'table-row-add-above' | 'table-row-add-below' | 'table-row-delete' | 'table-row-move-down' | 'table-row-move-up' | 'tag' | 'takeout-food' | 'target' | 'task-in-progress' | 'task-to-do' | 'tasks' | 'text' | 'text-bold' | 'text-heading' | 'text-indent-left' | 'text-indent-right' | 'text-italic' | 'text-shorten' | 'text-spellcheck' | 'text-strikethrough' | 'text-style' | 'text-underline' | 'text-wrap' | 'theme' | 'thumbs-down' | 'thumbs-up' | 'timeline' | 'tools' | 'transition' | 'translate' | 'tree' | 'vehicle-car' | 'video' | 'video-next' | 'video-next-overlay' | 'video-pause' | 'video-pause-overlay' | 'video-play' | 'video-play-overlay' | 'video-previous' | 'video-previous-overlay' | 'video-skip-backward-fifteen' | 'video-skip-backward-ten' | 'video-skip-forward-fifteen' | 'video-skip-forward-ten' | 'video-stop' | 'video-stop-overlay' | 'volume-high' | 'volume-low' | 'volume-muted' | 'whiteboard' | 'work-item' | 'work-items' | 'zoom-in' | 'zoom-out' | 'utility/add' | 'utility/arrow-down' | 'utility/arrow-left' | 'utility/arrow-right' | 'utility/arrow-up' | 'utility/check-circle' | 'utility/check-mark' | 'utility/chevron-double-left' | 'utility/chevron-double-right' | 'utility/chevron-down' | 'utility/chevron-left' | 'utility/chevron-right' | 'utility/chevron-up' | 'utility/cross' | 'utility/cross-circle' | 'utility/drag-handle' | 'utility/drag-handle-horizontal' | 'utility/drag-handle-vertical' | 'utility/error' | 'utility/information' | 'utility/link-external' | 'utility/lock-locked' | 'utility/lock-unlocked' | 'utility/show-more-horizontal' | 'utility/show-more-vertical' | 'utility/star-starred' | 'utility/star-unstarred' | 'utility/success' | 'utility/warning';
12
+ export type IconRemoved = 'billing-filled' | 'billing' | 'bitbucket-builds' | 'bitbucket-clone' | 'bitbucket-compare' | 'bitbucket-forks' | 'bitbucket-output' | 'bitbucket-pipelines' | 'camera-rotate' | 'camera-take-picture' | 'canvas' | 'hipchat-chevron-double-down' | 'hipchat-chevron-double-up' | 'dropbox' | 'editor-addon' | 'editor-advanced' | 'editor-file-preview' | 'editor-image-border' | 'editor-remove-emoji' | 'editor-strikethrough' | 'editor-table-display-options' | 'editor-text-color' | 'editor-underline' | 'emoji-atlassian' | 'folder-filled' | 'following' | 'googledrive' | 'gsuite' | 'highlights' | 'image-border' | 'jira-failed-build-status' | 'list' | 'hipchat-media-attachment-count' | 'media-services-annotate' | 'media-services-arrow' | 'media-services-blur' | 'media-services-brush' | 'media-services-button-option' | 'media-services-line-thickness' | 'media-services-no-image' | 'media-services-open-mediaviewer' | 'media-services-oval' | 'media-services-pdf' | 'media-services-rectangle' | 'media-services-text' | 'media-services-unknown' | 'media-services-zip' | 'mention' | 'notification-all' | 'pdf' | 'person-with-circle' | 'person-with-cross' | 'portfolio' | 'presence-active' | 'presence-busy' | 'presence-unavailable' | 'status' | 'vid-audio-muted' | 'vid-backward' | 'vid-camera-off' | 'vid-connection-circle' | 'vid-forward' | 'vid-hang-up' | 'vid-hd-circle' | 'vid-raised-hand' | 'vid-share-screen' | 'vid-speaking-circle';
13
+ export type IconReplaced = 'activity' | 'add-circle' | 'add-item' | 'addon' | 'editor-align-center' | 'editor-align-left' | 'editor-align-right' | 'app-access' | 'archive' | 'arrow-down-circle' | 'arrow-left-circle' | 'arrow-right-circle' | 'arrow-up-circle' | 'audio-circle' | 'hipchat-audio-only' | 'bitbucket-branches' | 'bitbucket-commits' | 'bitbucket-pullrequests' | 'bitbucket-repos' | 'bitbucket-snippets' | 'bitbucket-source' | 'book' | 'bullet-list' | 'calendar-filled' | 'camera-filled' | 'checkbox' | 'check-circle' | 'check-circle-outline' | 'check' | 'chevron-down-circle' | 'hipchat-chevron-down' | 'chevron-left-circle' | 'chevron-left-large' | 'chevron-right-circle' | 'chevron-right-large' | 'chevron-up-circle' | 'hipchat-chevron-up' | 'code' | 'creditcard-filled' | 'creditcard' | 'cross' | 'detail-view' | 'hipchat-dial-out' | 'discover-filled' | 'discover' | 'document-filled' | 'document' | 'documents' | 'drag-handler' | 'edit-filled' | 'editor-add' | 'editor-align-image-center' | 'editor-align-image-left' | 'editor-align-image-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-help' | 'editor-hint' | 'editor-horizontal-rule' | 'editor-image' | '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-search' | 'editor-settings' | 'editor-success' | 'editor-table' | 'editor-task' | 'editor-text-style' | 'editor-undo' | 'editor-unlink' | 'editor-warning' | 'emoji-activity' | 'emoji-custom' | 'emoji-emoji' | 'emoji-flags' | 'emoji-food' | 'emoji-frequent' | 'emoji-keyboard' | 'emoji-nature' | 'emoji-objects' | 'emoji-people' | 'emoji-productivity' | 'emoji-symbols' | 'emoji-travel' | 'export' | 'folder' | 'followers' | 'graph-bar' | 'graph-line' | 'home-circle' | 'image-resize' | 'info' | 'invite-team' | 'issue-raise' | 'jira-capture' | 'jira-labs' | 'jira-test-session' | 'label' | 'lightbulb-filled' | 'like' | 'link-filled' | 'hipchat-lobby' | 'lock-circle' | 'lock-filled' | 'lock' | 'media-services-actual-size' | 'media-services-add-comment' | 'media-services-audio' | '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-preselected' | 'media-services-presentation' | 'media-services-scale-large' | 'media-services-scale-small' | 'media-services-spreadsheet' | 'media-services-video' | 'media-services-zoom-in' | 'media-services-zoom-out' | 'menu-expand' | 'mobile' | 'more' | 'more-vertical' | 'notification-direct' | 'office-building-filled' | 'open' | 'hipchat-outgoing-sound' | 'overview' | 'page-filled' | 'people' | 'person-circle' | 'person-with-tick' | 'preferences' | 'question' | 'questions' | 'queues' | 'quote' | 'radio' | 'recent' | 'room-menu' | 'schedule-filled' | 'schedule' | 'hipchat-sd-video' | 'select-clear' | 'ship' | 'shortcut' | 'sign-in' | 'sign-out' | 'star-filled' | 'star' | 'star-large' | 'subtask' | 'suitcase' | 'switcher' | 'table' | 'trash' | 'tray' | 'unlink' | 'unlock-circle' | 'unlock-filled' | 'unlock' | 'upload' | 'user-avatar-circle' | 'vid-audio-on' | 'vid-camera-on' | 'video-circle' | 'video-filled' | 'vid-full-screen-off' | 'vid-full-screen-on' | 'vid-pause' | 'vid-play' | 'vid-volume-full' | 'vid-volume-half' | 'vid-volume-muted' | 'watch-filled' | 'watch' | 'world' | 'world-small';
14
+ type Glyph = IconNext | IconRemoved | IconReplaced;
15
+ export type IconColor = Extract<ActiveTokens, `color.${string}`>;
14
16
  export interface IconProps {
15
17
  /**
16
- * There are three icon sizes `small` (16px), `medium` (24px), `large` (32px), and `xlarge` (48px).
18
+ * There are three icon sizes: `small` (16px), `medium` (24px), and `large` (32px). However "large" is now deprecated and will be removed on the 22nd of December 2025.
17
19
  * This pixel size refers to the canvas the icon sits on, not the size of the icon shape itself.
18
20
  */
19
21
  size?: 'small' | 'medium' | 'large';
@@ -26,12 +28,14 @@ export interface IconProps {
26
28
  * Name of the icon to be rendered.
27
29
  */
28
30
  glyph: Glyph;
31
+ color?: IconColor;
29
32
  /**
30
- * Primary color for the icon. Inherits the current font color by default.
33
+ * @deprecated the "primaryColor" prop is deprecated and will be removed on the 22nd of December 2025. Please use the "color" prop instead. For more information, visit: https://developer.atlassian.com/platform/forge/ui-kit/components/icon/.
31
34
  */
32
35
  primaryColor?: IconColor;
33
36
  /**
34
37
  * Secondary color for the icon. Defaults to the page background for an icon that supports two colors.
38
+ * @deprecated the "secondaryColor" prop is deprecated and will be removed on the 22nd of December 2025. Please refactor your code to avoid using this prop.
35
39
  */
36
40
  secondaryColor?: IconColor;
37
41
  }
@@ -3,16 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - PressableProps
5
5
  *
6
- * @codegen <<SignedSource::515984e69408f30f333241c0b51ceb31>>
6
+ * @codegen <<SignedSource::5372ef8608441a2d8f71e99a6fd0a36e>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/pressable/__generated__/index.partial.tsx <<SignedSource::a7f457ec091071415e904b705d62f605>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/pressable/__generated__/index.partial.tsx <<SignedSource::b297593f4c38160fa0272fb43fcaa19c>>
9
9
  */
10
10
  import React from 'react';
11
11
  import { Pressable as PlatformPressable } from '@atlaskit/primitives';
12
- import type { CSSProperties } from '@emotion/serialize';
13
12
  import type * as CSS from 'csstype';
14
13
  import type { MediaQuery } from '@atlaskit/primitives';
15
14
  import { tokensMap } from '@atlaskit/primitives';
15
+ type CSSProperties = CSS.PropertiesFallback<number | string>;
16
16
  type TokensMap = typeof tokensMap;
17
17
  type TokensMapPropKey = keyof TokensMap;
18
18
  type TokenizedProps = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/forge-react-types",
3
- "version": "0.42.3",
3
+ "version": "0.42.5",
4
4
  "description": "Component types for Forge UI Kit React components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -32,22 +32,20 @@
32
32
  "@atlaskit/comment": "^13.0.0",
33
33
  "@atlaskit/datetime-picker": "^17.0.0",
34
34
  "@atlaskit/dynamic-table": "^18.2.0",
35
- "@atlaskit/empty-state": "^10.0.0",
35
+ "@atlaskit/empty-state": "^10.1.0",
36
36
  "@atlaskit/form": "^12.0.0",
37
37
  "@atlaskit/heading": "^5.2.0",
38
38
  "@atlaskit/inline-edit": "^15.2.0",
39
39
  "@atlaskit/lozenge": "^13.0.0",
40
40
  "@atlaskit/modal-dialog": "^14.2.0",
41
- "@atlaskit/platform-feature-flags": "^1.1.0",
42
41
  "@atlaskit/popup": "^4.3.0",
43
- "@atlaskit/primitives": "^14.8.0",
42
+ "@atlaskit/primitives": "^14.10.0",
44
43
  "@atlaskit/progress-bar": "^4.0.0",
45
- "@atlaskit/progress-tracker": "^10.1.0",
44
+ "@atlaskit/progress-tracker": "^10.2.0",
46
45
  "@atlaskit/radio": "^8.1.0",
47
46
  "@atlaskit/range": "^9.1.0",
48
- "@atlaskit/renderer": "^119.0.0",
49
47
  "@atlaskit/section-message": "^8.2.0",
50
- "@atlaskit/select": "^20.7.0",
48
+ "@atlaskit/select": "^21.0.0",
51
49
  "@atlaskit/spinner": "^18.0.0",
52
50
  "@atlaskit/tabs": "^18.1.0",
53
51
  "@atlaskit/tag": "^14.0.0",
@@ -55,7 +53,7 @@
55
53
  "@atlaskit/textarea": "^8.0.0",
56
54
  "@atlaskit/textfield": "^8.0.0",
57
55
  "@atlaskit/toggle": "^15.0.0",
58
- "@atlaskit/tokens": "^5.2.0",
56
+ "@atlaskit/tokens": "^5.4.0",
59
57
  "@atlaskit/tooltip": "^20.3.0",
60
58
  "@babel/runtime": "^7.0.0"
61
59
  },
@@ -3,23 +3,22 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - AdfRendererProps
5
5
  *
6
- * @codegen <<SignedSource::4e44b65ce16ded81aeeb086d4abf54c9>>
6
+ * @codegen <<SignedSource::40da0a9685347169dc754cca2d5a3fd4>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/adfrenderer/index.tsx <<SignedSource::38be261305900c390921675abcf4c90c>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/adfrenderer/index.tsx <<SignedSource::c45edd7c2018b7b260630f851183f623>>
9
9
  */
10
10
  /* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
11
11
 
12
- import { type RendererProps } from '@atlaskit/renderer';
13
12
  import type { DocNode } from '@atlaskit/adf-schema';
14
13
 
15
- export type AdfRendererProps = RendererProps & {
14
+ export type AdfRendererProps = {
16
15
  /**
17
16
  * An ADF document to render
18
17
  *
19
18
  * @type [DocNode](https://developer.atlassian.com/cloud/jira/platform/apis/document/nodes/doc/)
20
19
  */
21
20
  document: DocNode;
22
- documentWithoutMedia?: RendererProps['document'];
21
+ documentWithoutMedia?: DocNode;
23
22
 
24
23
  /**
25
24
  * A function to determine behaviour for handling unsupported nodes:
@@ -3,380 +3,24 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - IconProps
5
5
  *
6
- * @codegen <<SignedSource::40d5e815277b3ce91da33d74742659fc>>
6
+ * @codegen <<SignedSource::77876beafd61427f009d983cb3b8122c>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/icon/index.tsx <<SignedSource::54a87ae131386a26a52d09234f67aa98>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/icon/index.tsx <<SignedSource::1a39bcc2f23c9d9da235781c26aee813>>
9
9
  */
10
10
  /* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
11
11
 
12
12
  import type { ActiveTokens } from '@atlaskit/tokens';
13
13
 
14
- export type Icon =
15
- | 'activity'
16
- | 'add'
17
- | 'add-circle'
18
- | 'add-item'
19
- | 'addon'
20
- | 'app-access'
21
- | 'app-switcher'
22
- | 'archive'
23
- | 'arrow-down'
24
- | 'arrow-down-circle'
25
- | 'arrow-left'
26
- | 'arrow-left-circle'
27
- | 'arrow-right'
28
- | 'arrow-right-circle'
29
- | 'arrow-up'
30
- | 'arrow-up-circle'
31
- | 'attachment'
32
- | 'audio'
33
- | 'audio-circle'
34
- | 'backlog'
35
- | 'billing'
36
- | 'billing-filled'
37
- | 'bitbucket-branches'
38
- | 'bitbucket-builds'
39
- | 'bitbucket-clone'
40
- | 'bitbucket-commits'
41
- | 'bitbucket-compare'
42
- | 'bitbucket-forks'
43
- | 'bitbucket-output'
44
- | 'bitbucket-pipelines'
45
- | 'bitbucket-pullrequests'
46
- | 'bitbucket-repos'
47
- | 'bitbucket-snippets'
48
- | 'bitbucket-source'
49
- | 'board'
50
- | 'book'
51
- | 'bullet-list'
52
- | 'calendar'
53
- | 'calendar-filled'
54
- | 'camera'
55
- | 'camera-filled'
56
- | 'camera-rotate'
57
- | 'camera-take-picture'
58
- | 'canvas'
59
- | 'check'
60
- | 'check-circle'
61
- | 'check-circle-outline'
62
- | 'checkbox'
63
- | 'checkbox-indeterminate'
64
- | 'chevron-down'
65
- | 'chevron-down-circle'
66
- | 'chevron-left'
67
- | 'chevron-left-circle'
68
- | 'chevron-left-large'
69
- | 'chevron-right'
70
- | 'chevron-right-circle'
71
- | 'chevron-right-large'
72
- | 'chevron-up'
73
- | 'chevron-up-circle'
74
- | 'child-issues'
75
- | 'code'
76
- | 'comment'
77
- | 'component'
78
- | 'copy'
79
- | 'creditcard'
80
- | 'creditcard-filled'
81
- | 'cross'
82
- | 'cross-circle'
83
- | 'dashboard'
84
- | 'decision'
85
- | 'department'
86
- | 'detail-view'
87
- | 'discover'
88
- | 'discover-filled'
89
- | 'document'
90
- | 'document-filled'
91
- | 'documents'
92
- | 'download'
93
- | 'drag-handler'
94
- | 'dropbox'
95
- | 'edit'
96
- | 'edit-filled'
97
- | 'editor-add'
98
- | 'editor-addon'
99
- | 'editor-advanced'
100
- | 'editor-align-center'
101
- | 'editor-align-image-center'
102
- | 'editor-align-image-left'
103
- | 'editor-align-image-right'
104
- | 'editor-align-left'
105
- | 'editor-align-right'
106
- | 'editor-attachment'
107
- | 'editor-background-color'
108
- | 'editor-bold'
109
- | 'editor-bullet-list'
110
- | 'editor-close'
111
- | 'editor-code'
112
- | 'editor-collapse'
113
- | 'editor-date'
114
- | 'editor-decision'
115
- | 'editor-divider'
116
- | 'editor-done'
117
- | 'editor-edit'
118
- | 'editor-emoji'
119
- | 'editor-error'
120
- | 'editor-expand'
121
- | 'editor-feedback'
122
- | 'editor-file'
123
- | 'editor-file-preview'
124
- | 'editor-help'
125
- | 'editor-hint'
126
- | 'editor-horizontal-rule'
127
- | 'editor-image'
128
- | 'editor-image-border'
129
- | 'editor-image-resize'
130
- | 'editor-indent'
131
- | 'editor-info'
132
- | 'editor-italic'
133
- | 'editor-layout-single'
134
- | 'editor-layout-three-equal'
135
- | 'editor-layout-three-with-sidebars'
136
- | 'editor-layout-two-equal'
137
- | 'editor-layout-two-left-sidebar'
138
- | 'editor-layout-two-right-sidebar'
139
- | 'editor-link'
140
- | 'editor-media-center'
141
- | 'editor-media-full-width'
142
- | 'editor-media-wide'
143
- | 'editor-media-wrap-left'
144
- | 'editor-media-wrap-right'
145
- | 'editor-mention'
146
- | 'editor-more'
147
- | 'editor-note'
148
- | 'editor-number-list'
149
- | 'editor-open'
150
- | 'editor-outdent'
151
- | 'editor-panel'
152
- | 'editor-photo'
153
- | 'editor-quote'
154
- | 'editor-recent'
155
- | 'editor-redo'
156
- | 'editor-remove'
157
- | 'editor-remove-emoji'
158
- | 'editor-search'
159
- | 'editor-settings'
160
- | 'editor-strikethrough'
161
- | 'editor-success'
162
- | 'editor-table'
163
- | 'editor-table-display-options'
164
- | 'editor-task'
165
- | 'editor-text-color'
166
- | 'editor-text-style'
167
- | 'editor-underline'
168
- | 'editor-undo'
169
- | 'editor-unlink'
170
- | 'editor-warning'
171
- | 'email'
172
- | 'emoji'
173
- | 'emoji-add'
174
- | 'emoji-activity'
175
- | 'emoji-atlassian'
176
- | 'emoji-custom'
177
- | 'emoji-emoji'
178
- | 'emoji-flags'
179
- | 'emoji-food'
180
- | 'emoji-frequent'
181
- | 'emoji-keyboard'
182
- | 'emoji-nature'
183
- | 'emoji-objects'
184
- | 'emoji-people'
185
- | 'emoji-productivity'
186
- | 'emoji-symbols'
187
- | 'emoji-travel'
188
- | 'error'
189
- | 'export'
190
- | 'feedback'
191
- | 'file'
192
- | 'filter'
193
- | 'flag-filled'
194
- | 'folder'
195
- | 'folder-filled'
196
- | 'followers'
197
- | 'following'
198
- | 'googledrive'
199
- | 'graph-bar'
200
- | 'graph-line'
201
- | 'gsuite'
202
- | 'highlights'
203
- | 'hipchat-audio-only'
204
- | 'hipchat-chevron-double-down'
205
- | 'hipchat-chevron-double-up'
206
- | 'hipchat-chevron-down'
207
- | 'hipchat-chevron-up'
208
- | 'hipchat-dial-out'
209
- | 'hipchat-lobby'
210
- | 'hipchat-media-attachment-count'
211
- | 'hipchat-outgoing-sound'
212
- | 'hipchat-sd-video'
213
- | 'home'
214
- | 'home-circle'
215
- | 'image'
216
- | 'image-border'
217
- | 'image-resize'
218
- | 'info'
219
- | 'invite-team'
220
- | 'issue'
221
- | 'issue-raise'
222
- | 'issues'
223
- | 'jira-capture'
224
- | 'jira-failed-build-status'
225
- | 'jira-labs'
226
- | 'jira-test-session'
227
- | 'label'
228
- | 'lightbulb'
229
- | 'lightbulb-filled'
230
- | 'like'
231
- | 'link'
232
- | 'link-filled'
233
- | 'list'
234
- | 'location'
235
- | 'lock'
236
- | 'lock-circle'
237
- | 'lock-filled'
238
- | 'marketplace'
239
- | 'media-services-actual-size'
240
- | 'media-services-add-comment'
241
- | 'media-services-annotate'
242
- | 'media-services-arrow'
243
- | 'media-services-audio'
244
- | 'media-services-blur'
245
- | 'media-services-brush'
246
- | 'media-services-button-option'
247
- | 'media-services-code'
248
- | 'media-services-document'
249
- | 'media-services-filter'
250
- | 'media-services-fit-to-page'
251
- | 'media-services-full-screen'
252
- | 'media-services-grid'
253
- | 'media-services-image'
254
- | 'media-services-line'
255
- | 'media-services-line-thickness'
256
- | 'media-services-no-image'
257
- | 'media-services-open-mediaviewer'
258
- | 'media-services-oval'
259
- | 'media-services-pdf'
260
- | 'media-services-preselected'
261
- | 'media-services-presentation'
262
- | 'media-services-rectangle'
263
- | 'media-services-scale-large'
264
- | 'media-services-scale-small'
265
- | 'media-services-spreadsheet'
266
- | 'media-services-text'
267
- | 'media-services-unknown'
268
- | 'media-services-video'
269
- | 'media-services-zip'
270
- | 'media-services-zoom-in'
271
- | 'media-services-zoom-out'
272
- | 'mention'
273
- | 'menu'
274
- | 'menu-expand'
275
- | 'mobile'
276
- | 'more'
277
- | 'more-vertical'
278
- | 'notification'
279
- | 'notification-all'
280
- | 'notification-direct'
281
- | 'office-building'
282
- | 'office-building-filled'
283
- | 'open'
284
- | 'overview'
285
- | 'page'
286
- | 'page-filled'
287
- | 'pdf'
288
- | 'people'
289
- | 'people-group'
290
- | 'person'
291
- | 'person-circle'
292
- | 'person-with-circle'
293
- | 'person-with-cross'
294
- | 'person-with-tick'
295
- | 'portfolio'
296
- | 'preferences'
297
- | 'premium'
298
- | 'presence-active'
299
- | 'presence-busy'
300
- | 'presence-unavailable'
301
- | 'question'
302
- | 'question-circle'
303
- | 'questions'
304
- | 'queues'
305
- | 'quote'
306
- | 'radio'
307
- | 'recent'
308
- | 'redo'
309
- | 'refresh'
310
- | 'retry'
311
- | 'roadmap'
312
- | 'room-menu'
313
- | 'schedule'
314
- | 'schedule-filled'
315
- | 'screen'
316
- | 'search'
317
- | 'select-clear'
318
- | 'send'
319
- | 'settings'
320
- | 'share'
321
- | 'ship'
322
- | 'shortcut'
323
- | 'sign-in'
324
- | 'sign-out'
325
- | 'sprint'
326
- | 'star'
327
- | 'star-filled'
328
- | 'star-large'
329
- | 'status'
330
- | 'stopwatch'
331
- | 'subtask'
332
- | 'suitcase'
333
- | 'switcher'
334
- | 'table'
335
- | 'task'
336
- | 'teams'
337
- | 'trash'
338
- | 'tray'
339
- | 'undo'
340
- | 'unlink'
341
- | 'unlock'
342
- | 'unlock-circle'
343
- | 'unlock-filled'
344
- | 'upload'
345
- | 'user-avatar-circle'
346
- | 'vid-audio-muted'
347
- | 'vid-audio-on'
348
- | 'vid-backward'
349
- | 'vid-camera-off'
350
- | 'vid-camera-on'
351
- | 'vid-connection-circle'
352
- | 'vid-forward'
353
- | 'vid-full-screen-off'
354
- | 'vid-full-screen-on'
355
- | 'vid-hang-up'
356
- | 'vid-hd-circle'
357
- | 'vid-pause'
358
- | 'vid-play'
359
- | 'vid-raised-hand'
360
- | 'vid-share-screen'
361
- | 'vid-speaking-circle'
362
- | 'vid-volume-full'
363
- | 'vid-volume-half'
364
- | 'vid-volume-muted'
365
- | 'video-circle'
366
- | 'video-filled'
367
- | 'warning'
368
- | 'watch'
369
- | 'watch-filled'
370
- | 'world'
371
- | 'world-small';
372
- type Glyph = Icon;
14
+ export type IconNext = 'add' | 'app-switcher' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'attachment' | 'audio' | 'backlog' | 'board' | 'calendar' | 'camera' | 'checkbox-indeterminate' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'child-issues' | 'comment' | 'component' | 'copy' | 'cross-circle' | 'dashboard' | 'decision' | 'department' | 'download' | 'edit' | 'email' | 'emoji-add' | 'emoji' | 'error' | 'feedback' | 'file' | 'filter' | 'flag-filled' | 'home' | 'image' | 'issue' | 'issues' | 'lightbulb' | 'link' | 'location' | 'marketplace' | 'menu' | 'notification' | 'office-building' | 'page' | 'people-group' | 'person' | 'premium' | 'question-circle' | 'redo' | 'refresh' | 'retry' | 'roadmap' | 'screen' | 'search' | 'send' | 'settings' | 'share' | 'sprint' | 'stopwatch' | 'task' | 'teams' | 'undo' | 'warning' | 'accessibility' | 'ai-agent' | 'ai-chat' | 'ai-generative-text-summary' | 'alert' | 'align-center' | 'align-image-center' | 'align-image-left' | 'align-image-right' | 'align-left' | 'align-right' | 'align-text-center' | 'align-text-left' | 'align-text-right' | 'angle-brackets' | 'api' | 'app' | 'app-switcher-legacy' | 'apps' | 'archive-box' | 'arrow-down-left' | 'arrow-down-right' | 'arrow-up-left' | 'arrow-up-right' | 'assets' | 'atlassian-intelligence' | 'automation' | 'basketball' | 'boards' | 'book-with-bookmark' | 'border' | 'border-weight-medium' | 'border-weight-thick' | 'border-weight-thin' | 'branch' | 'briefcase' | 'bug' | 'calendar-plus' | 'capture' | 'card' | 'cash' | 'changes' | 'chart-bar' | 'chart-matrix' | 'chart-pie' | 'chart-trend' | 'chat-widget' | 'check-mark' | 'checkbox-checked' | 'checkbox-unchecked' | 'chevron-double-left' | 'chevron-double-right' | 'child-work-items' | 'clipboard' | 'clock' | 'close' | 'cloud-arrow-up' | 'collapse-horizontal' | 'collapse-vertical' | 'comment-add' | 'commit' | 'compass' | 'content-align-center' | 'content-align-left' | 'content-align-right' | 'content-width-narrow' | 'content-width-wide' | 'content-wrap-left' | 'content-wrap-right' | 'credit-card' | 'curly-brackets' | 'customize' | 'data-flow' | 'data-number' | 'data-string' | 'database' | 'defect' | 'delete' | 'device-mobile' | 'devices' | 'discovery' | 'drag-handle' | 'drag-handle-horizontal' | 'drag-handle-vertical' | 'drawer-left' | 'drawer-right' | 'edit-bulk' | 'emoji-casual' | 'emoji-neutral' | 'emoji-remove' | 'epic' | 'exclamation-square' | 'expand-horizontal' | 'expand-vertical' | 'eye-open' | 'eye-open-filled' | 'eye-open-strikethrough' | 'feed' | 'field' | 'field-alert' | 'field-checkbox-group' | 'field-dropdown' | 'field-radio-group' | 'files' | 'flag' | 'flask' | 'folder-closed' | 'folder-open' | 'form' | 'fullscreen-enter' | 'fullscreen-exit' | 'glasses' | 'globe' | 'goal' | 'grid' | 'grow-diagonal' | 'grow-horizontal' | 'grow-vertical' | 'hashtag' | 'headphones' | 'heart' | 'highlight' | 'image-fullscreen' | 'image-inline' | 'image-scaled' | 'inbox' | 'incident' | 'information' | 'information-circle' | 'key-result' | 'layout-one-column' | 'layout-three-columns' | 'layout-three-columns-sidebars' | 'layout-two-columns' | 'layout-two-columns-sidebar-left' | 'layout-two-columns-sidebar-right' | 'library' | 'link-broken' | 'link-external' | 'list-bulleted' | 'list-checklist' | 'list-numbered' | 'lobby-bell' | 'lock-locked' | 'lock-unlocked' | 'log-in' | 'log-out' | 'magic-wand' | 'markdown' | 'maximize' | 'megaphone' | 'merge-failure' | 'merge-success' | 'microphone' | 'minimize' | 'minus' | 'minus-square' | 'node' | 'note' | 'notification-muted' | 'objective' | 'on-call' | 'operations' | 'pages' | 'paint-bucket' | 'paint-palette' | 'pen' | 'person-add' | 'person-added' | 'person-avatar' | 'person-offboard' | 'person-remove' | 'person-warning' | 'phone' | 'pin' | 'pin-filled' | 'plus-square' | 'power-plug' | 'presenter-mode' | 'printer' | 'priority-blocker' | 'priority-critical' | 'priority-high' | 'priority-highest' | 'priority-low' | 'priority-lowest' | 'priority-major' | 'priority-medium' | 'priority-minor' | 'priority-trivial' | 'problem' | 'project' | 'project-status' | 'projection-screen' | 'pull-request' | 'pulse' | 'quotation-mark' | 'radio-checked' | 'radio-unchecked' | 'release' | 'scales' | 'scorecard' | 'screen-plus' | 'shapes' | 'shield' | 'shield-strikethrough' | 'show-more-horizontal' | 'show-more-vertical' | 'shrink-diagonal' | 'shrink-horizontal' | 'shrink-vertical' | 'sidebar-collapse' | 'sidebar-expand' | 'sidebar-left' | 'sidebar-right' | 'smart-link' | 'smart-link-card' | 'smart-link-embed' | 'smart-link-inline' | 'smart-link-list' | 'snippet' | 'sort-ascending' | 'sort-descending' | 'spreadsheet' | 'star-starred' | 'star-unstarred' | 'status-verified' | 'story' | 'stroke-weight-extra-large' | 'stroke-weight-large' | 'stroke-weight-medium' | 'stroke-weight-small' | 'subtasks' | 'success' | 'summarize' | 'support' | 'table-cell-clear' | 'table-cell-merge' | 'table-cell-split' | 'table-column-add-left' | 'table-column-add-right' | 'table-column-delete' | 'table-column-move-left' | 'table-column-move-right' | 'table-columns-distribute' | 'table-row-add-above' | 'table-row-add-below' | 'table-row-delete' | 'table-row-move-down' | 'table-row-move-up' | 'tag' | 'takeout-food' | 'target' | 'task-in-progress' | 'task-to-do' | 'tasks' | 'text' | 'text-bold' | 'text-heading' | 'text-indent-left' | 'text-indent-right' | 'text-italic' | 'text-shorten' | 'text-spellcheck' | 'text-strikethrough' | 'text-style' | 'text-underline' | 'text-wrap' | 'theme' | 'thumbs-down' | 'thumbs-up' | 'timeline' | 'tools' | 'transition' | 'translate' | 'tree' | 'vehicle-car' | 'video' | 'video-next' | 'video-next-overlay' | 'video-pause' | 'video-pause-overlay' | 'video-play' | 'video-play-overlay' | 'video-previous' | 'video-previous-overlay' | 'video-skip-backward-fifteen' | 'video-skip-backward-ten' | 'video-skip-forward-fifteen' | 'video-skip-forward-ten' | 'video-stop' | 'video-stop-overlay' | 'volume-high' | 'volume-low' | 'volume-muted' | 'whiteboard' | 'work-item' | 'work-items' | 'zoom-in' | 'zoom-out' | 'utility/add' | 'utility/arrow-down' | 'utility/arrow-left' | 'utility/arrow-right' | 'utility/arrow-up' | 'utility/check-circle' | 'utility/check-mark' | 'utility/chevron-double-left' | 'utility/chevron-double-right' | 'utility/chevron-down' | 'utility/chevron-left' | 'utility/chevron-right' | 'utility/chevron-up' | 'utility/cross' | 'utility/cross-circle' | 'utility/drag-handle' | 'utility/drag-handle-horizontal' | 'utility/drag-handle-vertical' | 'utility/error' | 'utility/information' | 'utility/link-external' | 'utility/lock-locked' | 'utility/lock-unlocked' | 'utility/show-more-horizontal' | 'utility/show-more-vertical' | 'utility/star-starred' | 'utility/star-unstarred' | 'utility/success' | 'utility/warning';
15
+ export type IconRemoved = 'billing-filled' | 'billing' | 'bitbucket-builds' | 'bitbucket-clone' | 'bitbucket-compare' | 'bitbucket-forks' | 'bitbucket-output' | 'bitbucket-pipelines' | 'camera-rotate' | 'camera-take-picture' | 'canvas' | 'hipchat-chevron-double-down' | 'hipchat-chevron-double-up' | 'dropbox' | 'editor-addon' | 'editor-advanced' | 'editor-file-preview' | 'editor-image-border' | 'editor-remove-emoji' | 'editor-strikethrough' | 'editor-table-display-options' | 'editor-text-color' | 'editor-underline' | 'emoji-atlassian' | 'folder-filled' | 'following' | 'googledrive' | 'gsuite' | 'highlights' | 'image-border' | 'jira-failed-build-status' | 'list' | 'hipchat-media-attachment-count' | 'media-services-annotate' | 'media-services-arrow' | 'media-services-blur' | 'media-services-brush' | 'media-services-button-option' | 'media-services-line-thickness' | 'media-services-no-image' | 'media-services-open-mediaviewer' | 'media-services-oval' | 'media-services-pdf' | 'media-services-rectangle' | 'media-services-text' | 'media-services-unknown' | 'media-services-zip' | 'mention' | 'notification-all' | 'pdf' | 'person-with-circle' | 'person-with-cross' | 'portfolio' | 'presence-active' | 'presence-busy' | 'presence-unavailable' | 'status' | 'vid-audio-muted' | 'vid-backward' | 'vid-camera-off' | 'vid-connection-circle' | 'vid-forward' | 'vid-hang-up' | 'vid-hd-circle' | 'vid-raised-hand' | 'vid-share-screen' | 'vid-speaking-circle';
16
+ export type IconReplaced = 'activity' | 'add-circle' | 'add-item' | 'addon' | 'editor-align-center' | 'editor-align-left' | 'editor-align-right' | 'app-access' | 'archive' | 'arrow-down-circle' | 'arrow-left-circle' | 'arrow-right-circle' | 'arrow-up-circle' | 'audio-circle' | 'hipchat-audio-only' | 'bitbucket-branches' | 'bitbucket-commits' | 'bitbucket-pullrequests' | 'bitbucket-repos' | 'bitbucket-snippets' | 'bitbucket-source' | 'book' | 'bullet-list' | 'calendar-filled' | 'camera-filled' | 'checkbox' | 'check-circle' | 'check-circle-outline' | 'check' | 'chevron-down-circle' | 'hipchat-chevron-down' | 'chevron-left-circle' | 'chevron-left-large' | 'chevron-right-circle' | 'chevron-right-large' | 'chevron-up-circle' | 'hipchat-chevron-up' | 'code' | 'creditcard-filled' | 'creditcard' | 'cross' | 'detail-view' | 'hipchat-dial-out' | 'discover-filled' | 'discover' | 'document-filled' | 'document' | 'documents' | 'drag-handler' | 'edit-filled' | 'editor-add' | 'editor-align-image-center' | 'editor-align-image-left' | 'editor-align-image-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-help' | 'editor-hint' | 'editor-horizontal-rule' | 'editor-image' | '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-search' | 'editor-settings' | 'editor-success' | 'editor-table' | 'editor-task' | 'editor-text-style' | 'editor-undo' | 'editor-unlink' | 'editor-warning' | 'emoji-activity' | 'emoji-custom' | 'emoji-emoji' | 'emoji-flags' | 'emoji-food' | 'emoji-frequent' | 'emoji-keyboard' | 'emoji-nature' | 'emoji-objects' | 'emoji-people' | 'emoji-productivity' | 'emoji-symbols' | 'emoji-travel' | 'export' | 'folder' | 'followers' | 'graph-bar' | 'graph-line' | 'home-circle' | 'image-resize' | 'info' | 'invite-team' | 'issue-raise' | 'jira-capture' | 'jira-labs' | 'jira-test-session' | 'label' | 'lightbulb-filled' | 'like' | 'link-filled' | 'hipchat-lobby' | 'lock-circle' | 'lock-filled' | 'lock' | 'media-services-actual-size' | 'media-services-add-comment' | 'media-services-audio' | '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-preselected' | 'media-services-presentation' | 'media-services-scale-large' | 'media-services-scale-small' | 'media-services-spreadsheet' | 'media-services-video' | 'media-services-zoom-in' | 'media-services-zoom-out' | 'menu-expand' | 'mobile' | 'more' | 'more-vertical' | 'notification-direct' | 'office-building-filled' | 'open' | 'hipchat-outgoing-sound' | 'overview' | 'page-filled' | 'people' | 'person-circle' | 'person-with-tick' | 'preferences' | 'question' | 'questions' | 'queues' | 'quote' | 'radio' | 'recent' | 'room-menu' | 'schedule-filled' | 'schedule' | 'hipchat-sd-video' | 'select-clear' | 'ship' | 'shortcut' | 'sign-in' | 'sign-out' | 'star-filled' | 'star' | 'star-large' | 'subtask' | 'suitcase' | 'switcher' | 'table' | 'trash' | 'tray' | 'unlink' | 'unlock-circle' | 'unlock-filled' | 'unlock' | 'upload' | 'user-avatar-circle' | 'vid-audio-on' | 'vid-camera-on' | 'video-circle' | 'video-filled' | 'vid-full-screen-off' | 'vid-full-screen-on' | 'vid-pause' | 'vid-play' | 'vid-volume-full' | 'vid-volume-half' | 'vid-volume-muted' | 'watch-filled' | 'watch' | 'world' | 'world-small';
373
17
 
374
-
375
- export type IconColor = Extract<ActiveTokens, `color.icon.${string}`> | 'color.icon';
18
+ type Glyph = IconNext | IconRemoved | IconReplaced;
19
+ export type IconColor = Extract<ActiveTokens, `color.${string}`>;
376
20
 
377
21
  export interface IconProps {
378
22
  /**
379
- * There are three icon sizes `small` (16px), `medium` (24px), `large` (32px), and `xlarge` (48px).
23
+ * There are three icon sizes: `small` (16px), `medium` (24px), and `large` (32px). However "large" is now deprecated and will be removed on the 22nd of December 2025.
380
24
  * This pixel size refers to the canvas the icon sits on, not the size of the icon shape itself.
381
25
  */
382
26
  size?: 'small' | 'medium' | 'large';
@@ -389,12 +33,14 @@ export interface IconProps {
389
33
  * Name of the icon to be rendered.
390
34
  */
391
35
  glyph: Glyph;
36
+ color?: IconColor;
392
37
  /**
393
- * Primary color for the icon. Inherits the current font color by default.
38
+ * @deprecated the "primaryColor" prop is deprecated and will be removed on the 22nd of December 2025. Please use the "color" prop instead. For more information, visit: https://developer.atlassian.com/platform/forge/ui-kit/components/icon/.
394
39
  */
395
40
  primaryColor?: IconColor;
396
41
  /**
397
42
  * Secondary color for the icon. Defaults to the page background for an icon that supports two colors.
43
+ * @deprecated the "secondaryColor" prop is deprecated and will be removed on the 22nd of December 2025. Please refactor your code to avoid using this prop.
398
44
  */
399
45
  secondaryColor?: IconColor;
400
46
  }
@@ -404,4 +50,4 @@ export interface IconProps {
404
50
  *
405
51
  * @see [Icon](https://developer.atlassian.com/platform/forge/ui-kit/components/icon/) in UI Kit documentation for more information
406
52
  */
407
- export type TIcon<T> = (props: IconProps) => T;
53
+ export type TIcon<T> = (props: IconProps) => T;
@@ -3,19 +3,19 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - PressableProps
5
5
  *
6
- * @codegen <<SignedSource::515984e69408f30f333241c0b51ceb31>>
6
+ * @codegen <<SignedSource::5372ef8608441a2d8f71e99a6fd0a36e>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/pressable/__generated__/index.partial.tsx <<SignedSource::a7f457ec091071415e904b705d62f605>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/pressable/__generated__/index.partial.tsx <<SignedSource::b297593f4c38160fa0272fb43fcaa19c>>
9
9
  */
10
10
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage/preview */
11
11
 
12
12
  import React from 'react';
13
13
  import { Pressable as PlatformPressable } from '@atlaskit/primitives';
14
14
 
15
- import type { CSSProperties } from '@emotion/serialize';
16
15
  import type * as CSS from 'csstype';
17
16
  import type { MediaQuery } from '@atlaskit/primitives';
18
17
  import { tokensMap } from '@atlaskit/primitives';
18
+ type CSSProperties = CSS.PropertiesFallback<number | string>;
19
19
  type TokensMap = typeof tokensMap;
20
20
  type TokensMapPropKey = keyof TokensMap;
21
21
  type TokenizedProps = {