UNPKG

@atlaskit/editor-common

Version:

A package that contains common classes and components for editor and renderer

284 lines (283 loc) • 7.89 kB
{ "name": "@atlaskit/editor-common", "version": "114.42.0", "description": "A package that contains common classes and components for editor and renderer", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror", "author": "Atlassian Pty Ltd", "license": "Apache-2.0", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "module:es2019": "dist/es2019/index.js", "types": "dist/types/index.d.ts", "typesVersions": { ">=4.5 <4.9": { "*": [ "dist/types-ts4.5/*", "dist/types-ts4.5/index.d.ts" ] } }, "sideEffects": [ "**/*.compiled.css" ], "atlaskit:src": "src/index.ts", "atlassian": { "react-compiler": { "enabled": true, "gating": { "source": "@atlassian/react-compiler-gating", "importSpecifierName": "isReactCompilerActivePlatform" } }, "team": "Editor", "singleton": true }, "dependencies": { "@atlaskit/activity-provider": "^2.6.0", "@atlaskit/adf-schema": "^52.13.0", "@atlaskit/adf-utils": "^19.30.0", "@atlaskit/afm-i18n-platform-editor-editor-common": "2.18.0", "@atlaskit/analytics-listeners": "^10.1.0", "@atlaskit/analytics-namespaced-context": "^7.3.0", "@atlaskit/analytics-next": "^11.2.0", "@atlaskit/atlassian-context": "^0.9.0", "@atlaskit/browser-apis": "^0.0.2", "@atlaskit/button": "^23.11.0", "@atlaskit/codemod-utils": "^4.3.0", "@atlaskit/css": "^0.19.0", "@atlaskit/custom-steps": "^0.17.0", "@atlaskit/dropdown-menu": "^16.9.0", "@atlaskit/editor-json-transformer": "^8.32.0", "@atlaskit/editor-palette": "^2.2.0", "@atlaskit/editor-prosemirror": "^7.3.0", "@atlaskit/editor-shared-styles": "^3.11.0", "@atlaskit/editor-tables": "^2.10.0", "@atlaskit/editor-toolbar": "^1.7.0", "@atlaskit/editor-toolbar-model": "^0.5.0", "@atlaskit/emoji": "^70.10.0", "@atlaskit/icon": "^35.0.0", "@atlaskit/link": "^3.4.0", "@atlaskit/link-datasource": "^5.4.0", "@atlaskit/link-picker": "^5.2.0", "@atlaskit/media-card": "^80.5.0", "@atlaskit/media-client": "^36.3.0", "@atlaskit/media-client-react": "^5.1.0", "@atlaskit/media-common": "^13.3.0", "@atlaskit/media-file-preview": "^0.17.0", "@atlaskit/media-picker": "^71.3.0", "@atlaskit/media-ui": "^29.2.0", "@atlaskit/media-viewer": "^53.2.0", "@atlaskit/mention": "^26.0.0", "@atlaskit/menu": "^8.5.0", "@atlaskit/object": "^1.0.0", "@atlaskit/onboarding": "^14.6.0", "@atlaskit/platform-feature-flags": "^1.1.0", "@atlaskit/platform-feature-flags-react": "^0.5.0", "@atlaskit/primitives": "^19.0.0", "@atlaskit/profilecard": "^25.7.0", "@atlaskit/prosemirror-history": "^0.2.0", "@atlaskit/react-ufo": "^6.0.0", "@atlaskit/section-message": "^8.13.0", "@atlaskit/smart-card": "^44.16.0", "@atlaskit/smart-user-picker": "^10.1.0", "@atlaskit/spinner": "^19.1.0", "@atlaskit/task-decision": "^20.1.0", "@atlaskit/teams-app-config": "^1.12.0", "@atlaskit/textfield": "^8.3.0", "@atlaskit/tmp-editor-statsig": "^82.4.0", "@atlaskit/tokens": "^13.0.0", "@atlaskit/tooltip": "^22.2.0", "@atlaskit/width-detector": "^5.1.0", "@babel/runtime": "^7.0.0", "@compiled/react": "^0.20.0", "@emotion/react": "^11.7.1", "@popperjs/core": "^2.11.8", "@sentry/browser": "^6.18.2", "@sentry/integrations": "^6.18.2", "@sentry/types": "^6.18.2", "bind-event-listener": "^3.0.0", "chromatism": "^2.6.0", "classnames": "^2.2.5", "clipboard-polyfill": "4.0.1", "date-fns": "^2.17.0", "focus-trap": "^2.4.5", "fuse.js": "^6.6.2", "linkify-it": "^3.0.3", "lodash": "^4.17.21", "markdown-it": "^13.0.2", "memoize-one": "^6.0.0", "popper.js": "^1.14.1", "prop-types": "^15.5.10", "raf-schd": "^4.0.3", "re-resizable": "6.0.0", "react-focus-lock": "^2.9.5", "react-loadable": "^5.1.0", "react-virtualized": "^9.22.6", "rusha": "^0.8.13", "uuid": "^3.1.0", "w3c-keyname": "^2.1.8" }, "peerDependencies": { "@atlaskit/media-core": "^37.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0" }, "devDependencies": { "@atlaskit/media-core": "^37.1.0", "@atlassian/a11y-jest-testing": "^0.11.0", "@atlassian/react-compiler-gating": "workspace:^", "@testing-library/dom": "^10.1.0", "@testing-library/jest-dom": "^6.4.5", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.4.3", "@types/linkify-it": "^3.0.2", "@types/markdown-it": "^14.1.2", "@types/raf-schd": "^4.0.1", "@types/react-virtualized": "^9.18.12", "enzyme": "^3.10.0", "raf-stub": "^2.0.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-intl": "^6.6.2", "react-test-renderer": "^18.2.0", "sinon": "^2.2.0" }, "techstack": { "@atlassian/frontend": { "circular-dependencies": [ "file-level" ], "import-structure": "atlassian-conventions" }, "@repo/internal": { "deprecation": "no-deprecated-imports", "design-tokens": [ "color" ], "styling": [ "emotion", "compiled" ] } }, "platform-feature-flags": { "confluence_frontend_native_tabs_extension": { "type": "boolean" }, "platform_editor_updated_dropdown_colors": { "type": "boolean" }, "linking_platform_datasource_assets_objects": { "type": "boolean" }, "editor_inline_comments_on_inline_nodes": { "type": "boolean" }, "platform_editor_typography_ugc": { "type": "boolean" }, "media-perf-uplift-mutation-fix": { "type": "boolean" }, "platform_editor_inline_node_virt_threshold_override": { "type": "boolean" }, "confluence-issue-terminology-refresh": { "type": "boolean" }, "platform_editor_nested_dnd_styles_changes": { "type": "boolean" }, "_editor_a11y_aria_label_removal_popup": { "type": "boolean" }, "platform_editor_bordered_panel_nested_in_table": { "type": "boolean" }, "confluence_connect_macro_preset_height": { "type": "boolean" }, "platform_editor_fix_media_in_renderer": { "type": "boolean" }, "cc_comments_log_draft_annotation_ancestor_nodes": { "type": "boolean" }, "jfp_a11y_fix_create_issue_no_results_link_focus": { "type": "boolean" }, "platform_editor_fix_unsubscribe_of_provider": { "type": "boolean" }, "platform_editor_legacy_content_macro_visual_update": { "type": "boolean" }, "p2m-drop-down-motion": { "type": "boolean" }, "platform_editor_show_diff_scroll_navigation": { "type": "boolean" }, "platform_editor_content_mode_button_mvp": { "type": "boolean" }, "platform_editor_fix_mixed_types_column_sort": { "type": "boolean" }, "cc_fd_wb_create_priority_in_slash_menu_enabled": { "type": "boolean" }, "draft_reply_contextual_pills_gate": { "type": "boolean" }, "platform_editor_transform_invalid_media_width": { "type": "boolean" }, "platform_editor_sentry_breadcrumbs": { "type": "boolean" }, "rovo_chat_enable_skills_ui_m1": { "type": "boolean" }, "forge-ui-extensionnodeview-stop-event-for-textarea": { "type": "boolean" }, "platform_fix_macro_renders_in_layouts": { "type": "boolean" }, "ally_30205_accessibility_label_fix": { "type": "boolean" }, "platform_editor_ally_remove_role_tabpanel": { "type": "boolean" }, "platform_editor_native_anchor_patch_3": { "type": "boolean" }, "platform_editor_toolbar_aifc_placement_overridden": { "type": "boolean" }, "platform_editor_block_menu_v2_patch_4": { "type": "boolean" }, "jim-lower-ranking-in-jira-macro-search": { "type": "boolean" }, "tinymce_display_unknown_macro_body_content": { "type": "boolean" }, "platform_editor_media_border_radius_fix": { "type": "boolean" }, "people-teams_migrate-user-profile-card": { "type": "boolean" }, "platform_editor_ai_selection_local_ids": { "type": "boolean" } } }