@atlaskit/editor-core 149.0.0 → 150.0.1
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 +41 -0
- package/dist/cjs/create-editor/create-plugins-list.js +2 -1
- package/dist/cjs/editor.js +1 -4
- package/dist/cjs/i18n/cs.js +18 -2
- package/dist/cjs/i18n/da.js +18 -2
- package/dist/cjs/i18n/de.js +18 -2
- package/dist/cjs/i18n/es.js +13 -2
- package/dist/cjs/i18n/et.js +0 -1
- package/dist/cjs/i18n/fi.js +13 -2
- package/dist/cjs/i18n/fr.js +13 -2
- package/dist/cjs/i18n/hu.js +14 -3
- package/dist/cjs/i18n/it.js +18 -2
- package/dist/cjs/i18n/ja.js +13 -2
- package/dist/cjs/i18n/ko.js +13 -2
- package/dist/cjs/i18n/nb.js +13 -2
- package/dist/cjs/i18n/nl.js +18 -2
- package/dist/cjs/i18n/pl.js +16 -2
- package/dist/cjs/i18n/pt_BR.js +14 -3
- package/dist/cjs/i18n/pt_PT.js +0 -1
- package/dist/cjs/i18n/ru.js +13 -2
- package/dist/cjs/i18n/sk.js +0 -1
- package/dist/cjs/i18n/sv.js +18 -2
- package/dist/cjs/i18n/th.js +18 -2
- package/dist/cjs/i18n/tr.js +16 -2
- package/dist/cjs/i18n/uk.js +18 -2
- package/dist/cjs/i18n/vi.js +13 -2
- package/dist/cjs/i18n/zh.js +18 -2
- package/dist/cjs/i18n/zh_TW.js +18 -2
- package/dist/cjs/messages.js +4 -4
- package/dist/cjs/nodeviews/SelectionBasedNodeView.js +1 -2
- package/dist/cjs/plugins/analytics/types/enums.js +0 -1
- package/dist/cjs/plugins/analytics/types/node-events.js +1 -0
- package/dist/cjs/plugins/card/nodeviews/embedCard.js +1 -3
- package/dist/cjs/plugins/expand/pm-plugins/keymap.js +2 -2
- package/dist/cjs/plugins/extension/actions.js +16 -16
- package/dist/cjs/plugins/extension/pm-plugins/main.js +4 -4
- package/dist/cjs/plugins/floating-toolbar/ui/{EditorHideEmojiIcon.js → EditorRemoveEmojiIcon.js} +2 -2
- package/dist/cjs/plugins/floating-toolbar/ui/EmojiPickerButton.js +5 -2
- package/dist/cjs/plugins/floating-toolbar/ui/EmojiPickerButton.test.js +14 -0
- package/dist/cjs/plugins/insert-block/ui/ToolbarInsertBlock/index.js +19 -22
- package/dist/cjs/plugins/layout/actions.js +70 -16
- package/dist/cjs/plugins/layout/index.js +3 -2
- package/dist/cjs/plugins/layout/pm-plugins/main.js +3 -1
- package/dist/cjs/plugins/layout/toolbar-messages.js +5 -0
- package/dist/cjs/plugins/layout/toolbar.js +11 -2
- package/dist/cjs/plugins/list/pm-plugins/main.js +0 -38
- package/dist/cjs/plugins/macro/actions.js +14 -14
- package/dist/cjs/plugins/mentions/analytics.js +2 -3
- package/dist/cjs/plugins/mentions/type-ahead/index.js +7 -12
- package/dist/cjs/plugins/panel/nodeviews/panel.js +7 -3
- package/dist/cjs/plugins/panel/toolbar.js +8 -6
- package/dist/cjs/plugins/panel/toolbar.test.js +25 -11
- package/dist/cjs/plugins/paste/handlers.js +2 -2
- package/dist/cjs/plugins/selection/gap-cursor/actions.js +5 -6
- package/dist/cjs/plugins/selection/pm-plugins/selection-main.js +1 -3
- package/dist/cjs/plugins/table/commands/insert.js +25 -10
- package/dist/cjs/plugins/table/commands/misc.js +3 -3
- package/dist/cjs/plugins/table/commands/selection.js +24 -24
- package/dist/cjs/plugins/table/nodeviews/TableComponent.js +5 -4
- package/dist/cjs/plugins/table/nodeviews/tableCell.js +20 -6
- package/dist/cjs/plugins/table/pm-plugins/table-resizing/utils/resize-state.js +17 -16
- package/dist/cjs/plugins/table/pm-plugins/table-resizing/utils/scale-table.js +1 -0
- package/dist/cjs/plugins/table/toolbar.js +4 -4
- package/dist/cjs/plugins/table/transforms/column-width.js +72 -12
- package/dist/cjs/plugins/table/ui/FloatingContextualMenu/ContextualMenu.js +1 -1
- package/dist/cjs/plugins/table/ui/FloatingInsertButton/index.js +1 -1
- package/dist/cjs/plugins/table/utils/table.js +17 -2
- package/dist/cjs/plugins/tasks-and-decisions/pm-plugins/keymaps.js +1 -2
- package/dist/cjs/plugins/text-color/ui/ToolbarTextColor/index.js +3 -7
- package/dist/cjs/plugins/text-formatting/pm-plugins/cursor.js +1 -4
- package/dist/cjs/plugins/type-ahead/transforms/open-typeahead-at-cursor.js +20 -3
- package/dist/cjs/plugins/type-ahead/ui/InputQuery.js +5 -3
- package/dist/cjs/plugins/type-ahead/ui/TypeAheadPopup.js +1 -3
- package/dist/cjs/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.js +1 -3
- package/dist/cjs/ui/ColorPickerButton/index.js +5 -2
- package/dist/cjs/ui/ColorPickerButton/index.test.js +16 -0
- package/dist/cjs/ui/ConfigPanel/Fields/Expand.js +2 -4
- package/dist/cjs/ui/ConfigPanel/Fields/Fieldset.js +1 -3
- package/dist/cjs/ui/ConfigPanel/NestedForms/RemovableField.js +1 -3
- package/dist/cjs/ui/PanelTextInput/index.js +1 -3
- package/dist/cjs/utils/compare.js +7 -7
- package/dist/cjs/utils/index.js +7 -8
- package/dist/cjs/utils/rich-media-utils.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/create-editor/create-plugins-list.js +2 -1
- package/dist/es2019/editor.js +1 -4
- package/dist/es2019/i18n/cs.js +18 -2
- package/dist/es2019/i18n/da.js +18 -2
- package/dist/es2019/i18n/de.js +18 -2
- package/dist/es2019/i18n/es.js +13 -2
- package/dist/es2019/i18n/et.js +0 -1
- package/dist/es2019/i18n/fi.js +13 -2
- package/dist/es2019/i18n/fr.js +13 -2
- package/dist/es2019/i18n/hu.js +14 -3
- package/dist/es2019/i18n/it.js +18 -2
- package/dist/es2019/i18n/ja.js +13 -2
- package/dist/es2019/i18n/ko.js +13 -2
- package/dist/es2019/i18n/nb.js +13 -2
- package/dist/es2019/i18n/nl.js +18 -2
- package/dist/es2019/i18n/pl.js +16 -2
- package/dist/es2019/i18n/pt_BR.js +14 -3
- package/dist/es2019/i18n/pt_PT.js +0 -1
- package/dist/es2019/i18n/ru.js +13 -2
- package/dist/es2019/i18n/sk.js +0 -1
- package/dist/es2019/i18n/sv.js +18 -2
- package/dist/es2019/i18n/th.js +18 -2
- package/dist/es2019/i18n/tr.js +16 -2
- package/dist/es2019/i18n/uk.js +18 -2
- package/dist/es2019/i18n/vi.js +13 -2
- package/dist/es2019/i18n/zh.js +18 -2
- package/dist/es2019/i18n/zh_TW.js +18 -2
- package/dist/es2019/messages.js +4 -4
- package/dist/es2019/nodeviews/SelectionBasedNodeView.js +1 -2
- package/dist/es2019/plugins/analytics/types/enums.js +0 -1
- package/dist/es2019/plugins/analytics/types/node-events.js +1 -0
- package/dist/es2019/plugins/card/nodeviews/embedCard.js +1 -3
- package/dist/es2019/plugins/expand/pm-plugins/keymap.js +2 -2
- package/dist/es2019/plugins/extension/actions.js +16 -16
- package/dist/es2019/plugins/extension/pm-plugins/main.js +4 -4
- package/dist/es2019/plugins/floating-toolbar/ui/{EditorHideEmojiIcon.js → EditorRemoveEmojiIcon.js} +1 -1
- package/dist/es2019/plugins/floating-toolbar/ui/EmojiPickerButton.js +5 -3
- package/dist/es2019/plugins/floating-toolbar/ui/EmojiPickerButton.test.js +14 -0
- package/dist/es2019/plugins/insert-block/ui/ToolbarInsertBlock/index.js +20 -23
- package/dist/es2019/plugins/layout/actions.js +64 -13
- package/dist/es2019/plugins/layout/index.js +3 -2
- package/dist/es2019/plugins/layout/pm-plugins/main.js +3 -1
- package/dist/es2019/plugins/layout/toolbar-messages.js +5 -0
- package/dist/es2019/plugins/layout/toolbar.js +10 -2
- package/dist/es2019/plugins/list/pm-plugins/main.js +1 -41
- package/dist/es2019/plugins/macro/actions.js +14 -14
- package/dist/es2019/plugins/mentions/analytics.js +2 -3
- package/dist/es2019/plugins/mentions/type-ahead/index.js +9 -15
- package/dist/es2019/plugins/panel/nodeviews/panel.js +5 -3
- package/dist/es2019/plugins/panel/toolbar.js +8 -6
- package/dist/es2019/plugins/panel/toolbar.test.js +18 -8
- package/dist/es2019/plugins/paste/handlers.js +2 -2
- package/dist/es2019/plugins/selection/gap-cursor/actions.js +5 -6
- package/dist/es2019/plugins/selection/pm-plugins/selection-main.js +1 -3
- package/dist/es2019/plugins/table/commands/insert.js +27 -12
- package/dist/es2019/plugins/table/commands/misc.js +3 -3
- package/dist/es2019/plugins/table/commands/selection.js +25 -25
- package/dist/es2019/plugins/table/nodeviews/TableComponent.js +5 -4
- package/dist/es2019/plugins/table/nodeviews/tableCell.js +19 -6
- package/dist/es2019/plugins/table/pm-plugins/table-resizing/utils/resize-state.js +14 -16
- package/dist/es2019/plugins/table/pm-plugins/table-resizing/utils/scale-table.js +1 -1
- package/dist/es2019/plugins/table/toolbar.js +4 -4
- package/dist/es2019/plugins/table/transforms/column-width.js +62 -11
- package/dist/es2019/plugins/table/ui/FloatingContextualMenu/ContextualMenu.js +1 -1
- package/dist/es2019/plugins/table/ui/FloatingInsertButton/index.js +1 -1
- package/dist/es2019/plugins/table/utils/table.js +7 -1
- package/dist/es2019/plugins/tasks-and-decisions/pm-plugins/keymaps.js +1 -2
- package/dist/es2019/plugins/text-color/ui/ToolbarTextColor/index.js +3 -7
- package/dist/es2019/plugins/text-formatting/pm-plugins/cursor.js +1 -4
- package/dist/es2019/plugins/type-ahead/transforms/open-typeahead-at-cursor.js +20 -3
- package/dist/es2019/plugins/type-ahead/ui/InputQuery.js +5 -3
- package/dist/es2019/plugins/type-ahead/ui/TypeAheadPopup.js +1 -2
- package/dist/es2019/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.js +1 -3
- package/dist/es2019/ui/ColorPickerButton/index.js +6 -3
- package/dist/es2019/ui/ColorPickerButton/index.test.js +15 -0
- package/dist/es2019/ui/ConfigPanel/Fields/Expand.js +3 -4
- package/dist/es2019/ui/ConfigPanel/Fields/Fieldset.js +2 -3
- package/dist/es2019/ui/ConfigPanel/NestedForms/RemovableField.js +1 -2
- package/dist/es2019/ui/ConfigPanel/transformers.js +9 -9
- package/dist/es2019/ui/PanelTextInput/index.js +1 -3
- package/dist/es2019/utils/compare.js +7 -7
- package/dist/es2019/utils/index.js +7 -8
- package/dist/es2019/utils/rich-media-utils.js +2 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/create-editor/create-plugins-list.js +2 -1
- package/dist/esm/editor.js +1 -4
- package/dist/esm/i18n/cs.js +18 -2
- package/dist/esm/i18n/da.js +18 -2
- package/dist/esm/i18n/de.js +18 -2
- package/dist/esm/i18n/es.js +13 -2
- package/dist/esm/i18n/et.js +0 -1
- package/dist/esm/i18n/fi.js +13 -2
- package/dist/esm/i18n/fr.js +13 -2
- package/dist/esm/i18n/hu.js +14 -3
- package/dist/esm/i18n/it.js +18 -2
- package/dist/esm/i18n/ja.js +13 -2
- package/dist/esm/i18n/ko.js +13 -2
- package/dist/esm/i18n/nb.js +13 -2
- package/dist/esm/i18n/nl.js +18 -2
- package/dist/esm/i18n/pl.js +16 -2
- package/dist/esm/i18n/pt_BR.js +14 -3
- package/dist/esm/i18n/pt_PT.js +0 -1
- package/dist/esm/i18n/ru.js +13 -2
- package/dist/esm/i18n/sk.js +0 -1
- package/dist/esm/i18n/sv.js +18 -2
- package/dist/esm/i18n/th.js +18 -2
- package/dist/esm/i18n/tr.js +16 -2
- package/dist/esm/i18n/uk.js +18 -2
- package/dist/esm/i18n/vi.js +13 -2
- package/dist/esm/i18n/zh.js +18 -2
- package/dist/esm/i18n/zh_TW.js +18 -2
- package/dist/esm/messages.js +4 -4
- package/dist/esm/nodeviews/SelectionBasedNodeView.js +1 -2
- package/dist/esm/plugins/analytics/types/enums.js +0 -1
- package/dist/esm/plugins/analytics/types/node-events.js +1 -0
- package/dist/esm/plugins/card/nodeviews/embedCard.js +1 -3
- package/dist/esm/plugins/expand/pm-plugins/keymap.js +2 -2
- package/dist/esm/plugins/extension/actions.js +16 -16
- package/dist/esm/plugins/extension/pm-plugins/main.js +4 -4
- package/dist/esm/plugins/floating-toolbar/ui/{EditorHideEmojiIcon.js → EditorRemoveEmojiIcon.js} +1 -1
- package/dist/esm/plugins/floating-toolbar/ui/EmojiPickerButton.js +6 -3
- package/dist/esm/plugins/floating-toolbar/ui/EmojiPickerButton.test.js +14 -0
- package/dist/esm/plugins/insert-block/ui/ToolbarInsertBlock/index.js +20 -23
- package/dist/esm/plugins/layout/actions.js +66 -13
- package/dist/esm/plugins/layout/index.js +3 -2
- package/dist/esm/plugins/layout/pm-plugins/main.js +3 -1
- package/dist/esm/plugins/layout/toolbar-messages.js +5 -0
- package/dist/esm/plugins/layout/toolbar.js +10 -2
- package/dist/esm/plugins/list/pm-plugins/main.js +1 -37
- package/dist/esm/plugins/macro/actions.js +14 -14
- package/dist/esm/plugins/mentions/analytics.js +2 -3
- package/dist/esm/plugins/mentions/type-ahead/index.js +7 -12
- package/dist/esm/plugins/panel/nodeviews/panel.js +5 -3
- package/dist/esm/plugins/panel/toolbar.js +8 -6
- package/dist/esm/plugins/panel/toolbar.test.js +25 -11
- package/dist/esm/plugins/paste/handlers.js +2 -2
- package/dist/esm/plugins/selection/gap-cursor/actions.js +5 -6
- package/dist/esm/plugins/selection/pm-plugins/selection-main.js +1 -3
- package/dist/esm/plugins/table/commands/insert.js +26 -11
- package/dist/esm/plugins/table/commands/misc.js +3 -3
- package/dist/esm/plugins/table/commands/selection.js +24 -24
- package/dist/esm/plugins/table/nodeviews/TableComponent.js +5 -4
- package/dist/esm/plugins/table/nodeviews/tableCell.js +21 -7
- package/dist/esm/plugins/table/pm-plugins/table-resizing/utils/resize-state.js +15 -17
- package/dist/esm/plugins/table/pm-plugins/table-resizing/utils/scale-table.js +1 -1
- package/dist/esm/plugins/table/toolbar.js +4 -4
- package/dist/esm/plugins/table/transforms/column-width.js +62 -10
- package/dist/esm/plugins/table/ui/FloatingContextualMenu/ContextualMenu.js +1 -1
- package/dist/esm/plugins/table/ui/FloatingInsertButton/index.js +1 -1
- package/dist/esm/plugins/table/utils/table.js +9 -0
- package/dist/esm/plugins/tasks-and-decisions/pm-plugins/keymaps.js +1 -2
- package/dist/esm/plugins/text-color/ui/ToolbarTextColor/index.js +3 -7
- package/dist/esm/plugins/text-formatting/pm-plugins/cursor.js +1 -4
- package/dist/esm/plugins/type-ahead/transforms/open-typeahead-at-cursor.js +20 -3
- package/dist/esm/plugins/type-ahead/ui/InputQuery.js +5 -3
- package/dist/esm/plugins/type-ahead/ui/TypeAheadPopup.js +1 -2
- package/dist/esm/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.js +1 -3
- package/dist/esm/ui/ColorPickerButton/index.js +6 -3
- package/dist/esm/ui/ColorPickerButton/index.test.js +15 -0
- package/dist/esm/ui/ConfigPanel/Fields/Expand.js +2 -3
- package/dist/esm/ui/ConfigPanel/Fields/Fieldset.js +1 -2
- package/dist/esm/ui/ConfigPanel/NestedForms/RemovableField.js +1 -2
- package/dist/esm/ui/PanelTextInput/index.js +1 -3
- package/dist/esm/utils/compare.js +7 -7
- package/dist/esm/utils/index.js +7 -8
- package/dist/esm/utils/rich-media-utils.js +2 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/i18n/cs.d.ts +16 -0
- package/dist/types/i18n/da.d.ts +16 -0
- package/dist/types/i18n/de.d.ts +16 -0
- package/dist/types/i18n/es.d.ts +11 -0
- package/dist/types/i18n/et.d.ts +0 -1
- package/dist/types/i18n/fi.d.ts +11 -0
- package/dist/types/i18n/fr.d.ts +11 -0
- package/dist/types/i18n/hu.d.ts +11 -0
- package/dist/types/i18n/it.d.ts +16 -0
- package/dist/types/i18n/ja.d.ts +11 -0
- package/dist/types/i18n/ko.d.ts +11 -0
- package/dist/types/i18n/nb.d.ts +11 -0
- package/dist/types/i18n/nl.d.ts +16 -0
- package/dist/types/i18n/pl.d.ts +14 -0
- package/dist/types/i18n/pt_BR.d.ts +11 -0
- package/dist/types/i18n/pt_PT.d.ts +0 -1
- package/dist/types/i18n/ru.d.ts +11 -0
- package/dist/types/i18n/sk.d.ts +0 -1
- package/dist/types/i18n/sv.d.ts +16 -0
- package/dist/types/i18n/th.d.ts +16 -0
- package/dist/types/i18n/tr.d.ts +14 -0
- package/dist/types/i18n/uk.d.ts +16 -0
- package/dist/types/i18n/vi.d.ts +11 -0
- package/dist/types/i18n/zh.d.ts +16 -0
- package/dist/types/i18n/zh_TW.d.ts +16 -0
- package/dist/types/messages.d.ts +1 -1
- package/dist/types/plugins/analytics/types/enums.d.ts +0 -1
- package/dist/types/plugins/analytics/types/general-events.d.ts +1 -1
- package/dist/types/plugins/analytics/types/list-events.d.ts +1 -5
- package/dist/types/plugins/analytics/types/node-events.d.ts +1 -0
- package/dist/types/plugins/floating-toolbar/ui/EditorRemoveEmojiIcon.d.ts +1 -0
- package/dist/types/plugins/layout/actions.d.ts +1 -0
- package/dist/types/plugins/layout/pm-plugins/types.d.ts +1 -0
- package/dist/types/plugins/layout/toolbar-messages.d.ts +5 -0
- package/dist/types/plugins/layout/toolbar.d.ts +1 -1
- package/dist/types/plugins/layout/types.d.ts +2 -1
- package/dist/types/plugins/mentions/analytics.d.ts +1 -1
- package/dist/types/plugins/table/nodeviews/tableCell.d.ts +1 -1
- package/dist/types/plugins/table/pm-plugins/table-resizing/utils/resize-state.d.ts +2 -0
- package/dist/types/plugins/table/pm-plugins/table-resizing/utils/scale-table.d.ts +1 -0
- package/dist/types/plugins/table/transforms/column-width.d.ts +10 -0
- package/dist/types/plugins/table/utils/table.d.ts +2 -0
- package/dist/types/ui/ConfigPanel/Fields/Expand.d.ts +1 -1
- package/package.json +22 -22
- package/dist/types/plugins/floating-toolbar/ui/EditorHideEmojiIcon.d.ts +0 -1
|
@@ -5,7 +5,7 @@ var _templateObject, _templateObject2;
|
|
|
5
5
|
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import styled from 'styled-components';
|
|
8
|
-
import { Popup } from '@atlaskit/editor-common';
|
|
8
|
+
import { Popup, withOuterListeners } from '@atlaskit/editor-common';
|
|
9
9
|
import Button from '@atlaskit/button';
|
|
10
10
|
import Tooltip from '@atlaskit/tooltip';
|
|
11
11
|
import { N60A } from '@atlaskit/theme/colors';
|
|
@@ -34,6 +34,8 @@ var ColorPickerButton = function ColorPickerButton(props) {
|
|
|
34
34
|
setIsPopupOpen(!isPopupOpen);
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
+
var ColorPaletteWithListeners = withOuterListeners(ColorPalette);
|
|
38
|
+
|
|
37
39
|
var onColorSelected = function onColorSelected(color, label) {
|
|
38
40
|
setIsPopupOpen(false);
|
|
39
41
|
|
|
@@ -72,11 +74,12 @@ var ColorPickerButton = function ColorPickerButton(props) {
|
|
|
72
74
|
fitWidth: 350,
|
|
73
75
|
offset: [0, 10],
|
|
74
76
|
alignX: props.alignX
|
|
75
|
-
}, /*#__PURE__*/React.createElement(ColorPickerWrapper, null, /*#__PURE__*/React.createElement(
|
|
77
|
+
}, /*#__PURE__*/React.createElement(ColorPickerWrapper, null, /*#__PURE__*/React.createElement(ColorPaletteWithListeners, {
|
|
76
78
|
palette: props.colorPalette,
|
|
77
79
|
cols: props.cols,
|
|
78
80
|
selectedColor: props.currentColor || null,
|
|
79
|
-
onClick: onColorSelected
|
|
81
|
+
onClick: onColorSelected,
|
|
82
|
+
handleClickOutside: togglePopup
|
|
80
83
|
})));
|
|
81
84
|
};
|
|
82
85
|
|
|
@@ -11,6 +11,7 @@ import { mockCreateAnalyticsEvent, mockFire } from '@atlaskit/editor-test-helper
|
|
|
11
11
|
import ColorPickerButton from './index';
|
|
12
12
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '../../plugins/analytics/types';
|
|
13
13
|
import { editorAnalyticsChannel } from '../../plugins/analytics/consts';
|
|
14
|
+
import { act } from 'react-dom/test-utils';
|
|
14
15
|
describe('color-picker-button', function () {
|
|
15
16
|
var onChangeMock = jest.fn();
|
|
16
17
|
|
|
@@ -49,6 +50,20 @@ describe('color-picker-button', function () {
|
|
|
49
50
|
expect(wrapper.find('ColorPalette')).toHaveLength(1);
|
|
50
51
|
expect(wrapper.find('Color')).toHaveLength(21);
|
|
51
52
|
});
|
|
53
|
+
it('should close ColorPalette popup after clicking outside', function () {
|
|
54
|
+
var wrapper = getWrapper(); // show the popup
|
|
55
|
+
|
|
56
|
+
wrapper.find('button').simulate('click'); // make sure the popup and picker are shown
|
|
57
|
+
|
|
58
|
+
expect(wrapper.find('Popup')).toHaveLength(1);
|
|
59
|
+
var colorPalette = wrapper.find('InjectIntl(ColorPalette)').instance();
|
|
60
|
+
act(function () {
|
|
61
|
+
colorPalette.props.handleClickOutside();
|
|
62
|
+
});
|
|
63
|
+
wrapper.update(); // make sure popup is hidden
|
|
64
|
+
|
|
65
|
+
expect(wrapper.find('Popup')).toHaveLength(0);
|
|
66
|
+
});
|
|
52
67
|
it('should hide popup and call onChange after selecting a color', function () {
|
|
53
68
|
var wrapper = getWrapper();
|
|
54
69
|
selectColor(wrapper, 'Mintie'); // ensure popup is hidden
|
|
@@ -12,10 +12,9 @@ import ChevronRightIcon from '@atlaskit/icon/glyph/chevron-right';
|
|
|
12
12
|
import Button from '@atlaskit/button';
|
|
13
13
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
14
14
|
import { messages } from '../messages';
|
|
15
|
-
import { multiply } from '@atlaskit/theme/math';
|
|
16
15
|
export var ExpandContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n border-bottom: 1px solid ", ";\n"])), N40);
|
|
17
|
-
export var ExpandControl = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n height: ", "px;\n justify-content: center;\n padding-right: ", "px;\n"])),
|
|
18
|
-
var ChevronContainer = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n\n & > button {\n width: ", "px;\n height: ", "px;\n }\n"])),
|
|
16
|
+
export var ExpandControl = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n height: ", "px;\n justify-content: center;\n padding-right: ", "px;\n"])), gridSize() * 6, gridSize());
|
|
17
|
+
var ChevronContainer = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n\n & > button {\n width: ", "px;\n height: ", "px;\n }\n"])), gridSize() * 3, gridSize() * 3);
|
|
19
18
|
var LabelContainer = styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n width: 100%;\n align-items: center;\n display: flex;\n font-weight: 500;\n"])));
|
|
20
19
|
var ExpandContentContainer = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n display: ", ";\n margin-top: -", "px;\n"])), function (_ref) {
|
|
21
20
|
var isHidden = _ref.isHidden;
|
|
@@ -31,9 +31,8 @@ import { messages } from '../messages'; // eslint-disable-next-line import/no-cy
|
|
|
31
31
|
import FormContent from '../FormContent';
|
|
32
32
|
import { getNameFromDuplicateField, isDuplicateField } from '../utils';
|
|
33
33
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
34
|
-
import { multiply } from '@atlaskit/theme/math';
|
|
35
34
|
import { N40A } from '@atlaskit/theme/colors';
|
|
36
|
-
var ActionsWrapper = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n border-top: 1px solid ", ";\n margin-top: ", "px;\n padding-top: ", "px;\n"])), N40A,
|
|
35
|
+
var ActionsWrapper = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n border-top: 1px solid ", ";\n margin-top: ", "px;\n padding-top: ", "px;\n"])), N40A, gridSize() * 2, gridSize() * 2);
|
|
37
36
|
|
|
38
37
|
var populateFromParameters = function populateFromParameters(parameters, fields) {
|
|
39
38
|
if (Object.keys(parameters).length) {
|
|
@@ -6,13 +6,12 @@ import React from 'react';
|
|
|
6
6
|
import { injectIntl } from 'react-intl';
|
|
7
7
|
import styled from 'styled-components';
|
|
8
8
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
9
|
-
import { multiply } from '@atlaskit/theme/math';
|
|
10
9
|
import CrossCircleIcon from '@atlaskit/icon/glyph/cross-circle';
|
|
11
10
|
import Tooltip from '@atlaskit/tooltip';
|
|
12
11
|
import * as colors from '@atlaskit/theme/colors';
|
|
13
12
|
import { messages } from '../messages';
|
|
14
13
|
var RemovableFieldWrapper = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n margin-bottom: ", "px;\n"])), function (props) {
|
|
15
|
-
return props.hasMarginBottom ?
|
|
14
|
+
return props.hasMarginBottom ? gridSize() * 2 : 0;
|
|
16
15
|
});
|
|
17
16
|
var RemoveButtonWrapper = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: absolute;\n right: 0;\n top: 0;\n cursor: pointer;\n\n color: ", ";\n\n &:hover {\n color: ", ";\n }\n"])), colors.N80, colors.R300);
|
|
18
17
|
|
|
@@ -161,9 +161,7 @@ var PanelTextInput = /*#__PURE__*/function (_PureComponent) {
|
|
|
161
161
|
}, {
|
|
162
162
|
key: "isUndoEvent",
|
|
163
163
|
value: function isUndoEvent(event) {
|
|
164
|
-
return event.keyCode === KeyZCode && (
|
|
165
|
-
browser.mac && event.metaKey && !event.shiftKey || // ctrl + z for non-mac
|
|
166
|
-
!browser.mac && event.ctrlKey);
|
|
164
|
+
return event.keyCode === KeyZCode && (browser.mac && event.metaKey && !event.shiftKey || !browser.mac && event.ctrlKey);
|
|
167
165
|
}
|
|
168
166
|
}, {
|
|
169
167
|
key: "isRedoEvent",
|
|
@@ -33,13 +33,13 @@ export var serializeValue = function serializeValue(value) {
|
|
|
33
33
|
} // Calling toString of function returns whole function text with body.
|
|
34
34
|
// So, just return function with name.
|
|
35
35
|
else if (valueType === 'function') {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
36
|
+
return "function:".concat(value.name);
|
|
37
|
+
} else if (valueType === 'object') {
|
|
38
|
+
return {
|
|
39
|
+
type: 'object',
|
|
40
|
+
keys: Object.keys(value)
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
43
|
};
|
|
44
44
|
export var getPropsDifference = function getPropsDifference(object1, object2) {
|
|
45
45
|
var curDepth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
|
package/dist/esm/utils/index.js
CHANGED
|
@@ -277,17 +277,16 @@ export function liftSelection(tr, doc, $from, $to) {
|
|
|
277
277
|
var endPos = $to.end($to.depth);
|
|
278
278
|
var target = Math.max(0, findAncestorPosition(doc, $from).depth - 1);
|
|
279
279
|
tr.doc.nodesBetween(startPos, endPos, function (node, pos) {
|
|
280
|
-
if (node.isText || //
|
|
281
|
-
node.isTextblock && !node.textContent // Empty paragraph
|
|
280
|
+
if (node.isText || node.isTextblock && !node.textContent // Empty paragraph
|
|
282
281
|
) {
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
282
|
+
var res = tr.doc.resolve(tr.mapping.map(pos));
|
|
283
|
+
var sel = new NodeSelection(res);
|
|
284
|
+
var range = sel.$from.blockRange(sel.$to);
|
|
286
285
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
}
|
|
286
|
+
if (liftTarget(range) !== undefined) {
|
|
287
|
+
tr.lift(range, target);
|
|
290
288
|
}
|
|
289
|
+
}
|
|
291
290
|
});
|
|
292
291
|
startPos = tr.mapping.map(startPos);
|
|
293
292
|
endPos = tr.mapping.map(endPos);
|
|
@@ -36,8 +36,8 @@ export var alignAttributes = function alignAttributes(layout, oldAttrs) {
|
|
|
36
36
|
// 'full-width' or 'wide' or 'center' -> 'wrap-left' or 'wrap-right' or 'align-end' or 'align-start'
|
|
37
37
|
if (!width || width >= 100 || oldLayout !== 'center' // == 'full-width' or 'wide'
|
|
38
38
|
) {
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
width = 50;
|
|
40
|
+
}
|
|
41
41
|
} else if (layout !== oldLayout && ['full-width', 'wide'].indexOf(oldLayout) > -1) {
|
|
42
42
|
// 'full-width' -> 'center' or 'wide'
|
|
43
43
|
// 'wide' -> 'center' or 'full-width'
|
package/dist/esm/version.json
CHANGED
package/dist/types/i18n/cs.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ declare const _default: {
|
|
|
19
19
|
'fabric.editor.blockquote.description': string;
|
|
20
20
|
'fabric.editor.blockquote2': string;
|
|
21
21
|
'fabric.editor.bold': string;
|
|
22
|
+
'fabric.editor.bug': string;
|
|
22
23
|
'fabric.editor.canNotSortTable': string;
|
|
23
24
|
'fabric.editor.cancelButton': string;
|
|
24
25
|
'fabric.editor.captionPlaceholder': string;
|
|
@@ -36,6 +37,7 @@ declare const _default: {
|
|
|
36
37
|
'fabric.editor.code': string;
|
|
37
38
|
'fabric.editor.codeblock': string;
|
|
38
39
|
'fabric.editor.codeblock.description': string;
|
|
40
|
+
'fabric.editor.collapseTable': string;
|
|
39
41
|
'fabric.editor.columns': string;
|
|
40
42
|
'fabric.editor.columns.description': string;
|
|
41
43
|
'fabric.editor.configFailedToLoad': string;
|
|
@@ -64,6 +66,7 @@ declare const _default: {
|
|
|
64
66
|
'fabric.editor.decision': string;
|
|
65
67
|
'fabric.editor.decision.description': string;
|
|
66
68
|
'fabric.editor.decisionPlaceholder': string;
|
|
69
|
+
'fabric.editor.defaultAltText': string;
|
|
67
70
|
'fabric.editor.displayBlock': string;
|
|
68
71
|
'fabric.editor.displayEmbed': string;
|
|
69
72
|
'fabric.editor.displayInline': string;
|
|
@@ -73,8 +76,11 @@ declare const _default: {
|
|
|
73
76
|
'fabric.editor.distributeColumns': string;
|
|
74
77
|
'fabric.editor.edit': string;
|
|
75
78
|
'fabric.editor.editAltText': string;
|
|
79
|
+
'fabric.editor.editDateText': string;
|
|
76
80
|
'fabric.editor.editLink': string;
|
|
77
81
|
'fabric.editor.editMode.inviteToEditButton.title': string;
|
|
82
|
+
'fabric.editor.editStatusColor': string;
|
|
83
|
+
'fabric.editor.editStatusText': string;
|
|
78
84
|
'fabric.editor.editorHelp': string;
|
|
79
85
|
'fabric.editor.elementBrowser.help': string;
|
|
80
86
|
'fabric.editor.elementbrowser.categorylist.category-admin': string;
|
|
@@ -95,6 +101,7 @@ declare const _default: {
|
|
|
95
101
|
'fabric.editor.emoji': string;
|
|
96
102
|
'fabric.editor.emoji.description': string;
|
|
97
103
|
'fabric.editor.emptyLink': string;
|
|
104
|
+
'fabric.editor.epic': string;
|
|
98
105
|
'fabric.editor.error': string;
|
|
99
106
|
'fabric.editor.errorPanel': string;
|
|
100
107
|
'fabric.editor.errorPanel.description': string;
|
|
@@ -109,6 +116,9 @@ declare const _default: {
|
|
|
109
116
|
'fabric.editor.findNext': string;
|
|
110
117
|
'fabric.editor.findPrevious': string;
|
|
111
118
|
'fabric.editor.findReplaceToolbarButton': string;
|
|
119
|
+
'fabric.editor.floatingToolbar.confirmModalCancel': string;
|
|
120
|
+
'fabric.editor.floatingToolbar.confirmModalHeading': string;
|
|
121
|
+
'fabric.editor.floatingToolbar.confirmModalOK': string;
|
|
112
122
|
'fabric.editor.headerColumn': string;
|
|
113
123
|
'fabric.editor.headerRow': string;
|
|
114
124
|
'fabric.editor.heading1': string;
|
|
@@ -132,6 +142,7 @@ declare const _default: {
|
|
|
132
142
|
'fabric.editor.hyperlink.searchLinkResults': string;
|
|
133
143
|
'fabric.editor.hyperlinkToolbarPlaceholder': string;
|
|
134
144
|
'fabric.editor.image': string;
|
|
145
|
+
'fabric.editor.improvement': string;
|
|
135
146
|
'fabric.editor.info': string;
|
|
136
147
|
'fabric.editor.infoPanel': string;
|
|
137
148
|
'fabric.editor.infoPanel.description': string;
|
|
@@ -194,7 +205,9 @@ declare const _default: {
|
|
|
194
205
|
'fabric.editor.status': string;
|
|
195
206
|
'fabric.editor.status.description': string;
|
|
196
207
|
'fabric.editor.statusPlaceholder': string;
|
|
208
|
+
'fabric.editor.story': string;
|
|
197
209
|
'fabric.editor.strike': string;
|
|
210
|
+
'fabric.editor.subTask': string;
|
|
198
211
|
'fabric.editor.subscript': string;
|
|
199
212
|
'fabric.editor.success': string;
|
|
200
213
|
'fabric.editor.successPanel': string;
|
|
@@ -204,6 +217,9 @@ declare const _default: {
|
|
|
204
217
|
'fabric.editor.table': string;
|
|
205
218
|
'fabric.editor.table.description': string;
|
|
206
219
|
'fabric.editor.tableOptions': string;
|
|
220
|
+
'fabric.editor.tables.confirmDeleteLinkedModalMessage': string;
|
|
221
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': string;
|
|
222
|
+
'fabric.editor.task': string;
|
|
207
223
|
'fabric.editor.taskPlaceholder': string;
|
|
208
224
|
'fabric.editor.textColor': string;
|
|
209
225
|
'fabric.editor.textColor.lessColors': string;
|
package/dist/types/i18n/da.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ declare const _default: {
|
|
|
19
19
|
'fabric.editor.blockquote.description': string;
|
|
20
20
|
'fabric.editor.blockquote2': string;
|
|
21
21
|
'fabric.editor.bold': string;
|
|
22
|
+
'fabric.editor.bug': string;
|
|
22
23
|
'fabric.editor.canNotSortTable': string;
|
|
23
24
|
'fabric.editor.cancelButton': string;
|
|
24
25
|
'fabric.editor.captionPlaceholder': string;
|
|
@@ -36,6 +37,7 @@ declare const _default: {
|
|
|
36
37
|
'fabric.editor.code': string;
|
|
37
38
|
'fabric.editor.codeblock': string;
|
|
38
39
|
'fabric.editor.codeblock.description': string;
|
|
40
|
+
'fabric.editor.collapseTable': string;
|
|
39
41
|
'fabric.editor.columns': string;
|
|
40
42
|
'fabric.editor.columns.description': string;
|
|
41
43
|
'fabric.editor.configFailedToLoad': string;
|
|
@@ -64,6 +66,7 @@ declare const _default: {
|
|
|
64
66
|
'fabric.editor.decision': string;
|
|
65
67
|
'fabric.editor.decision.description': string;
|
|
66
68
|
'fabric.editor.decisionPlaceholder': string;
|
|
69
|
+
'fabric.editor.defaultAltText': string;
|
|
67
70
|
'fabric.editor.displayBlock': string;
|
|
68
71
|
'fabric.editor.displayEmbed': string;
|
|
69
72
|
'fabric.editor.displayInline': string;
|
|
@@ -73,8 +76,11 @@ declare const _default: {
|
|
|
73
76
|
'fabric.editor.distributeColumns': string;
|
|
74
77
|
'fabric.editor.edit': string;
|
|
75
78
|
'fabric.editor.editAltText': string;
|
|
79
|
+
'fabric.editor.editDateText': string;
|
|
76
80
|
'fabric.editor.editLink': string;
|
|
77
81
|
'fabric.editor.editMode.inviteToEditButton.title': string;
|
|
82
|
+
'fabric.editor.editStatusColor': string;
|
|
83
|
+
'fabric.editor.editStatusText': string;
|
|
78
84
|
'fabric.editor.editorHelp': string;
|
|
79
85
|
'fabric.editor.elementBrowser.help': string;
|
|
80
86
|
'fabric.editor.elementbrowser.categorylist.category-admin': string;
|
|
@@ -95,6 +101,7 @@ declare const _default: {
|
|
|
95
101
|
'fabric.editor.emoji': string;
|
|
96
102
|
'fabric.editor.emoji.description': string;
|
|
97
103
|
'fabric.editor.emptyLink': string;
|
|
104
|
+
'fabric.editor.epic': string;
|
|
98
105
|
'fabric.editor.error': string;
|
|
99
106
|
'fabric.editor.errorPanel': string;
|
|
100
107
|
'fabric.editor.errorPanel.description': string;
|
|
@@ -109,6 +116,9 @@ declare const _default: {
|
|
|
109
116
|
'fabric.editor.findNext': string;
|
|
110
117
|
'fabric.editor.findPrevious': string;
|
|
111
118
|
'fabric.editor.findReplaceToolbarButton': string;
|
|
119
|
+
'fabric.editor.floatingToolbar.confirmModalCancel': string;
|
|
120
|
+
'fabric.editor.floatingToolbar.confirmModalHeading': string;
|
|
121
|
+
'fabric.editor.floatingToolbar.confirmModalOK': string;
|
|
112
122
|
'fabric.editor.headerColumn': string;
|
|
113
123
|
'fabric.editor.headerRow': string;
|
|
114
124
|
'fabric.editor.heading1': string;
|
|
@@ -132,6 +142,7 @@ declare const _default: {
|
|
|
132
142
|
'fabric.editor.hyperlink.searchLinkResults': string;
|
|
133
143
|
'fabric.editor.hyperlinkToolbarPlaceholder': string;
|
|
134
144
|
'fabric.editor.image': string;
|
|
145
|
+
'fabric.editor.improvement': string;
|
|
135
146
|
'fabric.editor.info': string;
|
|
136
147
|
'fabric.editor.infoPanel': string;
|
|
137
148
|
'fabric.editor.infoPanel.description': string;
|
|
@@ -194,7 +205,9 @@ declare const _default: {
|
|
|
194
205
|
'fabric.editor.status': string;
|
|
195
206
|
'fabric.editor.status.description': string;
|
|
196
207
|
'fabric.editor.statusPlaceholder': string;
|
|
208
|
+
'fabric.editor.story': string;
|
|
197
209
|
'fabric.editor.strike': string;
|
|
210
|
+
'fabric.editor.subTask': string;
|
|
198
211
|
'fabric.editor.subscript': string;
|
|
199
212
|
'fabric.editor.success': string;
|
|
200
213
|
'fabric.editor.successPanel': string;
|
|
@@ -204,6 +217,9 @@ declare const _default: {
|
|
|
204
217
|
'fabric.editor.table': string;
|
|
205
218
|
'fabric.editor.table.description': string;
|
|
206
219
|
'fabric.editor.tableOptions': string;
|
|
220
|
+
'fabric.editor.tables.confirmDeleteLinkedModalMessage': string;
|
|
221
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': string;
|
|
222
|
+
'fabric.editor.task': string;
|
|
207
223
|
'fabric.editor.taskPlaceholder': string;
|
|
208
224
|
'fabric.editor.textColor': string;
|
|
209
225
|
'fabric.editor.textColor.lessColors': string;
|
package/dist/types/i18n/de.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ declare const _default: {
|
|
|
19
19
|
'fabric.editor.blockquote.description': string;
|
|
20
20
|
'fabric.editor.blockquote2': string;
|
|
21
21
|
'fabric.editor.bold': string;
|
|
22
|
+
'fabric.editor.bug': string;
|
|
22
23
|
'fabric.editor.canNotSortTable': string;
|
|
23
24
|
'fabric.editor.cancelButton': string;
|
|
24
25
|
'fabric.editor.captionPlaceholder': string;
|
|
@@ -36,6 +37,7 @@ declare const _default: {
|
|
|
36
37
|
'fabric.editor.code': string;
|
|
37
38
|
'fabric.editor.codeblock': string;
|
|
38
39
|
'fabric.editor.codeblock.description': string;
|
|
40
|
+
'fabric.editor.collapseTable': string;
|
|
39
41
|
'fabric.editor.columns': string;
|
|
40
42
|
'fabric.editor.columns.description': string;
|
|
41
43
|
'fabric.editor.configFailedToLoad': string;
|
|
@@ -64,6 +66,7 @@ declare const _default: {
|
|
|
64
66
|
'fabric.editor.decision': string;
|
|
65
67
|
'fabric.editor.decision.description': string;
|
|
66
68
|
'fabric.editor.decisionPlaceholder': string;
|
|
69
|
+
'fabric.editor.defaultAltText': string;
|
|
67
70
|
'fabric.editor.displayBlock': string;
|
|
68
71
|
'fabric.editor.displayEmbed': string;
|
|
69
72
|
'fabric.editor.displayInline': string;
|
|
@@ -73,8 +76,11 @@ declare const _default: {
|
|
|
73
76
|
'fabric.editor.distributeColumns': string;
|
|
74
77
|
'fabric.editor.edit': string;
|
|
75
78
|
'fabric.editor.editAltText': string;
|
|
79
|
+
'fabric.editor.editDateText': string;
|
|
76
80
|
'fabric.editor.editLink': string;
|
|
77
81
|
'fabric.editor.editMode.inviteToEditButton.title': string;
|
|
82
|
+
'fabric.editor.editStatusColor': string;
|
|
83
|
+
'fabric.editor.editStatusText': string;
|
|
78
84
|
'fabric.editor.editorHelp': string;
|
|
79
85
|
'fabric.editor.elementBrowser.help': string;
|
|
80
86
|
'fabric.editor.elementbrowser.categorylist.category-admin': string;
|
|
@@ -95,6 +101,7 @@ declare const _default: {
|
|
|
95
101
|
'fabric.editor.emoji': string;
|
|
96
102
|
'fabric.editor.emoji.description': string;
|
|
97
103
|
'fabric.editor.emptyLink': string;
|
|
104
|
+
'fabric.editor.epic': string;
|
|
98
105
|
'fabric.editor.error': string;
|
|
99
106
|
'fabric.editor.errorPanel': string;
|
|
100
107
|
'fabric.editor.errorPanel.description': string;
|
|
@@ -109,6 +116,9 @@ declare const _default: {
|
|
|
109
116
|
'fabric.editor.findNext': string;
|
|
110
117
|
'fabric.editor.findPrevious': string;
|
|
111
118
|
'fabric.editor.findReplaceToolbarButton': string;
|
|
119
|
+
'fabric.editor.floatingToolbar.confirmModalCancel': string;
|
|
120
|
+
'fabric.editor.floatingToolbar.confirmModalHeading': string;
|
|
121
|
+
'fabric.editor.floatingToolbar.confirmModalOK': string;
|
|
112
122
|
'fabric.editor.headerColumn': string;
|
|
113
123
|
'fabric.editor.headerRow': string;
|
|
114
124
|
'fabric.editor.heading1': string;
|
|
@@ -132,6 +142,7 @@ declare const _default: {
|
|
|
132
142
|
'fabric.editor.hyperlink.searchLinkResults': string;
|
|
133
143
|
'fabric.editor.hyperlinkToolbarPlaceholder': string;
|
|
134
144
|
'fabric.editor.image': string;
|
|
145
|
+
'fabric.editor.improvement': string;
|
|
135
146
|
'fabric.editor.info': string;
|
|
136
147
|
'fabric.editor.infoPanel': string;
|
|
137
148
|
'fabric.editor.infoPanel.description': string;
|
|
@@ -194,7 +205,9 @@ declare const _default: {
|
|
|
194
205
|
'fabric.editor.status': string;
|
|
195
206
|
'fabric.editor.status.description': string;
|
|
196
207
|
'fabric.editor.statusPlaceholder': string;
|
|
208
|
+
'fabric.editor.story': string;
|
|
197
209
|
'fabric.editor.strike': string;
|
|
210
|
+
'fabric.editor.subTask': string;
|
|
198
211
|
'fabric.editor.subscript': string;
|
|
199
212
|
'fabric.editor.success': string;
|
|
200
213
|
'fabric.editor.successPanel': string;
|
|
@@ -204,6 +217,9 @@ declare const _default: {
|
|
|
204
217
|
'fabric.editor.table': string;
|
|
205
218
|
'fabric.editor.table.description': string;
|
|
206
219
|
'fabric.editor.tableOptions': string;
|
|
220
|
+
'fabric.editor.tables.confirmDeleteLinkedModalMessage': string;
|
|
221
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': string;
|
|
222
|
+
'fabric.editor.task': string;
|
|
207
223
|
'fabric.editor.taskPlaceholder': string;
|
|
208
224
|
'fabric.editor.textColor': string;
|
|
209
225
|
'fabric.editor.textColor.lessColors': string;
|
package/dist/types/i18n/es.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ declare const _default: {
|
|
|
19
19
|
'fabric.editor.blockquote.description': string;
|
|
20
20
|
'fabric.editor.blockquote2': string;
|
|
21
21
|
'fabric.editor.bold': string;
|
|
22
|
+
'fabric.editor.bug': string;
|
|
22
23
|
'fabric.editor.canNotSortTable': string;
|
|
23
24
|
'fabric.editor.cancelButton': string;
|
|
24
25
|
'fabric.editor.captionPlaceholder': string;
|
|
@@ -36,6 +37,7 @@ declare const _default: {
|
|
|
36
37
|
'fabric.editor.code': string;
|
|
37
38
|
'fabric.editor.codeblock': string;
|
|
38
39
|
'fabric.editor.codeblock.description': string;
|
|
40
|
+
'fabric.editor.collapseTable': string;
|
|
39
41
|
'fabric.editor.columns': string;
|
|
40
42
|
'fabric.editor.columns.description': string;
|
|
41
43
|
'fabric.editor.configFailedToLoad': string;
|
|
@@ -64,6 +66,7 @@ declare const _default: {
|
|
|
64
66
|
'fabric.editor.decision': string;
|
|
65
67
|
'fabric.editor.decision.description': string;
|
|
66
68
|
'fabric.editor.decisionPlaceholder': string;
|
|
69
|
+
'fabric.editor.defaultAltText': string;
|
|
67
70
|
'fabric.editor.displayBlock': string;
|
|
68
71
|
'fabric.editor.displayEmbed': string;
|
|
69
72
|
'fabric.editor.displayInline': string;
|
|
@@ -73,8 +76,11 @@ declare const _default: {
|
|
|
73
76
|
'fabric.editor.distributeColumns': string;
|
|
74
77
|
'fabric.editor.edit': string;
|
|
75
78
|
'fabric.editor.editAltText': string;
|
|
79
|
+
'fabric.editor.editDateText': string;
|
|
76
80
|
'fabric.editor.editLink': string;
|
|
77
81
|
'fabric.editor.editMode.inviteToEditButton.title': string;
|
|
82
|
+
'fabric.editor.editStatusColor': string;
|
|
83
|
+
'fabric.editor.editStatusText': string;
|
|
78
84
|
'fabric.editor.editorHelp': string;
|
|
79
85
|
'fabric.editor.elementBrowser.help': string;
|
|
80
86
|
'fabric.editor.elementbrowser.categorylist.category-admin': string;
|
|
@@ -95,6 +101,7 @@ declare const _default: {
|
|
|
95
101
|
'fabric.editor.emoji': string;
|
|
96
102
|
'fabric.editor.emoji.description': string;
|
|
97
103
|
'fabric.editor.emptyLink': string;
|
|
104
|
+
'fabric.editor.epic': string;
|
|
98
105
|
'fabric.editor.error': string;
|
|
99
106
|
'fabric.editor.errorPanel': string;
|
|
100
107
|
'fabric.editor.errorPanel.description': string;
|
|
@@ -135,6 +142,7 @@ declare const _default: {
|
|
|
135
142
|
'fabric.editor.hyperlink.searchLinkResults': string;
|
|
136
143
|
'fabric.editor.hyperlinkToolbarPlaceholder': string;
|
|
137
144
|
'fabric.editor.image': string;
|
|
145
|
+
'fabric.editor.improvement': string;
|
|
138
146
|
'fabric.editor.info': string;
|
|
139
147
|
'fabric.editor.infoPanel': string;
|
|
140
148
|
'fabric.editor.infoPanel.description': string;
|
|
@@ -197,7 +205,9 @@ declare const _default: {
|
|
|
197
205
|
'fabric.editor.status': string;
|
|
198
206
|
'fabric.editor.status.description': string;
|
|
199
207
|
'fabric.editor.statusPlaceholder': string;
|
|
208
|
+
'fabric.editor.story': string;
|
|
200
209
|
'fabric.editor.strike': string;
|
|
210
|
+
'fabric.editor.subTask': string;
|
|
201
211
|
'fabric.editor.subscript': string;
|
|
202
212
|
'fabric.editor.success': string;
|
|
203
213
|
'fabric.editor.successPanel': string;
|
|
@@ -209,6 +219,7 @@ declare const _default: {
|
|
|
209
219
|
'fabric.editor.tableOptions': string;
|
|
210
220
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': string;
|
|
211
221
|
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': string;
|
|
222
|
+
'fabric.editor.task': string;
|
|
212
223
|
'fabric.editor.taskPlaceholder': string;
|
|
213
224
|
'fabric.editor.textColor': string;
|
|
214
225
|
'fabric.editor.textColor.lessColors': string;
|
package/dist/types/i18n/et.d.ts
CHANGED
|
@@ -83,7 +83,6 @@ declare const _default: {
|
|
|
83
83
|
'fabric.editor.helpDialogTips': string;
|
|
84
84
|
'fabric.editor.horizontalRule': string;
|
|
85
85
|
'fabric.editor.horizontalRule.description': string;
|
|
86
|
-
'fabric.editor.hyperlinkToolbarPlaceholder': string;
|
|
87
86
|
'fabric.editor.image': string;
|
|
88
87
|
'fabric.editor.info': string;
|
|
89
88
|
'fabric.editor.infoPanel': string;
|
package/dist/types/i18n/fi.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ declare const _default: {
|
|
|
19
19
|
'fabric.editor.blockquote.description': string;
|
|
20
20
|
'fabric.editor.blockquote2': string;
|
|
21
21
|
'fabric.editor.bold': string;
|
|
22
|
+
'fabric.editor.bug': string;
|
|
22
23
|
'fabric.editor.canNotSortTable': string;
|
|
23
24
|
'fabric.editor.cancelButton': string;
|
|
24
25
|
'fabric.editor.captionPlaceholder': string;
|
|
@@ -36,6 +37,7 @@ declare const _default: {
|
|
|
36
37
|
'fabric.editor.code': string;
|
|
37
38
|
'fabric.editor.codeblock': string;
|
|
38
39
|
'fabric.editor.codeblock.description': string;
|
|
40
|
+
'fabric.editor.collapseTable': string;
|
|
39
41
|
'fabric.editor.columns': string;
|
|
40
42
|
'fabric.editor.columns.description': string;
|
|
41
43
|
'fabric.editor.configFailedToLoad': string;
|
|
@@ -64,6 +66,7 @@ declare const _default: {
|
|
|
64
66
|
'fabric.editor.decision': string;
|
|
65
67
|
'fabric.editor.decision.description': string;
|
|
66
68
|
'fabric.editor.decisionPlaceholder': string;
|
|
69
|
+
'fabric.editor.defaultAltText': string;
|
|
67
70
|
'fabric.editor.displayBlock': string;
|
|
68
71
|
'fabric.editor.displayEmbed': string;
|
|
69
72
|
'fabric.editor.displayInline': string;
|
|
@@ -73,8 +76,11 @@ declare const _default: {
|
|
|
73
76
|
'fabric.editor.distributeColumns': string;
|
|
74
77
|
'fabric.editor.edit': string;
|
|
75
78
|
'fabric.editor.editAltText': string;
|
|
79
|
+
'fabric.editor.editDateText': string;
|
|
76
80
|
'fabric.editor.editLink': string;
|
|
77
81
|
'fabric.editor.editMode.inviteToEditButton.title': string;
|
|
82
|
+
'fabric.editor.editStatusColor': string;
|
|
83
|
+
'fabric.editor.editStatusText': string;
|
|
78
84
|
'fabric.editor.editorHelp': string;
|
|
79
85
|
'fabric.editor.elementBrowser.help': string;
|
|
80
86
|
'fabric.editor.elementbrowser.categorylist.category-admin': string;
|
|
@@ -95,6 +101,7 @@ declare const _default: {
|
|
|
95
101
|
'fabric.editor.emoji': string;
|
|
96
102
|
'fabric.editor.emoji.description': string;
|
|
97
103
|
'fabric.editor.emptyLink': string;
|
|
104
|
+
'fabric.editor.epic': string;
|
|
98
105
|
'fabric.editor.error': string;
|
|
99
106
|
'fabric.editor.errorPanel': string;
|
|
100
107
|
'fabric.editor.errorPanel.description': string;
|
|
@@ -135,6 +142,7 @@ declare const _default: {
|
|
|
135
142
|
'fabric.editor.hyperlink.searchLinkResults': string;
|
|
136
143
|
'fabric.editor.hyperlinkToolbarPlaceholder': string;
|
|
137
144
|
'fabric.editor.image': string;
|
|
145
|
+
'fabric.editor.improvement': string;
|
|
138
146
|
'fabric.editor.info': string;
|
|
139
147
|
'fabric.editor.infoPanel': string;
|
|
140
148
|
'fabric.editor.infoPanel.description': string;
|
|
@@ -197,7 +205,9 @@ declare const _default: {
|
|
|
197
205
|
'fabric.editor.status': string;
|
|
198
206
|
'fabric.editor.status.description': string;
|
|
199
207
|
'fabric.editor.statusPlaceholder': string;
|
|
208
|
+
'fabric.editor.story': string;
|
|
200
209
|
'fabric.editor.strike': string;
|
|
210
|
+
'fabric.editor.subTask': string;
|
|
201
211
|
'fabric.editor.subscript': string;
|
|
202
212
|
'fabric.editor.success': string;
|
|
203
213
|
'fabric.editor.successPanel': string;
|
|
@@ -209,6 +219,7 @@ declare const _default: {
|
|
|
209
219
|
'fabric.editor.tableOptions': string;
|
|
210
220
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': string;
|
|
211
221
|
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': string;
|
|
222
|
+
'fabric.editor.task': string;
|
|
212
223
|
'fabric.editor.taskPlaceholder': string;
|
|
213
224
|
'fabric.editor.textColor': string;
|
|
214
225
|
'fabric.editor.textColor.lessColors': string;
|
package/dist/types/i18n/fr.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ declare const _default: {
|
|
|
19
19
|
'fabric.editor.blockquote.description': string;
|
|
20
20
|
'fabric.editor.blockquote2': string;
|
|
21
21
|
'fabric.editor.bold': string;
|
|
22
|
+
'fabric.editor.bug': string;
|
|
22
23
|
'fabric.editor.canNotSortTable': string;
|
|
23
24
|
'fabric.editor.cancelButton': string;
|
|
24
25
|
'fabric.editor.captionPlaceholder': string;
|
|
@@ -36,6 +37,7 @@ declare const _default: {
|
|
|
36
37
|
'fabric.editor.code': string;
|
|
37
38
|
'fabric.editor.codeblock': string;
|
|
38
39
|
'fabric.editor.codeblock.description': string;
|
|
40
|
+
'fabric.editor.collapseTable': string;
|
|
39
41
|
'fabric.editor.columns': string;
|
|
40
42
|
'fabric.editor.columns.description': string;
|
|
41
43
|
'fabric.editor.configFailedToLoad': string;
|
|
@@ -64,6 +66,7 @@ declare const _default: {
|
|
|
64
66
|
'fabric.editor.decision': string;
|
|
65
67
|
'fabric.editor.decision.description': string;
|
|
66
68
|
'fabric.editor.decisionPlaceholder': string;
|
|
69
|
+
'fabric.editor.defaultAltText': string;
|
|
67
70
|
'fabric.editor.displayBlock': string;
|
|
68
71
|
'fabric.editor.displayEmbed': string;
|
|
69
72
|
'fabric.editor.displayInline': string;
|
|
@@ -73,8 +76,11 @@ declare const _default: {
|
|
|
73
76
|
'fabric.editor.distributeColumns': string;
|
|
74
77
|
'fabric.editor.edit': string;
|
|
75
78
|
'fabric.editor.editAltText': string;
|
|
79
|
+
'fabric.editor.editDateText': string;
|
|
76
80
|
'fabric.editor.editLink': string;
|
|
77
81
|
'fabric.editor.editMode.inviteToEditButton.title': string;
|
|
82
|
+
'fabric.editor.editStatusColor': string;
|
|
83
|
+
'fabric.editor.editStatusText': string;
|
|
78
84
|
'fabric.editor.editorHelp': string;
|
|
79
85
|
'fabric.editor.elementBrowser.help': string;
|
|
80
86
|
'fabric.editor.elementbrowser.categorylist.category-admin': string;
|
|
@@ -95,6 +101,7 @@ declare const _default: {
|
|
|
95
101
|
'fabric.editor.emoji': string;
|
|
96
102
|
'fabric.editor.emoji.description': string;
|
|
97
103
|
'fabric.editor.emptyLink': string;
|
|
104
|
+
'fabric.editor.epic': string;
|
|
98
105
|
'fabric.editor.error': string;
|
|
99
106
|
'fabric.editor.errorPanel': string;
|
|
100
107
|
'fabric.editor.errorPanel.description': string;
|
|
@@ -135,6 +142,7 @@ declare const _default: {
|
|
|
135
142
|
'fabric.editor.hyperlink.searchLinkResults': string;
|
|
136
143
|
'fabric.editor.hyperlinkToolbarPlaceholder': string;
|
|
137
144
|
'fabric.editor.image': string;
|
|
145
|
+
'fabric.editor.improvement': string;
|
|
138
146
|
'fabric.editor.info': string;
|
|
139
147
|
'fabric.editor.infoPanel': string;
|
|
140
148
|
'fabric.editor.infoPanel.description': string;
|
|
@@ -197,7 +205,9 @@ declare const _default: {
|
|
|
197
205
|
'fabric.editor.status': string;
|
|
198
206
|
'fabric.editor.status.description': string;
|
|
199
207
|
'fabric.editor.statusPlaceholder': string;
|
|
208
|
+
'fabric.editor.story': string;
|
|
200
209
|
'fabric.editor.strike': string;
|
|
210
|
+
'fabric.editor.subTask': string;
|
|
201
211
|
'fabric.editor.subscript': string;
|
|
202
212
|
'fabric.editor.success': string;
|
|
203
213
|
'fabric.editor.successPanel': string;
|
|
@@ -209,6 +219,7 @@ declare const _default: {
|
|
|
209
219
|
'fabric.editor.tableOptions': string;
|
|
210
220
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': string;
|
|
211
221
|
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': string;
|
|
222
|
+
'fabric.editor.task': string;
|
|
212
223
|
'fabric.editor.taskPlaceholder': string;
|
|
213
224
|
'fabric.editor.textColor': string;
|
|
214
225
|
'fabric.editor.textColor.lessColors': string;
|