UNPKG

@atlaskit/editor-core

Version:

A package contains Atlassian editor core functionality

350 lines (349 loc) • 9.73 kB
{ "name": "@atlaskit/editor-core", "version": "219.9.6", "description": "A package contains Atlassian editor core functionality", "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: Lego", "singleton": true, "website": { "name": "Editor Core" }, "integrationTests": { "additionalBrowsers": [ "desktop-firefox", "desktop-webkit" ] } }, "dependencies": { "@atlaskit/activity-provider": "^2.6.0", "@atlaskit/adf-schema": "^52.13.0", "@atlaskit/afm-i18n-platform-editor-editor-core": "2.10.0", "@atlaskit/analytics-namespaced-context": "^7.3.0", "@atlaskit/analytics-next": "^11.2.0", "@atlaskit/analytics-next-stable-react-context": "1.0.1", "@atlaskit/button": "^23.11.0", "@atlaskit/css": "^0.19.0", "@atlaskit/editor-json-transformer": "^8.32.0", "@atlaskit/editor-performance-metrics": "^2.2.0", "@atlaskit/editor-plugin-connectivity": "^10.1.0", "@atlaskit/editor-plugin-quick-insert": "^10.4.0", "@atlaskit/editor-plugin-user-preferences": "^8.2.0", "@atlaskit/editor-plugins": "^13.1.0", "@atlaskit/editor-prosemirror": "^7.3.0", "@atlaskit/editor-shared-styles": "^3.11.0", "@atlaskit/editor-ssr-renderer": "^5.2.0", "@atlaskit/editor-toolbar": "^1.7.0", "@atlaskit/editor-toolbar-model": "^0.5.0", "@atlaskit/emoji": "^70.10.0", "@atlaskit/feature-gate-js-client": "^5.7.0", "@atlaskit/icon": "^35.0.0", "@atlaskit/link": "^3.4.0", "@atlaskit/media-card": "^80.5.0", "@atlaskit/mention": "^26.0.0", "@atlaskit/platform-feature-flags": "^1.1.0", "@atlaskit/platform-feature-flags-react": "^0.5.0", "@atlaskit/react-ufo": "^6.0.0", "@atlaskit/task-decision": "^20.1.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", "@types/react-loadable": "^5.4.1", "@types/rison": "^0.0.6", "classnames": "^2.2.5", "lodash": "^4.17.21", "memoize-one": "^6.0.0", "prop-types": "^15.5.10", "react-loadable": "^5.1.0", "react-transition-group": "^4.4.1", "uuid": "^3.1.0" }, "peerDependencies": { "@atlaskit/editor-common": "^114.41.0", "@atlaskit/link-provider": "^4.4.0", "@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": { "@af/editor-libra": "workspace:^", "@af/suppress-react-warnings": "workspace:^", "@af/visual-regression": "workspace:^", "@atlaskit/adf-utils": "^19.30.0", "@atlaskit/analytics-listeners": "^10.1.0", "@atlaskit/code": "^17.5.0", "@atlaskit/collab-provider": "^19.0.0", "@atlaskit/editor-plugin-annotation": "^10.4.0", "@atlaskit/editor-plugin-card": "^16.9.0", "@atlaskit/editor-plugin-list": "^12.1.0", "@atlaskit/editor-plugin-paste": "^11.2.0", "@atlaskit/editor-test-helpers": "workspace:^", "@atlaskit/link-provider": "^4.4.0", "@atlaskit/linking-common": "^9.11.0", "@atlaskit/logo": "^20.1.0", "@atlaskit/media-core": "^37.1.0", "@atlaskit/media-integration-test-helpers": "workspace:^", "@atlaskit/media-test-helpers": "^41.1.0", "@atlaskit/modal-dialog": "^15.1.0", "@atlaskit/popper": "^7.2.0", "@atlaskit/portal": "^5.5.0", "@atlaskit/renderer": "^131.1.0", "@atlaskit/section-message": "^8.13.0", "@atlaskit/synchrony-test-helpers": "workspace:^", "@atlaskit/toggle": "^15.6.0", "@atlaskit/util-data-test": "^18.6.0", "@atlassian/a11y-jest-testing": "^0.11.0", "@atlassian/a11y-playwright-testing": "^0.10.0", "@atlassian/adf-schema-json": "^1.33.0", "@atlassian/editor-rovo-bridge": "^8.11.0", "@atlassian/feature-flags-test-utils": "^1.1.0", "@atlassian/react-compiler-gating": "workspace:^", "@atlassian/search-client": "^1.8.0", "@atlassian/search-provider": "^11.1.0", "@atlassian/structured-docs-types": "workspace:^", "@atlassian/user-profile-card": "^1.5.0", "@emotion/jest": "^11.8.0", "@testing-library/react": "^16.3.0", "@types/diff": "^5.0.2", "@types/is-number": "^7.0.0", "@types/react-transition-group": "^2.0.6", "diff": "^4.0.1", "enzyme": "^3.10.0", "jscodeshift": "^17.0.0", "mockdate": "^3.0.5", "raf-stub": "^2.0.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-intl": "^6.6.2", "url-search-params": "^0.10.0" }, "techstack": { "@atlassian/frontend": { "import-structure": [ "atlassian-conventions" ], "circular-dependencies": [ "file-level" ] }, "@repo/internal": { "deprecation": "no-deprecated-imports", "design-tokens": [ "color" ], "styling": [ "compiled", "emotion" ] } }, "platform-feature-flags": { "platform_editor_reconfigure_filter_plugins": { "type": "boolean" }, "linking_platform_datasource_assets_objects": { "type": "boolean", "referenceOnly": "true" }, "people-teams_migrate-user-profile-card": { "type": "boolean", "referenceOnly": true }, "editor_inline_comments_on_inline_nodes": { "type": "boolean", "referenceOnly": "true" }, "platform_editor_prevent_toolbar_width_reflow": { "type": "boolean" }, "platform_editor_table_initial_load_fix": { "type": "boolean", "referenceOnly": true }, "platform_editor_toolbar_mode_override": { "type": "boolean" }, "platform_editor_markdown_mode_hide_source_toolbar": { "type": "boolean" }, "platform_editor_toolbar_responsive_fixes": { "type": "boolean" }, "platform_editor_typography_ugc": { "type": "boolean", "referenceOnly": true }, "platform_editor_disable_rerender_tracking_jira": { "type": "boolean" }, "platform-component-visual-refresh": { "type": "boolean", "referenceOnly": true }, "platform_editor_use_preferences_plugin": { "type": "boolean", "referenceOnly": true }, "platform_editor_media_block_default": { "type": "boolean", "referenceOnly": true }, "platform_editor_disable_context_panel_animation": { "type": "boolean", "referenceOnly": true }, "platform_editor_mention_provider_via_plugin_config": { "type": "boolean", "referenceOnly": true }, "platform_editor_table_use_shared_state_hook_fg": { "type": "boolean", "referenceOnly": true }, "platform_editor_safari_media_clipboard_fix": { "type": "boolean", "referenceOnly": true }, "platform_editor_fix_media_in_renderer": { "type": "boolean" }, "platform_editor_track_node_types": { "type": "boolean", "referenceOnly": true }, "platform_editor_cell_selection_with_nested_tables": { "type": "boolean", "referenceOnly": true }, "platform_editor_querySelector_fix_table_renderer": { "type": "boolean", "referenceOnly": true }, "platform_editor_content_mode_button_mvp": { "type": "boolean" }, "platform_editor_paste_full_table_inside_empty_cell": { "type": "boolean", "referenceOnly": true }, "platform_editor_nested_dnd_styles_changes": { "type": "boolean" }, "platform_editor_controls_no_toolbar_space": { "type": "boolean", "referenceOnly": true }, "platform_editor_quick_insert_placeholder": { "type": "boolean" }, "platform_editor_comments_api_manager": { "type": "boolean", "referenceOnly": true }, "platform_editor_undo_redo_find_on_primary_toolbar": { "type": "boolean", "referenceOnly": true }, "_editor_a11y_aria_label_removal_popup": { "type": "boolean", "referenceOnly": true }, "platform_editor_tables_table_selector": { "type": "boolean", "referenceOnly": true }, "platform_editor_bordered_panel_nested_in_table": { "type": "boolean", "referenceOnly": true }, "atlas_editor_typography_refreshed": { "type": "boolean" }, "platform_editor_controls_increase_full_page_gutter": { "type": "boolean" }, "cc_editor_focus_before_editor_on_load": { "type": "boolean" }, "platform_editor_adf_with_localid": { "type": "boolean", "referenceOnly": true }, "platform_editor_use_localid_dedupe": { "type": "boolean", "referenceOnly": true }, "platform_editor_sentry_breadcrumbs": { "type": "boolean" }, "platform_editor_toolbar_aifc_placement_overridden": { "type": "boolean" }, "platform_editor_comments_border_radius": { "type": "boolean" }, "cc_fd_wb_create_priority_in_slash_menu_enabled": { "type": "boolean" }, "platform_editor_nov_a11y_fixes": { "type": "boolean" }, "rovo_chat_enable_skills_ui_m1": { "type": "boolean" }, "platform_editor_table_fixed_column_width_prop": { "type": "boolean" }, "platform_editor_breakout_in_universal_preset": { "type": "boolean" }, "platform-dst-lozenge-tag-badge-visual-uplifts": { "type": "boolean" }, "platform_editor_chromeless_akeditor_class": { "type": "boolean" }, "platform_editor_delay_markdown_view_mode_eval": { "type": "boolean" } }, "stricter": { "no-unused-dependencies": { "checkDevDependencies": true } } }