@atlaskit/icon 22.7.0 → 22.9.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 +19 -0
- package/afm-post-office/tsconfig.json +27 -0
- package/build/index.tsx +21 -18
- package/core/app-switcher-legacy.d.ts +9 -0
- package/core/app-switcher-legacy.js +26 -0
- package/core/app-switcher.d.ts +9 -0
- package/core/app-switcher.js +26 -0
- package/core/menu.d.ts +9 -0
- package/core/menu.js +26 -0
- package/core/migration/app-switcher--switcher.d.ts +9 -0
- package/core/migration/app-switcher--switcher.js +29 -0
- package/core/migration/app-switcher.d.ts +9 -0
- package/core/migration/app-switcher.js +29 -0
- package/core/migration/menu--menu-expand.d.ts +9 -0
- package/core/migration/menu--menu-expand.js +29 -0
- package/core/migration/menu.d.ts +9 -0
- package/core/migration/menu.js +29 -0
- package/core/migration/notification--notification-direct.d.ts +9 -0
- package/core/migration/notification--notification-direct.js +29 -0
- package/core/migration/notification.d.ts +9 -0
- package/core/migration/notification.js +29 -0
- package/core/notification.d.ts +9 -0
- package/core/notification.js +26 -0
- package/dist/cjs/components/icon-facade.js +50 -0
- package/dist/cjs/entry-points/base.js +7 -0
- package/dist/cjs/metadata-core.js +43 -0
- package/dist/cjs/migration-map.js +9 -13
- package/dist/es2019/components/icon-facade.js +39 -0
- package/dist/es2019/entry-points/base.js +2 -1
- package/dist/es2019/metadata-core.js +43 -0
- package/dist/es2019/migration-map.js +9 -13
- package/dist/esm/components/icon-facade.js +40 -0
- package/dist/esm/entry-points/base.js +2 -1
- package/dist/esm/metadata-core.js +43 -0
- package/dist/esm/migration-map.js +9 -13
- package/dist/types/components/icon-facade.d.ts +15 -0
- package/dist/types/entry-points/base.d.ts +1 -0
- package/dist/types/types.d.ts +4 -0
- package/dist/types-ts4.5/components/icon-facade.d.ts +15 -0
- package/dist/types-ts4.5/entry-points/base.d.ts +1 -0
- package/dist/types-ts4.5/types.d.ts +4 -0
- package/glyph/activity.js +7 -10
- package/glyph/add-circle.js +7 -10
- package/glyph/add-item.js +7 -10
- package/glyph/add.js +7 -10
- package/glyph/addon.js +7 -10
- package/glyph/app-access.js +7 -10
- package/glyph/app-switcher.js +7 -10
- package/glyph/archive.js +7 -10
- package/glyph/arrow-down-circle.js +7 -10
- package/glyph/arrow-down.js +7 -10
- package/glyph/arrow-left-circle.js +7 -10
- package/glyph/arrow-left.js +7 -10
- package/glyph/arrow-right-circle.js +7 -10
- package/glyph/arrow-right.js +7 -10
- package/glyph/arrow-up-circle.js +7 -10
- package/glyph/arrow-up.js +7 -10
- package/glyph/attachment.js +7 -10
- package/glyph/audio-circle.js +7 -10
- package/glyph/audio.js +7 -10
- package/glyph/backlog.js +7 -10
- package/glyph/billing-filled.js +3 -9
- package/glyph/billing.js +3 -9
- package/glyph/bitbucket/branches.js +7 -10
- package/glyph/bitbucket/builds.js +3 -9
- package/glyph/bitbucket/clone.js +3 -9
- package/glyph/bitbucket/commits.js +7 -10
- package/glyph/bitbucket/compare.js +3 -9
- package/glyph/bitbucket/forks.js +3 -9
- package/glyph/bitbucket/output.js +3 -9
- package/glyph/bitbucket/pipelines.js +3 -9
- package/glyph/bitbucket/pullrequests.js +7 -10
- package/glyph/bitbucket/repos.js +3 -9
- package/glyph/bitbucket/snippets.js +7 -10
- package/glyph/bitbucket/source.js +7 -10
- package/glyph/board.js +7 -10
- package/glyph/book.js +7 -10
- package/glyph/bullet-list.js +7 -10
- package/glyph/calendar-filled.js +7 -10
- package/glyph/calendar.js +7 -10
- package/glyph/camera-filled.js +7 -10
- package/glyph/camera-rotate.js +3 -9
- package/glyph/camera-take-picture.js +3 -9
- package/glyph/camera.js +7 -10
- package/glyph/canvas.js +3 -9
- package/glyph/check-circle-outline.js +3 -9
- package/glyph/check-circle.js +7 -10
- package/glyph/check.js +7 -10
- package/glyph/checkbox-indeterminate.js +7 -10
- package/glyph/checkbox.js +7 -10
- package/glyph/chevron-down-circle.js +8 -10
- package/glyph/chevron-down.js +8 -10
- package/glyph/chevron-left-circle.js +8 -10
- package/glyph/chevron-left-large.js +8 -10
- package/glyph/chevron-left.js +8 -10
- package/glyph/chevron-right-circle.js +8 -10
- package/glyph/chevron-right-large.js +8 -10
- package/glyph/chevron-right.js +8 -10
- package/glyph/chevron-up-circle.js +8 -10
- package/glyph/chevron-up.js +8 -10
- package/glyph/child-issues.js +7 -10
- package/glyph/code.js +7 -10
- package/glyph/comment.js +7 -10
- package/glyph/component.js +7 -10
- package/glyph/copy.js +7 -10
- package/glyph/creditcard-filled.js +7 -10
- package/glyph/creditcard.js +7 -10
- package/glyph/cross-circle.js +7 -10
- package/glyph/cross.js +7 -10
- package/glyph/dashboard.js +7 -10
- package/glyph/decision.js +7 -10
- package/glyph/department.js +7 -10
- package/glyph/detail-view.js +3 -9
- package/glyph/discover-filled.js +7 -10
- package/glyph/discover.js +7 -10
- package/glyph/document-filled.js +7 -10
- package/glyph/document.js +7 -10
- package/glyph/documents.js +7 -10
- package/glyph/download.js +3 -9
- package/glyph/drag-handler.js +6 -9
- package/glyph/dropbox.js +3 -9
- package/glyph/edit-filled.js +7 -10
- package/glyph/edit.js +7 -10
- package/glyph/editor/add.js +7 -10
- package/glyph/editor/addon.js +3 -9
- package/glyph/editor/advanced.js +3 -9
- package/glyph/editor/align-center.js +7 -10
- package/glyph/editor/align-image-center.js +3 -9
- package/glyph/editor/align-image-left.js +3 -9
- package/glyph/editor/align-image-right.js +3 -9
- package/glyph/editor/align-left.js +7 -10
- package/glyph/editor/align-right.js +7 -10
- package/glyph/editor/attachment.js +7 -10
- package/glyph/editor/background-color.js +3 -9
- package/glyph/editor/bold.js +3 -9
- package/glyph/editor/bullet-list.js +7 -10
- package/glyph/editor/close.js +7 -10
- package/glyph/editor/code.js +7 -10
- package/glyph/editor/collapse.js +7 -10
- package/glyph/editor/date.js +7 -10
- package/glyph/editor/decision.js +7 -10
- package/glyph/editor/divider.js +3 -9
- package/glyph/editor/done.js +7 -10
- package/glyph/editor/edit.js +7 -10
- package/glyph/editor/emoji.js +7 -10
- package/glyph/editor/error.js +7 -10
- package/glyph/editor/expand.js +7 -10
- package/glyph/editor/feedback.js +7 -10
- package/glyph/editor/file-preview.js +3 -9
- package/glyph/editor/file.js +3 -9
- package/glyph/editor/help.js +7 -10
- package/glyph/editor/hint.js +7 -10
- package/glyph/editor/horizontal-rule.js +3 -9
- package/glyph/editor/image-border.js +3 -9
- package/glyph/editor/image-resize.js +7 -10
- package/glyph/editor/image.js +7 -10
- package/glyph/editor/indent.js +3 -9
- package/glyph/editor/info.js +7 -10
- package/glyph/editor/italic.js +3 -9
- package/glyph/editor/layout-single.js +3 -9
- package/glyph/editor/layout-three-equal.js +3 -9
- package/glyph/editor/layout-three-with-sidebars.js +3 -9
- package/glyph/editor/layout-two-equal.js +3 -9
- package/glyph/editor/layout-two-left-sidebar.js +3 -9
- package/glyph/editor/layout-two-right-sidebar.js +3 -9
- package/glyph/editor/link.js +7 -10
- package/glyph/editor/media-center.js +3 -9
- package/glyph/editor/media-full-width.js +3 -9
- package/glyph/editor/media-wide.js +3 -9
- package/glyph/editor/media-wrap-left.js +3 -9
- package/glyph/editor/media-wrap-right.js +3 -9
- package/glyph/editor/mention.js +7 -10
- package/glyph/editor/more.js +7 -10
- package/glyph/editor/note.js +7 -10
- package/glyph/editor/number-list.js +3 -9
- package/glyph/editor/open.js +7 -10
- package/glyph/editor/outdent.js +3 -9
- package/glyph/editor/panel.js +7 -10
- package/glyph/editor/photo.js +7 -10
- package/glyph/editor/quote.js +7 -10
- package/glyph/editor/recent.js +7 -10
- package/glyph/editor/redo.js +7 -10
- package/glyph/editor/remove-emoji.js +3 -9
- package/glyph/editor/remove.js +7 -10
- package/glyph/editor/search.js +7 -10
- package/glyph/editor/settings.js +7 -10
- package/glyph/editor/strikethrough.js +3 -9
- package/glyph/editor/success.js +7 -10
- package/glyph/editor/table-display-options.js +3 -9
- package/glyph/editor/table.js +3 -9
- package/glyph/editor/task.js +7 -10
- package/glyph/editor/text-color.js +3 -9
- package/glyph/editor/text-style.js +7 -10
- package/glyph/editor/underline.js +3 -9
- package/glyph/editor/undo.js +7 -10
- package/glyph/editor/unlink.js +7 -10
- package/glyph/editor/warning.js +7 -10
- package/glyph/email.js +7 -10
- package/glyph/emoji/activity.js +3 -9
- package/glyph/emoji/atlassian.js +3 -9
- package/glyph/emoji/custom.js +7 -10
- package/glyph/emoji/emoji.js +7 -10
- package/glyph/emoji/flags.js +3 -9
- package/glyph/emoji/food.js +3 -9
- package/glyph/emoji/frequent.js +7 -10
- package/glyph/emoji/keyboard.js +7 -10
- package/glyph/emoji/nature.js +3 -9
- package/glyph/emoji/objects.js +7 -10
- package/glyph/emoji/people.js +3 -9
- package/glyph/emoji/productivity.js +3 -9
- package/glyph/emoji/symbols.js +7 -10
- package/glyph/emoji/travel.js +3 -9
- package/glyph/emoji-add.js +7 -10
- package/glyph/emoji.js +7 -10
- package/glyph/error.js +7 -10
- package/glyph/export.js +3 -9
- package/glyph/feedback.js +7 -10
- package/glyph/file.js +3 -9
- package/glyph/filter.js +7 -10
- package/glyph/flag-filled.js +3 -9
- package/glyph/folder-filled.js +3 -9
- package/glyph/folder.js +7 -10
- package/glyph/followers.js +7 -10
- package/glyph/following.js +3 -9
- package/glyph/googledrive.js +3 -9
- package/glyph/graph-bar.js +7 -10
- package/glyph/graph-line.js +7 -10
- package/glyph/gsuite.js +3 -9
- package/glyph/highlights.js +3 -9
- package/glyph/hipchat/audio-only.js +7 -10
- package/glyph/hipchat/chevron-double-down.js +3 -9
- package/glyph/hipchat/chevron-double-up.js +3 -9
- package/glyph/hipchat/chevron-down.js +8 -10
- package/glyph/hipchat/chevron-up.js +8 -10
- package/glyph/hipchat/dial-out.js +7 -10
- package/glyph/hipchat/lobby.js +7 -10
- package/glyph/hipchat/media-attachment-count.js +2 -8
- package/glyph/hipchat/outgoing-sound.js +7 -10
- package/glyph/hipchat/sd-video.js +7 -10
- package/glyph/home-circle.js +7 -10
- package/glyph/home.js +7 -10
- package/glyph/image-border.js +3 -9
- package/glyph/image-resize.js +7 -10
- package/glyph/image.js +7 -10
- package/glyph/info.js +7 -10
- package/glyph/invite-team.js +7 -10
- package/glyph/issue-raise.js +3 -9
- package/glyph/issue.js +7 -10
- package/glyph/issues.js +7 -10
- package/glyph/jira/capture.js +7 -10
- package/glyph/jira/failed-build-status.js +3 -9
- package/glyph/jira/labs.js +7 -10
- package/glyph/jira/test-session.js +7 -10
- package/glyph/label.js +7 -10
- package/glyph/lightbulb-filled.js +3 -9
- package/glyph/lightbulb.js +7 -10
- package/glyph/like.js +7 -10
- package/glyph/link-filled.js +3 -9
- package/glyph/link.js +7 -10
- package/glyph/list.js +3 -9
- package/glyph/location.js +7 -10
- package/glyph/lock-circle.js +7 -10
- package/glyph/lock-filled.js +7 -10
- package/glyph/lock.js +7 -10
- package/glyph/marketplace.js +7 -10
- package/glyph/media-services/actual-size.js +7 -10
- package/glyph/media-services/add-comment.js +7 -10
- package/glyph/media-services/annotate.js +3 -9
- package/glyph/media-services/arrow.js +3 -9
- package/glyph/media-services/audio.js +7 -10
- package/glyph/media-services/blur.js +3 -9
- package/glyph/media-services/brush.js +3 -9
- package/glyph/media-services/button-option.js +3 -9
- package/glyph/media-services/code.js +7 -10
- package/glyph/media-services/document.js +7 -10
- package/glyph/media-services/filter.js +7 -10
- package/glyph/media-services/fit-to-page.js +3 -9
- package/glyph/media-services/full-screen.js +7 -10
- package/glyph/media-services/grid.js +7 -10
- package/glyph/media-services/image.js +7 -10
- package/glyph/media-services/line-thickness.js +3 -9
- package/glyph/media-services/line.js +3 -9
- package/glyph/media-services/no-image.js +3 -9
- package/glyph/media-services/open-mediaviewer.js +3 -9
- package/glyph/media-services/oval.js +3 -9
- package/glyph/media-services/pdf.js +3 -9
- package/glyph/media-services/preselected.js +3 -9
- package/glyph/media-services/presentation.js +7 -10
- package/glyph/media-services/rectangle.js +3 -9
- package/glyph/media-services/scale-large.js +7 -10
- package/glyph/media-services/scale-small.js +7 -10
- package/glyph/media-services/spreadsheet.js +7 -10
- package/glyph/media-services/text.js +2 -8
- package/glyph/media-services/unknown.js +3 -9
- package/glyph/media-services/video.js +7 -10
- package/glyph/media-services/zip.js +3 -9
- package/glyph/media-services/zoom-in.js +7 -10
- package/glyph/media-services/zoom-out.js +7 -10
- package/glyph/mention.js +3 -9
- package/glyph/menu-expand.js +7 -10
- package/glyph/menu.js +7 -10
- package/glyph/mobile.js +7 -10
- package/glyph/more-vertical.js +6 -9
- package/glyph/more.js +6 -9
- package/glyph/notification-all.js +3 -9
- package/glyph/notification-direct.js +7 -10
- package/glyph/notification.js +7 -10
- package/glyph/office-building-filled.js +7 -10
- package/glyph/office-building.js +7 -10
- package/glyph/open.js +7 -10
- package/glyph/overview.js +7 -10
- package/glyph/page-filled.js +7 -10
- package/glyph/page.js +7 -10
- package/glyph/pdf.js +3 -9
- package/glyph/people-group.js +3 -9
- package/glyph/people.js +3 -9
- package/glyph/person-circle.js +7 -10
- package/glyph/person-with-circle.js +3 -9
- package/glyph/person-with-cross.js +3 -9
- package/glyph/person-with-tick.js +7 -10
- package/glyph/person.js +7 -10
- package/glyph/portfolio.js +3 -9
- package/glyph/preferences.js +7 -10
- package/glyph/premium.js +7 -10
- package/glyph/presence-active.js +2 -8
- package/glyph/presence-busy.js +3 -9
- package/glyph/presence-unavailable.js +3 -9
- package/glyph/question-circle.js +7 -10
- package/glyph/question.js +7 -10
- package/glyph/questions.js +7 -10
- package/glyph/queues.js +7 -10
- package/glyph/quote.js +7 -10
- package/glyph/radio.js +3 -9
- package/glyph/recent.js +7 -10
- package/glyph/redo.js +7 -10
- package/glyph/refresh.js +3 -9
- package/glyph/retry.js +7 -10
- package/glyph/roadmap.js +7 -10
- package/glyph/room-menu.js +3 -9
- package/glyph/schedule-filled.js +3 -9
- package/glyph/schedule.js +3 -9
- package/glyph/screen.js +7 -10
- package/glyph/search.js +7 -10
- package/glyph/select-clear.js +7 -10
- package/glyph/send.js +7 -10
- package/glyph/settings.js +7 -10
- package/glyph/share.js +7 -10
- package/glyph/ship.js +7 -10
- package/glyph/shortcut.js +7 -10
- package/glyph/sign-in.js +7 -10
- package/glyph/sign-out.js +7 -10
- package/glyph/sprint.js +7 -10
- package/glyph/star-filled.js +7 -10
- package/glyph/star-large.js +7 -10
- package/glyph/star.js +7 -10
- package/glyph/status.js +3 -9
- package/glyph/stopwatch.js +7 -10
- package/glyph/subtask.js +7 -10
- package/glyph/suitcase.js +7 -10
- package/glyph/switcher.js +7 -10
- package/glyph/table.js +7 -10
- package/glyph/task.js +7 -10
- package/glyph/teams.js +5 -2
- package/glyph/trash.js +7 -10
- package/glyph/tray.js +7 -10
- package/glyph/undo.js +7 -10
- package/glyph/unlink.js +7 -10
- package/glyph/unlock-circle.js +7 -10
- package/glyph/unlock-filled.js +7 -10
- package/glyph/unlock.js +7 -10
- package/glyph/upload.js +7 -10
- package/glyph/user-avatar-circle.js +7 -10
- package/glyph/vid-audio-muted.js +3 -9
- package/glyph/vid-audio-on.js +7 -10
- package/glyph/vid-backward.js +3 -9
- package/glyph/vid-camera-off.js +3 -9
- package/glyph/vid-camera-on.js +7 -10
- package/glyph/vid-connection-circle.js +3 -9
- package/glyph/vid-forward.js +3 -9
- package/glyph/vid-full-screen-off.js +7 -10
- package/glyph/vid-full-screen-on.js +7 -10
- package/glyph/vid-hang-up.js +3 -9
- package/glyph/vid-hd-circle.js +3 -9
- package/glyph/vid-pause.js +7 -10
- package/glyph/vid-play.js +7 -10
- package/glyph/vid-raised-hand.js +3 -9
- package/glyph/vid-share-screen.js +3 -9
- package/glyph/vid-speaking-circle.js +3 -9
- package/glyph/vid-volume-full.js +7 -10
- package/glyph/vid-volume-half.js +7 -10
- package/glyph/vid-volume-muted.js +7 -10
- package/glyph/video-circle.js +7 -10
- package/glyph/video-filled.js +7 -10
- package/glyph/warning.js +7 -10
- package/glyph/watch-filled.js +7 -10
- package/glyph/watch.js +7 -10
- package/glyph/world-small.js +7 -10
- package/glyph/world.js +7 -10
- package/package.json +6 -3
- package/svgs/activity.svg +1 -1
- package/svgs/add-circle.svg +1 -1
- package/svgs/add-item.svg +1 -1
- package/svgs/add.svg +1 -1
- package/svgs/addon.svg +1 -1
- package/svgs/app-access.svg +1 -1
- package/svgs/app-switcher.svg +1 -1
- package/svgs/archive.svg +1 -1
- package/svgs/arrow-down-circle.svg +1 -1
- package/svgs/arrow-down.svg +1 -1
- package/svgs/arrow-left-circle.svg +1 -1
- package/svgs/arrow-left.svg +1 -1
- package/svgs/arrow-right-circle.svg +1 -1
- package/svgs/arrow-right.svg +1 -1
- package/svgs/arrow-up-circle.svg +1 -1
- package/svgs/arrow-up.svg +1 -1
- package/svgs/attachment.svg +1 -1
- package/svgs/audio-circle.svg +1 -1
- package/svgs/audio.svg +1 -1
- package/svgs/backlog.svg +1 -1
- package/svgs/billing-filled.svg +1 -1
- package/svgs/billing.svg +1 -1
- package/svgs/bitbucket/branches.svg +1 -1
- package/svgs/bitbucket/builds.svg +1 -1
- package/svgs/bitbucket/clone.svg +1 -1
- package/svgs/bitbucket/commits.svg +1 -1
- package/svgs/bitbucket/compare.svg +1 -1
- package/svgs/bitbucket/forks.svg +1 -1
- package/svgs/bitbucket/output.svg +1 -1
- package/svgs/bitbucket/pipelines.svg +1 -1
- package/svgs/bitbucket/pullrequests.svg +1 -1
- package/svgs/bitbucket/repos.svg +1 -1
- package/svgs/bitbucket/snippets.svg +1 -1
- package/svgs/bitbucket/source.svg +1 -1
- package/svgs/board.svg +1 -1
- package/svgs/book.svg +1 -1
- package/svgs/bullet-list.svg +1 -1
- package/svgs/calendar-filled.svg +1 -1
- package/svgs/calendar.svg +1 -1
- package/svgs/camera-filled.svg +1 -1
- package/svgs/camera-rotate.svg +1 -1
- package/svgs/camera-take-picture.svg +1 -1
- package/svgs/camera.svg +1 -1
- package/svgs/canvas.svg +1 -1
- package/svgs/check-circle-outline.svg +1 -1
- package/svgs/check-circle.svg +1 -1
- package/svgs/check.svg +1 -1
- package/svgs/checkbox-indeterminate.svg +1 -1
- package/svgs/checkbox.svg +1 -1
- package/svgs/chevron-down-circle.svg +1 -1
- package/svgs/chevron-down.svg +1 -1
- package/svgs/chevron-left-circle.svg +1 -1
- package/svgs/chevron-left-large.svg +1 -1
- package/svgs/chevron-left.svg +1 -1
- package/svgs/chevron-right-circle.svg +1 -1
- package/svgs/chevron-right-large.svg +1 -1
- package/svgs/chevron-right.svg +1 -1
- package/svgs/chevron-up-circle.svg +1 -1
- package/svgs/chevron-up.svg +1 -1
- package/svgs/child-issues.svg +1 -1
- package/svgs/code.svg +1 -1
- package/svgs/comment.svg +1 -1
- package/svgs/component.svg +1 -1
- package/svgs/copy.svg +1 -1
- package/svgs/creditcard-filled.svg +1 -1
- package/svgs/creditcard.svg +1 -1
- package/svgs/cross-circle.svg +1 -1
- package/svgs/cross.svg +1 -1
- package/svgs/dashboard.svg +1 -1
- package/svgs/decision.svg +1 -1
- package/svgs/department.svg +1 -1
- package/svgs/detail-view.svg +1 -1
- package/svgs/discover-filled.svg +1 -1
- package/svgs/discover.svg +1 -1
- package/svgs/document-filled.svg +1 -1
- package/svgs/document.svg +1 -1
- package/svgs/documents.svg +1 -1
- package/svgs/download.svg +1 -1
- package/svgs/dropbox.svg +1 -1
- package/svgs/edit-filled.svg +1 -1
- package/svgs/edit.svg +1 -1
- package/svgs/editor/add.svg +1 -1
- package/svgs/editor/addon.svg +1 -1
- package/svgs/editor/advanced.svg +1 -1
- package/svgs/editor/align-center.svg +1 -1
- package/svgs/editor/align-image-center.svg +1 -1
- package/svgs/editor/align-image-left.svg +1 -1
- package/svgs/editor/align-image-right.svg +1 -1
- package/svgs/editor/align-left.svg +1 -1
- package/svgs/editor/align-right.svg +1 -1
- package/svgs/editor/attachment.svg +1 -1
- package/svgs/editor/background-color.svg +1 -1
- package/svgs/editor/bold.svg +1 -1
- package/svgs/editor/bullet-list.svg +1 -1
- package/svgs/editor/close.svg +1 -1
- package/svgs/editor/code.svg +1 -1
- package/svgs/editor/collapse.svg +1 -1
- package/svgs/editor/date.svg +1 -1
- package/svgs/editor/decision.svg +1 -1
- package/svgs/editor/divider.svg +1 -1
- package/svgs/editor/done.svg +1 -1
- package/svgs/editor/edit.svg +1 -1
- package/svgs/editor/emoji.svg +1 -1
- package/svgs/editor/error.svg +1 -1
- package/svgs/editor/expand.svg +1 -1
- package/svgs/editor/feedback.svg +1 -1
- package/svgs/editor/file-preview.svg +1 -1
- package/svgs/editor/file.svg +1 -1
- package/svgs/editor/help.svg +1 -1
- package/svgs/editor/hint.svg +1 -1
- package/svgs/editor/horizontal-rule.svg +1 -1
- package/svgs/editor/image-border.svg +1 -1
- package/svgs/editor/image-resize.svg +1 -1
- package/svgs/editor/image.svg +1 -1
- package/svgs/editor/indent.svg +1 -1
- package/svgs/editor/info.svg +1 -1
- package/svgs/editor/italic.svg +1 -1
- package/svgs/editor/layout-single.svg +1 -1
- package/svgs/editor/layout-three-equal.svg +1 -1
- package/svgs/editor/layout-three-with-sidebars.svg +1 -1
- package/svgs/editor/layout-two-equal.svg +1 -1
- package/svgs/editor/layout-two-left-sidebar.svg +1 -1
- package/svgs/editor/layout-two-right-sidebar.svg +1 -1
- package/svgs/editor/link.svg +1 -1
- package/svgs/editor/media-center.svg +1 -1
- package/svgs/editor/media-full-width.svg +1 -1
- package/svgs/editor/media-wide.svg +1 -1
- package/svgs/editor/media-wrap-left.svg +1 -1
- package/svgs/editor/media-wrap-right.svg +1 -1
- package/svgs/editor/mention.svg +1 -1
- package/svgs/editor/more.svg +1 -1
- package/svgs/editor/note.svg +1 -1
- package/svgs/editor/number-list.svg +1 -1
- package/svgs/editor/open.svg +1 -1
- package/svgs/editor/outdent.svg +1 -1
- package/svgs/editor/panel.svg +1 -1
- package/svgs/editor/photo.svg +1 -1
- package/svgs/editor/quote.svg +1 -1
- package/svgs/editor/recent.svg +1 -1
- package/svgs/editor/redo.svg +1 -1
- package/svgs/editor/remove-emoji.svg +1 -1
- package/svgs/editor/remove.svg +1 -1
- package/svgs/editor/search.svg +1 -1
- package/svgs/editor/settings.svg +1 -1
- package/svgs/editor/strikethrough.svg +1 -1
- package/svgs/editor/success.svg +1 -1
- package/svgs/editor/table-display-options.svg +1 -1
- package/svgs/editor/table.svg +1 -1
- package/svgs/editor/task.svg +1 -1
- package/svgs/editor/text-color.svg +1 -1
- package/svgs/editor/text-style.svg +1 -1
- package/svgs/editor/underline.svg +1 -1
- package/svgs/editor/undo.svg +1 -1
- package/svgs/editor/unlink.svg +1 -1
- package/svgs/editor/warning.svg +1 -1
- package/svgs/email.svg +1 -1
- package/svgs/emoji/activity.svg +1 -1
- package/svgs/emoji/atlassian.svg +1 -1
- package/svgs/emoji/custom.svg +1 -1
- package/svgs/emoji/emoji.svg +1 -1
- package/svgs/emoji/flags.svg +1 -1
- package/svgs/emoji/food.svg +1 -1
- package/svgs/emoji/frequent.svg +1 -1
- package/svgs/emoji/keyboard.svg +1 -1
- package/svgs/emoji/nature.svg +1 -1
- package/svgs/emoji/objects.svg +1 -1
- package/svgs/emoji/people.svg +1 -1
- package/svgs/emoji/productivity.svg +1 -1
- package/svgs/emoji/symbols.svg +1 -1
- package/svgs/emoji/travel.svg +1 -1
- package/svgs/emoji-add.svg +1 -1
- package/svgs/emoji.svg +1 -1
- package/svgs/error.svg +1 -1
- package/svgs/export.svg +1 -1
- package/svgs/feedback.svg +1 -1
- package/svgs/file.svg +1 -1
- package/svgs/filter.svg +1 -1
- package/svgs/flag-filled.svg +1 -1
- package/svgs/folder-filled.svg +1 -1
- package/svgs/folder.svg +1 -1
- package/svgs/followers.svg +1 -1
- package/svgs/following.svg +1 -1
- package/svgs/googledrive.svg +1 -1
- package/svgs/graph-bar.svg +1 -1
- package/svgs/graph-line.svg +1 -1
- package/svgs/gsuite.svg +1 -1
- package/svgs/highlights.svg +1 -1
- package/svgs/hipchat/audio-only.svg +1 -1
- package/svgs/hipchat/chevron-double-down.svg +1 -1
- package/svgs/hipchat/chevron-double-up.svg +1 -1
- package/svgs/hipchat/chevron-down.svg +1 -1
- package/svgs/hipchat/chevron-up.svg +1 -1
- package/svgs/hipchat/dial-out.svg +1 -1
- package/svgs/hipchat/lobby.svg +1 -1
- package/svgs/hipchat/outgoing-sound.svg +1 -1
- package/svgs/hipchat/sd-video.svg +1 -1
- package/svgs/home-circle.svg +1 -1
- package/svgs/home.svg +1 -1
- package/svgs/image-border.svg +1 -1
- package/svgs/image-resize.svg +1 -1
- package/svgs/image.svg +1 -1
- package/svgs/info.svg +1 -1
- package/svgs/invite-team.svg +1 -1
- package/svgs/issue-raise.svg +1 -1
- package/svgs/issue.svg +1 -1
- package/svgs/issues.svg +1 -1
- package/svgs/jira/capture.svg +1 -1
- package/svgs/jira/failed-build-status.svg +1 -1
- package/svgs/jira/labs.svg +1 -1
- package/svgs/jira/test-session.svg +1 -1
- package/svgs/label.svg +1 -1
- package/svgs/lightbulb-filled.svg +1 -1
- package/svgs/lightbulb.svg +1 -1
- package/svgs/like.svg +1 -1
- package/svgs/link-filled.svg +1 -1
- package/svgs/link.svg +1 -1
- package/svgs/list.svg +1 -1
- package/svgs/location.svg +1 -1
- package/svgs/lock-circle.svg +1 -1
- package/svgs/lock-filled.svg +1 -1
- package/svgs/lock.svg +1 -1
- package/svgs/marketplace.svg +1 -1
- package/svgs/media-services/actual-size.svg +1 -1
- package/svgs/media-services/add-comment.svg +1 -1
- package/svgs/media-services/annotate.svg +1 -1
- package/svgs/media-services/arrow.svg +1 -1
- package/svgs/media-services/audio.svg +1 -1
- package/svgs/media-services/blur.svg +1 -1
- package/svgs/media-services/brush.svg +1 -1
- package/svgs/media-services/button-option.svg +1 -1
- package/svgs/media-services/code.svg +1 -1
- package/svgs/media-services/document.svg +1 -1
- package/svgs/media-services/filter.svg +1 -1
- package/svgs/media-services/fit-to-page.svg +1 -1
- package/svgs/media-services/full-screen.svg +1 -1
- package/svgs/media-services/grid.svg +1 -1
- package/svgs/media-services/image.svg +1 -1
- package/svgs/media-services/line-thickness.svg +1 -1
- package/svgs/media-services/line.svg +1 -1
- package/svgs/media-services/no-image.svg +1 -1
- package/svgs/media-services/open-mediaviewer.svg +1 -1
- package/svgs/media-services/oval.svg +1 -1
- package/svgs/media-services/pdf.svg +1 -1
- package/svgs/media-services/preselected.svg +1 -1
- package/svgs/media-services/presentation.svg +1 -1
- package/svgs/media-services/rectangle.svg +1 -1
- package/svgs/media-services/scale-large.svg +1 -1
- package/svgs/media-services/scale-small.svg +1 -1
- package/svgs/media-services/spreadsheet.svg +1 -1
- package/svgs/media-services/unknown.svg +1 -1
- package/svgs/media-services/video.svg +1 -1
- package/svgs/media-services/zip.svg +1 -1
- package/svgs/media-services/zoom-in.svg +1 -1
- package/svgs/media-services/zoom-out.svg +1 -1
- package/svgs/mention.svg +1 -1
- package/svgs/menu-expand.svg +1 -1
- package/svgs/menu.svg +1 -1
- package/svgs/mobile.svg +1 -1
- package/svgs/notification-all.svg +1 -1
- package/svgs/notification-direct.svg +1 -1
- package/svgs/notification.svg +1 -1
- package/svgs/office-building-filled.svg +1 -1
- package/svgs/office-building.svg +1 -1
- package/svgs/open.svg +1 -1
- package/svgs/overview.svg +1 -1
- package/svgs/page-filled.svg +1 -1
- package/svgs/page.svg +1 -1
- package/svgs/pdf.svg +1 -1
- package/svgs/people-group.svg +1 -1
- package/svgs/people.svg +1 -1
- package/svgs/person-circle.svg +1 -1
- package/svgs/person-with-circle.svg +1 -1
- package/svgs/person-with-cross.svg +1 -1
- package/svgs/person-with-tick.svg +1 -1
- package/svgs/person.svg +1 -1
- package/svgs/portfolio.svg +1 -1
- package/svgs/preferences.svg +1 -1
- package/svgs/premium.svg +1 -1
- package/svgs/presence-busy.svg +1 -1
- package/svgs/presence-unavailable.svg +1 -1
- package/svgs/question-circle.svg +1 -1
- package/svgs/question.svg +1 -1
- package/svgs/questions.svg +1 -1
- package/svgs/queues.svg +1 -1
- package/svgs/quote.svg +1 -1
- package/svgs/radio.svg +1 -1
- package/svgs/recent.svg +1 -1
- package/svgs/redo.svg +1 -1
- package/svgs/refresh.svg +1 -1
- package/svgs/retry.svg +1 -1
- package/svgs/roadmap.svg +1 -1
- package/svgs/room-menu.svg +1 -1
- package/svgs/schedule-filled.svg +1 -1
- package/svgs/schedule.svg +1 -1
- package/svgs/screen.svg +1 -1
- package/svgs/search.svg +1 -1
- package/svgs/select-clear.svg +1 -1
- package/svgs/send.svg +1 -1
- package/svgs/settings.svg +1 -1
- package/svgs/share.svg +1 -1
- package/svgs/ship.svg +1 -1
- package/svgs/shortcut.svg +1 -1
- package/svgs/sign-in.svg +1 -1
- package/svgs/sign-out.svg +1 -1
- package/svgs/sprint.svg +1 -1
- package/svgs/star-filled.svg +1 -1
- package/svgs/star-large.svg +1 -1
- package/svgs/star.svg +1 -1
- package/svgs/status.svg +1 -1
- package/svgs/stopwatch.svg +1 -1
- package/svgs/subtask.svg +1 -1
- package/svgs/suitcase.svg +1 -1
- package/svgs/switcher.svg +1 -1
- package/svgs/table.svg +1 -1
- package/svgs/task.svg +1 -1
- package/svgs/trash.svg +1 -1
- package/svgs/tray.svg +1 -1
- package/svgs/undo.svg +1 -1
- package/svgs/unlink.svg +1 -1
- package/svgs/unlock-circle.svg +1 -1
- package/svgs/unlock-filled.svg +1 -1
- package/svgs/unlock.svg +1 -1
- package/svgs/upload.svg +1 -1
- package/svgs/user-avatar-circle.svg +1 -1
- package/svgs/vid-audio-muted.svg +1 -1
- package/svgs/vid-audio-on.svg +1 -1
- package/svgs/vid-backward.svg +1 -1
- package/svgs/vid-camera-off.svg +1 -1
- package/svgs/vid-camera-on.svg +1 -1
- package/svgs/vid-connection-circle.svg +1 -1
- package/svgs/vid-forward.svg +1 -1
- package/svgs/vid-full-screen-off.svg +1 -1
- package/svgs/vid-full-screen-on.svg +1 -1
- package/svgs/vid-hang-up.svg +1 -1
- package/svgs/vid-hd-circle.svg +1 -1
- package/svgs/vid-pause.svg +1 -1
- package/svgs/vid-play.svg +1 -1
- package/svgs/vid-raised-hand.svg +1 -1
- package/svgs/vid-share-screen.svg +1 -1
- package/svgs/vid-speaking-circle.svg +1 -1
- package/svgs/vid-volume-full.svg +1 -1
- package/svgs/vid-volume-half.svg +1 -1
- package/svgs/vid-volume-muted.svg +1 -1
- package/svgs/video-circle.svg +1 -1
- package/svgs/video-filled.svg +1 -1
- package/svgs/warning.svg +1 -1
- package/svgs/watch-filled.svg +1 -1
- package/svgs/watch.svg +1 -1
- package/svgs/world-small.svg +1 -1
- package/svgs/world.svg +1 -1
|
@@ -1043,19 +1043,15 @@ var migrationMap = {
|
|
|
1043
1043
|
xlarge: 'icon-tile'
|
|
1044
1044
|
}
|
|
1045
1045
|
},
|
|
1046
|
-
download: {
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
large: 'icon-tile',
|
|
1056
|
-
xlarge: 'icon-tile'
|
|
1057
|
-
}
|
|
1058
|
-
},
|
|
1046
|
+
// download: {
|
|
1047
|
+
// newIcon: { name: 'cloud-arrow-down', type: 'core', package: '@atlaskit/icon' },
|
|
1048
|
+
// sizeGuidance: {
|
|
1049
|
+
// small: 'swap',
|
|
1050
|
+
// medium: 'swap',
|
|
1051
|
+
// large: 'icon-tile',
|
|
1052
|
+
// xlarge: 'icon-tile',
|
|
1053
|
+
// },
|
|
1054
|
+
// },
|
|
1059
1055
|
'drag-handler': {
|
|
1060
1056
|
newIcon: {
|
|
1061
1057
|
name: 'drag-handle',
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React, { memo } from 'react';
|
|
3
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
|
+
import LegacyIcon from './icon';
|
|
5
|
+
const sizesEligibleForNewIcons = ['small', 'medium'];
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* `IconFacade` is a component that conditionally renders either a new or legacy icon based on a feature flag.
|
|
9
|
+
*
|
|
10
|
+
* @param {IconFacadeProps} props - The props for the IconFacade component. Includes properties for configuring
|
|
11
|
+
* the icon such as `size`, `spacing`, `primaryColor`, `iconType`, and potentially others depending on the icon.
|
|
12
|
+
* `dangerouslySetGlyph` is a prop specific to the legacy icon component for setting the icon glyph directly.
|
|
13
|
+
* @returns A React element representing either the new or legacy icon based on the feature flag and icon size.
|
|
14
|
+
*/
|
|
15
|
+
export const IconFacade = /*#__PURE__*/memo(function IconFacade({
|
|
16
|
+
dangerouslySetGlyph,
|
|
17
|
+
...props
|
|
18
|
+
}) {
|
|
19
|
+
var _props$size;
|
|
20
|
+
const NewIcon = props.newIcon;
|
|
21
|
+
|
|
22
|
+
// By default, the icon size will be medium and spacing will be none for small icons
|
|
23
|
+
const size = (_props$size = props.size) !== null && _props$size !== void 0 ? _props$size : 'medium';
|
|
24
|
+
const spacing = size === 'small' ? 'none' : 'spacious';
|
|
25
|
+
|
|
26
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
27
|
+
const useNewIcon = fg('platform-visual-refresh-icons-legacy-facade') && sizesEligibleForNewIcons.includes(size);
|
|
28
|
+
if (useNewIcon && NewIcon) {
|
|
29
|
+
return /*#__PURE__*/React.createElement(NewIcon, _extends({}, props, {
|
|
30
|
+
spacing: spacing,
|
|
31
|
+
color: props.primaryColor || 'currentColor',
|
|
32
|
+
type: props.iconType
|
|
33
|
+
}));
|
|
34
|
+
}
|
|
35
|
+
return /*#__PURE__*/React.createElement(LegacyIcon, _extends({
|
|
36
|
+
dangerouslySetGlyph: dangerouslySetGlyph
|
|
37
|
+
}, props));
|
|
38
|
+
});
|
|
39
|
+
export default IconFacade;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { default, Icon } from '../components/icon';
|
|
1
|
+
export { default, Icon } from '../components/icon';
|
|
2
|
+
export { IconFacade as UNSAFE_IconFacade } from '../components/icon-facade';
|
|
@@ -105,6 +105,27 @@ const metadata = {
|
|
|
105
105
|
type: 'Global noun',
|
|
106
106
|
usage: 'Reserved for marketplace apps and integrations across products.'
|
|
107
107
|
},
|
|
108
|
+
'app-switcher': {
|
|
109
|
+
keywords: ['app-switcher', 'appswitcher', 'icon', 'core', 'application switcher', 'change product', 'switch product', 'product switcher', 'top navigation'],
|
|
110
|
+
componentName: 'AppSwitcherIcon',
|
|
111
|
+
package: '@atlaskit/icon/core/app-switcher',
|
|
112
|
+
oldName: ['app-switcher', 'switcher'],
|
|
113
|
+
categorization: 'Single-purpose',
|
|
114
|
+
location: 'ADS',
|
|
115
|
+
team: 'ADS',
|
|
116
|
+
type: 'Core',
|
|
117
|
+
usage: 'Reserved for app switcher in global product navigation.'
|
|
118
|
+
},
|
|
119
|
+
'app-switcher-legacy': {
|
|
120
|
+
keywords: ['app-switcher-legacy', 'appswitcherlegacy', 'icon', 'core', 'application switcher', 'change product', 'switch product', 'product switcher', 'top navigation'],
|
|
121
|
+
componentName: 'AppSwitcherLegacyIcon',
|
|
122
|
+
package: '@atlaskit/icon/core/app-switcher-legacy',
|
|
123
|
+
categorization: 'Single-purpose',
|
|
124
|
+
location: 'ADS',
|
|
125
|
+
team: 'ADS',
|
|
126
|
+
type: 'Core',
|
|
127
|
+
usage: 'Reserved for the legacy app switcher in global product navigation.'
|
|
128
|
+
},
|
|
108
129
|
apps: {
|
|
109
130
|
keywords: ['apps', 'icon', 'core', 'third-party', 'applications'],
|
|
110
131
|
componentName: 'AppsIcon',
|
|
@@ -1162,6 +1183,17 @@ const metadata = {
|
|
|
1162
1183
|
type: 'Core',
|
|
1163
1184
|
usage: 'Reserved for user mentions.'
|
|
1164
1185
|
},
|
|
1186
|
+
menu: {
|
|
1187
|
+
keywords: ['menu', 'hamburger', 'navigation', 'switcher', 'app switcher', 'icon', 'core', 'menu', 'top navigation', '3 lines', 'hamburger'],
|
|
1188
|
+
componentName: 'MenuIcon',
|
|
1189
|
+
package: '@atlaskit/icon/core/menu',
|
|
1190
|
+
oldName: ['menu-expand', 'menu'],
|
|
1191
|
+
categorization: 'Single-purpose',
|
|
1192
|
+
location: 'ADS',
|
|
1193
|
+
team: 'ADS',
|
|
1194
|
+
type: 'Core',
|
|
1195
|
+
usage: 'Reserved for accessing the menu in global product navigation.'
|
|
1196
|
+
},
|
|
1165
1197
|
microphone: {
|
|
1166
1198
|
keywords: ['microphone', 'icon', 'core', 'mic', 'mic on', 'voice', 'speak'],
|
|
1167
1199
|
componentName: 'MicrophoneIcon',
|
|
@@ -1192,6 +1224,17 @@ const metadata = {
|
|
|
1192
1224
|
type: 'Core',
|
|
1193
1225
|
usage: 'Reserved for a non-expandable item in a page tree.'
|
|
1194
1226
|
},
|
|
1227
|
+
notification: {
|
|
1228
|
+
keywords: ['notification', 'bell', 'alarm', 'icon', 'core', 'bell', 'alert', 'top navigation'],
|
|
1229
|
+
componentName: 'NotificationIcon',
|
|
1230
|
+
package: '@atlaskit/icon/core/notification',
|
|
1231
|
+
oldName: ['notification-direct', 'notification'],
|
|
1232
|
+
categorization: 'Single-purpose',
|
|
1233
|
+
location: 'ADS',
|
|
1234
|
+
team: 'ADS',
|
|
1235
|
+
type: 'Core',
|
|
1236
|
+
usage: 'Reserved for notifications within global product navigation and within product screens.'
|
|
1237
|
+
},
|
|
1195
1238
|
'office-building': {
|
|
1196
1239
|
keywords: ['office-building', 'officebuilding', 'icon', 'core', 'organization', 'organisation', 'business'],
|
|
1197
1240
|
componentName: 'OfficeBuildingIcon',
|
|
@@ -1037,19 +1037,15 @@ const migrationMap = {
|
|
|
1037
1037
|
xlarge: 'icon-tile'
|
|
1038
1038
|
}
|
|
1039
1039
|
},
|
|
1040
|
-
download: {
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
large: 'icon-tile',
|
|
1050
|
-
xlarge: 'icon-tile'
|
|
1051
|
-
}
|
|
1052
|
-
},
|
|
1040
|
+
// download: {
|
|
1041
|
+
// newIcon: { name: 'cloud-arrow-down', type: 'core', package: '@atlaskit/icon' },
|
|
1042
|
+
// sizeGuidance: {
|
|
1043
|
+
// small: 'swap',
|
|
1044
|
+
// medium: 'swap',
|
|
1045
|
+
// large: 'icon-tile',
|
|
1046
|
+
// xlarge: 'icon-tile',
|
|
1047
|
+
// },
|
|
1048
|
+
// },
|
|
1053
1049
|
'drag-handler': {
|
|
1054
1050
|
newIcon: {
|
|
1055
1051
|
name: 'drag-handle',
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["dangerouslySetGlyph"];
|
|
4
|
+
import React, { memo } from 'react';
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
|
+
import LegacyIcon from './icon';
|
|
7
|
+
var sizesEligibleForNewIcons = ['small', 'medium'];
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* `IconFacade` is a component that conditionally renders either a new or legacy icon based on a feature flag.
|
|
11
|
+
*
|
|
12
|
+
* @param {IconFacadeProps} props - The props for the IconFacade component. Includes properties for configuring
|
|
13
|
+
* the icon such as `size`, `spacing`, `primaryColor`, `iconType`, and potentially others depending on the icon.
|
|
14
|
+
* `dangerouslySetGlyph` is a prop specific to the legacy icon component for setting the icon glyph directly.
|
|
15
|
+
* @returns A React element representing either the new or legacy icon based on the feature flag and icon size.
|
|
16
|
+
*/
|
|
17
|
+
export var IconFacade = /*#__PURE__*/memo(function IconFacade(_ref) {
|
|
18
|
+
var _props$size;
|
|
19
|
+
var dangerouslySetGlyph = _ref.dangerouslySetGlyph,
|
|
20
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
21
|
+
var NewIcon = props.newIcon;
|
|
22
|
+
|
|
23
|
+
// By default, the icon size will be medium and spacing will be none for small icons
|
|
24
|
+
var size = (_props$size = props.size) !== null && _props$size !== void 0 ? _props$size : 'medium';
|
|
25
|
+
var spacing = size === 'small' ? 'none' : 'spacious';
|
|
26
|
+
|
|
27
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
28
|
+
var useNewIcon = fg('platform-visual-refresh-icons-legacy-facade') && sizesEligibleForNewIcons.includes(size);
|
|
29
|
+
if (useNewIcon && NewIcon) {
|
|
30
|
+
return /*#__PURE__*/React.createElement(NewIcon, _extends({}, props, {
|
|
31
|
+
spacing: spacing,
|
|
32
|
+
color: props.primaryColor || 'currentColor',
|
|
33
|
+
type: props.iconType
|
|
34
|
+
}));
|
|
35
|
+
}
|
|
36
|
+
return /*#__PURE__*/React.createElement(LegacyIcon, _extends({
|
|
37
|
+
dangerouslySetGlyph: dangerouslySetGlyph
|
|
38
|
+
}, props));
|
|
39
|
+
});
|
|
40
|
+
export default IconFacade;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { default, Icon } from '../components/icon';
|
|
1
|
+
export { default, Icon } from '../components/icon';
|
|
2
|
+
export { IconFacade as UNSAFE_IconFacade } from '../components/icon-facade';
|
|
@@ -105,6 +105,27 @@ var metadata = {
|
|
|
105
105
|
type: 'Global noun',
|
|
106
106
|
usage: 'Reserved for marketplace apps and integrations across products.'
|
|
107
107
|
},
|
|
108
|
+
'app-switcher': {
|
|
109
|
+
keywords: ['app-switcher', 'appswitcher', 'icon', 'core', 'application switcher', 'change product', 'switch product', 'product switcher', 'top navigation'],
|
|
110
|
+
componentName: 'AppSwitcherIcon',
|
|
111
|
+
package: '@atlaskit/icon/core/app-switcher',
|
|
112
|
+
oldName: ['app-switcher', 'switcher'],
|
|
113
|
+
categorization: 'Single-purpose',
|
|
114
|
+
location: 'ADS',
|
|
115
|
+
team: 'ADS',
|
|
116
|
+
type: 'Core',
|
|
117
|
+
usage: 'Reserved for app switcher in global product navigation.'
|
|
118
|
+
},
|
|
119
|
+
'app-switcher-legacy': {
|
|
120
|
+
keywords: ['app-switcher-legacy', 'appswitcherlegacy', 'icon', 'core', 'application switcher', 'change product', 'switch product', 'product switcher', 'top navigation'],
|
|
121
|
+
componentName: 'AppSwitcherLegacyIcon',
|
|
122
|
+
package: '@atlaskit/icon/core/app-switcher-legacy',
|
|
123
|
+
categorization: 'Single-purpose',
|
|
124
|
+
location: 'ADS',
|
|
125
|
+
team: 'ADS',
|
|
126
|
+
type: 'Core',
|
|
127
|
+
usage: 'Reserved for the legacy app switcher in global product navigation.'
|
|
128
|
+
},
|
|
108
129
|
apps: {
|
|
109
130
|
keywords: ['apps', 'icon', 'core', 'third-party', 'applications'],
|
|
110
131
|
componentName: 'AppsIcon',
|
|
@@ -1162,6 +1183,17 @@ var metadata = {
|
|
|
1162
1183
|
type: 'Core',
|
|
1163
1184
|
usage: 'Reserved for user mentions.'
|
|
1164
1185
|
},
|
|
1186
|
+
menu: {
|
|
1187
|
+
keywords: ['menu', 'hamburger', 'navigation', 'switcher', 'app switcher', 'icon', 'core', 'menu', 'top navigation', '3 lines', 'hamburger'],
|
|
1188
|
+
componentName: 'MenuIcon',
|
|
1189
|
+
package: '@atlaskit/icon/core/menu',
|
|
1190
|
+
oldName: ['menu-expand', 'menu'],
|
|
1191
|
+
categorization: 'Single-purpose',
|
|
1192
|
+
location: 'ADS',
|
|
1193
|
+
team: 'ADS',
|
|
1194
|
+
type: 'Core',
|
|
1195
|
+
usage: 'Reserved for accessing the menu in global product navigation.'
|
|
1196
|
+
},
|
|
1165
1197
|
microphone: {
|
|
1166
1198
|
keywords: ['microphone', 'icon', 'core', 'mic', 'mic on', 'voice', 'speak'],
|
|
1167
1199
|
componentName: 'MicrophoneIcon',
|
|
@@ -1192,6 +1224,17 @@ var metadata = {
|
|
|
1192
1224
|
type: 'Core',
|
|
1193
1225
|
usage: 'Reserved for a non-expandable item in a page tree.'
|
|
1194
1226
|
},
|
|
1227
|
+
notification: {
|
|
1228
|
+
keywords: ['notification', 'bell', 'alarm', 'icon', 'core', 'bell', 'alert', 'top navigation'],
|
|
1229
|
+
componentName: 'NotificationIcon',
|
|
1230
|
+
package: '@atlaskit/icon/core/notification',
|
|
1231
|
+
oldName: ['notification-direct', 'notification'],
|
|
1232
|
+
categorization: 'Single-purpose',
|
|
1233
|
+
location: 'ADS',
|
|
1234
|
+
team: 'ADS',
|
|
1235
|
+
type: 'Core',
|
|
1236
|
+
usage: 'Reserved for notifications within global product navigation and within product screens.'
|
|
1237
|
+
},
|
|
1195
1238
|
'office-building': {
|
|
1196
1239
|
keywords: ['office-building', 'officebuilding', 'icon', 'core', 'organization', 'organisation', 'business'],
|
|
1197
1240
|
componentName: 'OfficeBuildingIcon',
|
|
@@ -1037,19 +1037,15 @@ var migrationMap = {
|
|
|
1037
1037
|
xlarge: 'icon-tile'
|
|
1038
1038
|
}
|
|
1039
1039
|
},
|
|
1040
|
-
download: {
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
large: 'icon-tile',
|
|
1050
|
-
xlarge: 'icon-tile'
|
|
1051
|
-
}
|
|
1052
|
-
},
|
|
1040
|
+
// download: {
|
|
1041
|
+
// newIcon: { name: 'cloud-arrow-down', type: 'core', package: '@atlaskit/icon' },
|
|
1042
|
+
// sizeGuidance: {
|
|
1043
|
+
// small: 'swap',
|
|
1044
|
+
// medium: 'swap',
|
|
1045
|
+
// large: 'icon-tile',
|
|
1046
|
+
// xlarge: 'icon-tile',
|
|
1047
|
+
// },
|
|
1048
|
+
// },
|
|
1053
1049
|
'drag-handler': {
|
|
1054
1050
|
newIcon: {
|
|
1055
1051
|
name: 'drag-handle',
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { NewIconProps } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* `IconFacade` is a component that conditionally renders either a new or legacy icon based on a feature flag.
|
|
5
|
+
*
|
|
6
|
+
* @param {IconFacadeProps} props - The props for the IconFacade component. Includes properties for configuring
|
|
7
|
+
* the icon such as `size`, `spacing`, `primaryColor`, `iconType`, and potentially others depending on the icon.
|
|
8
|
+
* `dangerouslySetGlyph` is a prop specific to the legacy icon component for setting the icon glyph directly.
|
|
9
|
+
* @returns A React element representing either the new or legacy icon based on the feature flag and icon size.
|
|
10
|
+
*/
|
|
11
|
+
export declare const IconFacade: React.NamedExoticComponent<import("../types").IconProps & {
|
|
12
|
+
newIcon?: React.ComponentType<NewIconProps> | undefined;
|
|
13
|
+
iconType?: "utility" | "global" | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export default IconFacade;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -170,4 +170,8 @@ type IconMigrationResult = {
|
|
|
170
170
|
};
|
|
171
171
|
export type IconMigrationSizeGuidance = '16-icon-tile' | '24-icon-tile' | '32-icon-tile' | '48-icon-tile' | 'swap' | 'swap-slight-visual-change' | 'swap-visual-change' | 'swap-size-shift-utility' | 'product-icon' | 'not-recommended' | 'icon-tile' | 'top-nav' | 'icon-lab' | 'no-larger-size';
|
|
172
172
|
export type IconMigrationMap = Record<string, IconMigrationResult>;
|
|
173
|
+
export type IconFacadeProps = IconProps & {
|
|
174
|
+
newIcon?: React.ComponentType<NewIconProps>;
|
|
175
|
+
iconType?: NewIconProps['type'];
|
|
176
|
+
};
|
|
173
177
|
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { NewIconProps } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* `IconFacade` is a component that conditionally renders either a new or legacy icon based on a feature flag.
|
|
5
|
+
*
|
|
6
|
+
* @param {IconFacadeProps} props - The props for the IconFacade component. Includes properties for configuring
|
|
7
|
+
* the icon such as `size`, `spacing`, `primaryColor`, `iconType`, and potentially others depending on the icon.
|
|
8
|
+
* `dangerouslySetGlyph` is a prop specific to the legacy icon component for setting the icon glyph directly.
|
|
9
|
+
* @returns A React element representing either the new or legacy icon based on the feature flag and icon size.
|
|
10
|
+
*/
|
|
11
|
+
export declare const IconFacade: React.NamedExoticComponent<import("../types").IconProps & {
|
|
12
|
+
newIcon?: React.ComponentType<NewIconProps> | undefined;
|
|
13
|
+
iconType?: "utility" | "global" | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export default IconFacade;
|
|
@@ -170,4 +170,8 @@ type IconMigrationResult = {
|
|
|
170
170
|
};
|
|
171
171
|
export type IconMigrationSizeGuidance = '16-icon-tile' | '24-icon-tile' | '32-icon-tile' | '48-icon-tile' | 'swap' | 'swap-slight-visual-change' | 'swap-visual-change' | 'swap-size-shift-utility' | 'product-icon' | 'not-recommended' | 'icon-tile' | 'top-nav' | 'icon-lab' | 'no-larger-size';
|
|
172
172
|
export type IconMigrationMap = Record<string, IconMigrationResult>;
|
|
173
|
+
export type IconFacadeProps = IconProps & {
|
|
174
|
+
newIcon?: React.ComponentType<NewIconProps>;
|
|
175
|
+
iconType?: NewIconProps['type'];
|
|
176
|
+
};
|
|
173
177
|
export {};
|
package/glyph/activity.js
CHANGED
|
@@ -4,17 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _base = require("@atlaskit/icon/base");
|
|
11
|
-
|
|
9
|
+
var _dashboard = _interopRequireDefault(require("@atlaskit/icon/core/dashboard"));
|
|
12
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
const ActivityIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
|
|
12
|
+
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill="currentColor" fill-rule="evenodd"><path fill-rule="nonzero" d="M19.004 17C19 17 19 7.006 19 7.006 19 7 4.996 7 4.996 7 5 7 5 16.994 5 16.994 5 17 19.004 17 19.004 17M3 7.006A2 2 0 0 1 4.995 5h14.01A2 2 0 0 1 21 7.006v9.988A2 2 0 0 1 19.005 19H4.995A2 2 0 0 1 3 16.994z"/><path d="M4 6h16v5H4zm5 2c0 .556.446 1 .995 1h8.01c.54 0 .995-.448.995-1 0-.556-.446-1-.995-1h-8.01C9.455 7 9 7.448 9 8M5 8c0 .556.448 1 1 1 .556 0 1-.448 1-1 0-.556-.448-1-1-1-.556 0-1 .448-1 1"/></g></svg>`
|
|
13
|
+
}, props, {
|
|
14
|
+
newIcon: _dashboard.default
|
|
15
|
+
}));
|
|
18
16
|
ActivityIcon.displayName = 'ActivityIcon';
|
|
19
|
-
var _default = ActivityIcon;
|
|
20
|
-
exports.default = _default;
|
|
17
|
+
var _default = exports.default = ActivityIcon;
|
package/glyph/add-circle.js
CHANGED
|
@@ -4,17 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _base = require("@atlaskit/icon/base");
|
|
11
|
-
|
|
9
|
+
var _add = _interopRequireDefault(require("@atlaskit/icon/core/add"));
|
|
12
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
const AddCircleIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
|
|
12
|
+
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill-rule="evenodd"><circle cx="12" cy="12" r="10" fill="currentColor"/><path fill="inherit" d="M11.046 7.958v3.088H7.958a.954.954 0 1 0 0 1.908h3.088v3.088a.954.954 0 1 0 1.908 0v-3.088h3.088a.954.954 0 1 0 0-1.908h-3.088V7.958a.954.954 0 1 0-1.908 0"/></g></svg>`
|
|
13
|
+
}, props, {
|
|
14
|
+
newIcon: _add.default
|
|
15
|
+
}));
|
|
18
16
|
AddCircleIcon.displayName = 'AddCircleIcon';
|
|
19
|
-
var _default = AddCircleIcon;
|
|
20
|
-
exports.default = _default;
|
|
17
|
+
var _default = exports.default = AddCircleIcon;
|
package/glyph/add-item.js
CHANGED
|
@@ -4,17 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _base = require("@atlaskit/icon/base");
|
|
11
|
-
|
|
9
|
+
var _shortcut = _interopRequireDefault(require("@atlaskit/icon/core/shortcut"));
|
|
12
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
const AddItemIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
|
|
12
|
+
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill="currentColor" fill-rule="evenodd"><path fill-rule="nonzero" d="M16.002 3H4.995A1.995 1.995 0 0 0 3 4.995v14.01C3 20.107 3.893 21 4.995 21h14.01A1.995 1.995 0 0 0 21 19.005V7.998 11h-2v8H5V5h8V3z"/><path d="M19 5V3.99A1 1 0 0 0 18 3c-.556 0-1 .444-1 .99V5h-1a1 1 0 0 0 0 2h1v1.01A1 1 0 0 0 18 9c.556 0 1-.444 1-.99V7h1a1 1 0 0 0 0-2z"/></g></svg>`
|
|
13
|
+
}, props, {
|
|
14
|
+
newIcon: _shortcut.default
|
|
15
|
+
}));
|
|
18
16
|
AddItemIcon.displayName = 'AddItemIcon';
|
|
19
|
-
var _default = AddItemIcon;
|
|
20
|
-
exports.default = _default;
|
|
17
|
+
var _default = exports.default = AddItemIcon;
|
package/glyph/add.js
CHANGED
|
@@ -4,17 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _base = require("@atlaskit/icon/base");
|
|
11
|
-
|
|
9
|
+
var _add = _interopRequireDefault(require("@atlaskit/icon/core/add"));
|
|
12
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
const AddIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
|
|
12
|
+
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentColor" fill-rule="evenodd" d="M13 11V3.993A.997.997 0 0 0 12 3c-.556 0-1 .445-1 .993V11H3.993A.997.997 0 0 0 3 12c0 .557.445 1 .993 1H11v7.007c0 .548.448.993 1 .993.556 0 1-.445 1-.993V13h7.007A.997.997 0 0 0 21 12c0-.556-.445-1-.993-1z"/></svg>`
|
|
13
|
+
}, props, {
|
|
14
|
+
newIcon: _add.default
|
|
15
|
+
}));
|
|
18
16
|
AddIcon.displayName = 'AddIcon';
|
|
19
|
-
var _default = AddIcon;
|
|
20
|
-
exports.default = _default;
|
|
17
|
+
var _default = exports.default = AddIcon;
|
package/glyph/addon.js
CHANGED
|
@@ -4,17 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _base = require("@atlaskit/icon/base");
|
|
11
|
-
|
|
9
|
+
var _app = _interopRequireDefault(require("@atlaskit/icon/core/app"));
|
|
12
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
const AddonIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
|
|
12
|
+
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill="currentColor" fill-rule="evenodd"><path d="m5.376 6.455 5.248-3.104c.792-.469 1.963-.467 2.752 0l5.248 3.104C19.416 6.923 20 7.962 20 8.895v6.21c0 .936-.587 1.973-1.376 2.44l-5.248 3.104c-.792.469-1.963.467-2.752 0l-5.248-3.104C4.584 17.077 4 16.038 4 15.105v-6.21c0-.936.587-1.973 1.376-2.44m6.99-1.314c-.165-.098-.566-.098-.733 0L6.385 8.245c-.166.098-.367.454-.367.65v6.21c0 .195.2.551.367.65l5.248 3.104c.166.098.567.098.734 0l5.248-3.104c.166-.098.367-.454.367-.65v-6.21c0-.195-.2-.551-.367-.65z"/><path d="M12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8m0-2a2 2 0 1 0 0-4 2 2 0 0 0 0 4"/></g></svg>`
|
|
13
|
+
}, props, {
|
|
14
|
+
newIcon: _app.default
|
|
15
|
+
}));
|
|
18
16
|
AddonIcon.displayName = 'AddonIcon';
|
|
19
|
-
var _default = AddonIcon;
|
|
20
|
-
exports.default = _default;
|
|
17
|
+
var _default = exports.default = AddonIcon;
|
package/glyph/app-access.js
CHANGED
|
@@ -4,17 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _base = require("@atlaskit/icon/base");
|
|
11
|
-
|
|
9
|
+
var _personAdded = _interopRequireDefault(require("@atlaskit/icon/core/person-added"));
|
|
12
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
const AppAccessIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
|
|
12
|
+
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill-rule="evenodd"><path fill="currentColor" d="M12.682 12H5.01A2.006 2.006 0 0 0 3 14v4.446c0 2.162 4.836 2.951 8.368 2.368A5.98 5.98 0 0 1 10 17a6 6 0 0 1 2.682-5"/><circle cx="9" cy="7" r="4" fill="currentColor"/><circle cx="16" cy="17" r="5" fill="currentColor"/><path fill="inherit" d="M14.674 19.331c.36.36.941.36 1.3 0l2.758-2.763a.92.92 0 0 0-1.301-1.298l-2.108 2.11-.755-.754a.92.92 0 0 0-1.3 1.3z"/></g></svg>`
|
|
13
|
+
}, props, {
|
|
14
|
+
newIcon: _personAdded.default
|
|
15
|
+
}));
|
|
18
16
|
AppAccessIcon.displayName = 'AppAccessIcon';
|
|
19
|
-
var _default = AppAccessIcon;
|
|
20
|
-
exports.default = _default;
|
|
17
|
+
var _default = exports.default = AppAccessIcon;
|
package/glyph/app-switcher.js
CHANGED
|
@@ -4,17 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _base = require("@atlaskit/icon/base");
|
|
11
|
-
|
|
9
|
+
var _appSwitcher = _interopRequireDefault(require("@atlaskit/icon/core/app-switcher"));
|
|
12
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
const AppSwitcherIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
|
|
12
|
+
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentColor" fill-rule="evenodd" d="M4 5.01C4 4.451 4.443 4 5.01 4h1.98C7.549 4 8 4.443 8 5.01v1.98C8 7.549 7.557 8 6.99 8H5.01C4.451 8 4 7.557 4 6.99zm0 6c0-.558.443-1.01 1.01-1.01h1.98c.558 0 1.01.443 1.01 1.01v1.98C8 13.549 7.557 14 6.99 14H5.01C4.451 14 4 13.557 4 12.99zm6-6c0-.558.443-1.01 1.01-1.01h1.98c.558 0 1.01.443 1.01 1.01v1.98C14 7.549 13.557 8 12.99 8h-1.98C10.451 8 10 7.557 10 6.99zm0 6c0-.558.443-1.01 1.01-1.01h1.98c.558 0 1.01.443 1.01 1.01v1.98c0 .558-.443 1.01-1.01 1.01h-1.98c-.558 0-1.01-.443-1.01-1.01zm6-6c0-.558.443-1.01 1.01-1.01h1.98c.558 0 1.01.443 1.01 1.01v1.98C20 7.549 19.557 8 18.99 8h-1.98C16.451 8 16 7.557 16 6.99zm0 6c0-.558.443-1.01 1.01-1.01h1.98c.558 0 1.01.443 1.01 1.01v1.98c0 .558-.443 1.01-1.01 1.01h-1.98c-.558 0-1.01-.443-1.01-1.01zm-12 6c0-.558.443-1.01 1.01-1.01h1.98c.558 0 1.01.443 1.01 1.01v1.98C8 19.549 7.557 20 6.99 20H5.01C4.451 20 4 19.557 4 18.99zm6 0c0-.558.443-1.01 1.01-1.01h1.98c.558 0 1.01.443 1.01 1.01v1.98c0 .558-.443 1.01-1.01 1.01h-1.98c-.558 0-1.01-.443-1.01-1.01zm6 0c0-.558.443-1.01 1.01-1.01h1.98c.558 0 1.01.443 1.01 1.01v1.98c0 .558-.443 1.01-1.01 1.01h-1.98c-.558 0-1.01-.443-1.01-1.01z"/></svg>`
|
|
13
|
+
}, props, {
|
|
14
|
+
newIcon: _appSwitcher.default
|
|
15
|
+
}));
|
|
18
16
|
AppSwitcherIcon.displayName = 'AppSwitcherIcon';
|
|
19
|
-
var _default = AppSwitcherIcon;
|
|
20
|
-
exports.default = _default;
|
|
17
|
+
var _default = exports.default = AppSwitcherIcon;
|
package/glyph/archive.js
CHANGED
|
@@ -4,17 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _base = require("@atlaskit/icon/base");
|
|
11
|
-
|
|
9
|
+
var _archiveBox = _interopRequireDefault(require("@atlaskit/icon/core/archive-box"));
|
|
12
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
const ArchiveIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
|
|
12
|
+
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="currentColor" fill-rule="evenodd" d="M19 3H4.85A2 2 0 0 0 3 5v4h1v10.45A1.67 1.67 0 0 0 5.77 21h12.46A1.67 1.67 0 0 0 20 19.45V9h1V5a2 2 0 0 0-2-2m-1 16H6V9h12zm1-12H5V5h14zm-4 7H9v-2h6z" clip-rule="evenodd"/></svg>`
|
|
13
|
+
}, props, {
|
|
14
|
+
newIcon: _archiveBox.default
|
|
15
|
+
}));
|
|
18
16
|
ArchiveIcon.displayName = 'ArchiveIcon';
|
|
19
|
-
var _default = ArchiveIcon;
|
|
20
|
-
exports.default = _default;
|
|
17
|
+
var _default = exports.default = ArchiveIcon;
|
|
@@ -4,17 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _base = require("@atlaskit/icon/base");
|
|
11
|
-
|
|
9
|
+
var _arrowDown = _interopRequireDefault(require("@atlaskit/icon/core/arrow-down"));
|
|
12
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
const ArrowDownCircleIcon = props => /*#__PURE__*/_react.default.createElement(_base.UNSAFE_IconFacade, Object.assign({
|
|
12
|
+
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><g fill-rule="evenodd"><circle cx="12" cy="12" r="10" fill="currentColor" fill-rule="nonzero"/><path fill="inherit" d="M10.994 8v5.586l-1.279-1.272a1.01 1.01 0 0 0-1.421 0 1 1 0 0 0 0 1.416l2.994 2.977a1.01 1.01 0 0 0 1.423 0l2.994-2.977a1 1 0 0 0 0-1.416 1.01 1.01 0 0 0-1.421 0l-1.279 1.272V8c0-.552-.45-1-1.005-1s-1.006.448-1.006 1"/></g></svg>`
|
|
13
|
+
}, props, {
|
|
14
|
+
newIcon: _arrowDown.default
|
|
15
|
+
}));
|
|
18
16
|
ArrowDownCircleIcon.displayName = 'ArrowDownCircleIcon';
|
|
19
|
-
var _default = ArrowDownCircleIcon;
|
|
20
|
-
exports.default = _default;
|
|
17
|
+
var _default = exports.default = ArrowDownCircleIcon;
|