@atlaskit/editor-core 167.0.1 → 168.0.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.
Files changed (176) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/cjs/i18n/cs.js +1 -23
  3. package/dist/cjs/i18n/da.js +1 -23
  4. package/dist/cjs/i18n/de.js +1 -23
  5. package/dist/cjs/i18n/es.js +1 -23
  6. package/dist/cjs/i18n/et.js +1 -23
  7. package/dist/cjs/i18n/fr.js +1 -23
  8. package/dist/cjs/i18n/hu.js +1 -23
  9. package/dist/cjs/i18n/is.js +1 -23
  10. package/dist/cjs/i18n/it.js +1 -23
  11. package/dist/cjs/i18n/ko.js +1 -23
  12. package/dist/cjs/i18n/nb.js +1 -9
  13. package/dist/cjs/i18n/nl.js +0 -3
  14. package/dist/cjs/i18n/pl.js +0 -1
  15. package/dist/cjs/i18n/pt_BR.js +1 -8
  16. package/dist/cjs/i18n/pt_PT.js +1 -11
  17. package/dist/cjs/i18n/ro.js +1 -23
  18. package/dist/cjs/i18n/sk.js +1 -23
  19. package/dist/cjs/i18n/sv.js +0 -1
  20. package/dist/cjs/plugins/annotation/pm-plugins/inline-comment.js +2 -2
  21. package/dist/cjs/plugins/card/styles.js +1 -1
  22. package/dist/cjs/plugins/collab-edit/index.js +2 -2
  23. package/dist/cjs/plugins/collab-edit/provider/channel.js +2 -2
  24. package/dist/cjs/plugins/date/actions.js +1 -1
  25. package/dist/cjs/plugins/extension/context-panel.js +2 -2
  26. package/dist/cjs/plugins/extension/pm-plugins/main.js +2 -2
  27. package/dist/cjs/plugins/floating-toolbar/ui/ExtensionsPlaceholder.js +2 -2
  28. package/dist/cjs/plugins/hyperlink/ui/HyperlinkAddToolbar/HyperlinkAddToolbar.js +2 -2
  29. package/dist/cjs/plugins/layout/styles.js +1 -1
  30. package/dist/cjs/plugins/list/styles.js +3 -1
  31. package/dist/cjs/plugins/macro/actions.js +2 -2
  32. package/dist/cjs/plugins/media/nodeviews/mediaInline.js +2 -2
  33. package/dist/cjs/plugins/media/nodeviews/mediaSingle.js +2 -2
  34. package/dist/cjs/plugins/media/ui/ResizableMediaSingle/index.js +2 -2
  35. package/dist/cjs/plugins/paste/handlers.js +40 -14
  36. package/dist/cjs/plugins/paste/pm-plugins/analytics.js +1 -1
  37. package/dist/cjs/plugins/paste/pm-plugins/main.js +17 -0
  38. package/dist/cjs/plugins/quick-insert/search.js +3 -1
  39. package/dist/cjs/plugins/table/ui/common-styles.js +1 -1
  40. package/dist/cjs/plugins/table/utils/paste.js +16 -3
  41. package/dist/cjs/plugins/type-ahead/ui/InputQuery.js +7 -0
  42. package/dist/cjs/ui/Appearance/Comment/Toolbar.js +1 -1
  43. package/dist/cjs/ui/ConfigPanel/ConfigPanel.js +2 -2
  44. package/dist/cjs/ui/ConfigPanel/Fields/CustomSelect.js +2 -2
  45. package/dist/cjs/ui/ConfigPanel/Fields/UserSelect.js +2 -2
  46. package/dist/cjs/ui/ConfigPanel/transformers.js +2 -2
  47. package/dist/cjs/version-wrapper.js +1 -1
  48. package/dist/cjs/version.json +1 -1
  49. package/dist/es2019/i18n/cs.js +1 -23
  50. package/dist/es2019/i18n/da.js +1 -23
  51. package/dist/es2019/i18n/de.js +1 -23
  52. package/dist/es2019/i18n/es.js +1 -23
  53. package/dist/es2019/i18n/et.js +1 -23
  54. package/dist/es2019/i18n/fr.js +1 -23
  55. package/dist/es2019/i18n/hu.js +1 -23
  56. package/dist/es2019/i18n/is.js +1 -23
  57. package/dist/es2019/i18n/it.js +1 -23
  58. package/dist/es2019/i18n/ko.js +1 -23
  59. package/dist/es2019/i18n/nb.js +1 -9
  60. package/dist/es2019/i18n/nl.js +0 -3
  61. package/dist/es2019/i18n/pl.js +0 -1
  62. package/dist/es2019/i18n/pt_BR.js +1 -8
  63. package/dist/es2019/i18n/pt_PT.js +1 -11
  64. package/dist/es2019/i18n/ro.js +1 -23
  65. package/dist/es2019/i18n/sk.js +1 -23
  66. package/dist/es2019/i18n/sv.js +0 -1
  67. package/dist/es2019/plugins/card/styles.js +3 -0
  68. package/dist/es2019/plugins/date/actions.js +1 -1
  69. package/dist/es2019/plugins/layout/styles.js +2 -1
  70. package/dist/es2019/plugins/list/styles.js +8 -0
  71. package/dist/es2019/plugins/paste/handlers.js +39 -12
  72. package/dist/es2019/plugins/paste/pm-plugins/analytics.js +2 -2
  73. package/dist/es2019/plugins/paste/pm-plugins/main.js +14 -0
  74. package/dist/es2019/plugins/quick-insert/search.js +1 -1
  75. package/dist/es2019/plugins/table/ui/common-styles.js +2 -1
  76. package/dist/es2019/plugins/table/utils/paste.js +16 -3
  77. package/dist/es2019/plugins/type-ahead/ui/InputQuery.js +7 -0
  78. package/dist/es2019/ui/Appearance/Comment/Toolbar.js +5 -2
  79. package/dist/es2019/version-wrapper.js +1 -1
  80. package/dist/es2019/version.json +1 -1
  81. package/dist/esm/actions/index.js +1 -1
  82. package/dist/esm/create-editor/ErrorBoundary.js +1 -1
  83. package/dist/esm/editor.js +2 -1
  84. package/dist/esm/i18n/cs.js +1 -23
  85. package/dist/esm/i18n/da.js +1 -23
  86. package/dist/esm/i18n/de.js +1 -23
  87. package/dist/esm/i18n/es.js +1 -23
  88. package/dist/esm/i18n/et.js +1 -23
  89. package/dist/esm/i18n/fr.js +1 -23
  90. package/dist/esm/i18n/hu.js +1 -23
  91. package/dist/esm/i18n/is.js +1 -23
  92. package/dist/esm/i18n/it.js +1 -23
  93. package/dist/esm/i18n/ko.js +1 -23
  94. package/dist/esm/i18n/nb.js +1 -9
  95. package/dist/esm/i18n/nl.js +0 -3
  96. package/dist/esm/i18n/pl.js +0 -1
  97. package/dist/esm/i18n/pt_BR.js +1 -8
  98. package/dist/esm/i18n/pt_PT.js +1 -11
  99. package/dist/esm/i18n/ro.js +1 -23
  100. package/dist/esm/i18n/sk.js +1 -23
  101. package/dist/esm/i18n/sv.js +0 -1
  102. package/dist/esm/plugins/annotation/pm-plugins/inline-comment.js +1 -1
  103. package/dist/esm/plugins/card/styles.js +1 -1
  104. package/dist/esm/plugins/collab-edit/index.js +1 -1
  105. package/dist/esm/plugins/collab-edit/provider/channel.js +1 -1
  106. package/dist/esm/plugins/custom-autoformat/doc.js +1 -1
  107. package/dist/esm/plugins/custom-autoformat/index.js +1 -1
  108. package/dist/esm/plugins/date/actions.js +1 -1
  109. package/dist/esm/plugins/extension/actions.js +1 -1
  110. package/dist/esm/plugins/extension/context-panel.js +1 -1
  111. package/dist/esm/plugins/extension/pm-plugins/main.js +1 -1
  112. package/dist/esm/plugins/extension/ui/Extension/ExtensionComponent.js +1 -1
  113. package/dist/esm/plugins/feedback-dialog/index.js +1 -1
  114. package/dist/esm/plugins/feedback-dialog/loadJiraCollectorDialogScript.js +1 -1
  115. package/dist/esm/plugins/find-replace/utils/batch-decorations.js +1 -1
  116. package/dist/esm/plugins/floating-toolbar/ui/ExtensionsPlaceholder.js +1 -1
  117. package/dist/esm/plugins/hyperlink/HyperlinkToolbarAppearance.js +1 -1
  118. package/dist/esm/plugins/hyperlink/ui/HyperlinkAddToolbar/HyperlinkAddToolbar.js +2 -1
  119. package/dist/esm/plugins/image-upload/pm-plugins/main.js +1 -1
  120. package/dist/esm/plugins/layout/styles.js +1 -1
  121. package/dist/esm/plugins/list/styles.js +2 -1
  122. package/dist/esm/plugins/macro/actions.js +1 -1
  123. package/dist/esm/plugins/media/nodeviews/mediaGroup.js +1 -1
  124. package/dist/esm/plugins/media/nodeviews/mediaInline.js +2 -1
  125. package/dist/esm/plugins/media/nodeviews/mediaNodeUpdater.js +1 -1
  126. package/dist/esm/plugins/media/nodeviews/mediaNodeView/media.js +1 -1
  127. package/dist/esm/plugins/media/nodeviews/mediaSingle.js +1 -1
  128. package/dist/esm/plugins/media/picker-facade.js +1 -1
  129. package/dist/esm/plugins/media/pm-plugins/main.js +1 -1
  130. package/dist/esm/plugins/media/toolbar/utils.js +1 -1
  131. package/dist/esm/plugins/media/ui/MediaPicker/PickerFacadeProvider.js +1 -1
  132. package/dist/esm/plugins/media/ui/ResizableMediaSingle/index.js +1 -1
  133. package/dist/esm/plugins/media/utils/check-media-type.js +1 -1
  134. package/dist/esm/plugins/paste/handlers.js +41 -14
  135. package/dist/esm/plugins/paste/pm-plugins/analytics.js +2 -2
  136. package/dist/esm/plugins/paste/pm-plugins/main.js +17 -1
  137. package/dist/esm/plugins/quick-insert/index.js +1 -1
  138. package/dist/esm/plugins/quick-insert/search.js +3 -1
  139. package/dist/esm/plugins/table/ui/common-styles.js +1 -1
  140. package/dist/esm/plugins/table/utils/paste.js +16 -3
  141. package/dist/esm/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.js +1 -1
  142. package/dist/esm/plugins/type-ahead/ui/InputQuery.js +7 -0
  143. package/dist/esm/ui/Appearance/Comment/Toolbar.js +1 -1
  144. package/dist/esm/ui/ConfigPanel/ConfigPanel.js +1 -1
  145. package/dist/esm/ui/ConfigPanel/Fields/CustomSelect.js +1 -1
  146. package/dist/esm/ui/ConfigPanel/Fields/UserSelect.js +1 -1
  147. package/dist/esm/ui/ConfigPanel/FormErrorBoundary.js +1 -1
  148. package/dist/esm/ui/ConfigPanel/transformers.js +1 -1
  149. package/dist/esm/ui/LinkSearch/index.js +1 -1
  150. package/dist/esm/ui/ToolbarFeedback/index.js +1 -1
  151. package/dist/esm/utils/action.js +1 -1
  152. package/dist/esm/utils/clipboard.js +1 -1
  153. package/dist/esm/utils/extensions.js +1 -1
  154. package/dist/esm/version-wrapper.js +1 -1
  155. package/dist/esm/version.json +1 -1
  156. package/dist/types/i18n/cs.d.ts +0 -22
  157. package/dist/types/i18n/da.d.ts +0 -22
  158. package/dist/types/i18n/de.d.ts +0 -22
  159. package/dist/types/i18n/es.d.ts +0 -22
  160. package/dist/types/i18n/et.d.ts +0 -22
  161. package/dist/types/i18n/fr.d.ts +0 -22
  162. package/dist/types/i18n/hu.d.ts +0 -22
  163. package/dist/types/i18n/is.d.ts +0 -22
  164. package/dist/types/i18n/it.d.ts +0 -22
  165. package/dist/types/i18n/ko.d.ts +0 -22
  166. package/dist/types/i18n/nb.d.ts +0 -8
  167. package/dist/types/i18n/nl.d.ts +0 -3
  168. package/dist/types/i18n/pl.d.ts +0 -1
  169. package/dist/types/i18n/pt_BR.d.ts +0 -7
  170. package/dist/types/i18n/pt_PT.d.ts +0 -10
  171. package/dist/types/i18n/ro.d.ts +0 -22
  172. package/dist/types/i18n/sk.d.ts +0 -22
  173. package/dist/types/i18n/sv.d.ts +0 -1
  174. package/dist/types/plugins/paste/handlers.d.ts +1 -1
  175. package/package.json +20 -20
  176. package/report.api.md +2698 -0
@@ -19,7 +19,7 @@ var sentinelStyles = ".".concat(ClassName.TABLE_CONTAINER, " {\n > .").concat(C
19
19
  export var tableStyles = function tableStyles(props) {
20
20
  var _props$featureFlags;
21
21
 
22
- return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .", " button {\n background: ", ";\n color: ", ";\n cursor: none;\n }\n\n .", ":not(.", ") button:hover {\n background: ", ";\n color: ", " !important;\n cursor: pointer;\n }\n\n .ProseMirror {\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n\n .", " {\n margin-bottom: 0;\n }\n\n .", " {\n td.", ", th.", " {\n position: relative;\n overflow: visible;\n }\n\n td.", " {\n background-color: ", ";\n }\n }\n\n .", " {\n ", "\n }\n\n .", " {\n ", "\n }\n\n /* Delete button */\n ", "\n /* Ends Delete button */\n\n /* sticky styles */\n .", " .", " .", ":first-of-type {\n margin-top: ", "px;\n width: ", "px;\n\n position: fixed !important;\n z-index: ", " !important;\n box-shadow: 0px -", "px ", ";\n border-right: 0 none;\n /* top set by NumberColumn component */\n }\n\n .", " .", ".sticky {\n position: fixed !important;\n /* needs to be above row controls */\n z-index: ", " !important;\n background: ", ";\n\n width: ", "px;\n height: ", "px;\n }\n\n .", ".sticky .", " {\n border-bottom: 0px none;\n border-right: 0px none;\n\n height: ", "px;\n width: ", "px;\n }\n\n .", " .", " {\n z-index: 0;\n }\n\n .", "\n .", "\n .", ".sticky {\n position: fixed !important;\n z-index: ", " !important;\n display: flex;\n border-left: ", "px solid\n ", ";\n margin-left: -", "px;\n }\n\n .", " col:first-of-type {\n /* moving rows out of a table layout does weird things in Chrome */\n border-right: 1px solid ", ";\n }\n\n tr.sticky {\n padding-top: ", "px;\n position: fixed;\n display: grid;\n\n /* to keep it above cell selection */\n z-index: ", ";\n\n overflow-y: visible;\n overflow-x: hidden;\n\n grid-auto-flow: column;\n\n /* background for where controls apply */\n background: ", ";\n box-sizing: content-box;\n\n margin-top: 2px;\n\n box-shadow: ", ";\n margin-left: -1px;\n\n &.no-pointer-events {\n pointer-events: none;\n }\n }\n\n .", " .", " {\n left: unset;\n position: fixed;\n z-index: ", ";\n }\n\n .", ".", "\n .", " {\n padding-bottom: ", "px;\n }\n\n tr.sticky th {\n border-bottom: ", "px solid\n ", ";\n margin-right: -1px;\n }\n\n .", " tr.sticky > th:last-child {\n border-right-width: 1px;\n }\n\n /* add left edge for first cell */\n .", " tr.sticky > th:first-of-type {\n margin-left: 0px;\n }\n\n /* add a little bit so the scroll lines up with the table */\n .", " tr.sticky::after {\n content: ' ';\n width: 1px;\n }\n\n /* To fix jumpiness caused in Chrome Browsers for sticky headers */\n .", " .sticky + tr {\n min-height: 0px;\n }\n\n /* move resize line a little in sticky bar */\n .", ".", " {\n tr.sticky\n td.", ",\n tr.sticky\n th.", " {\n .", "::after {\n right: ", "px;\n }\n }\n\n /* when selected put it back to normal -- :not selector would be nicer */\n tr.sticky\n td.", ".", ",\n tr.sticky\n th.", ".", " {\n .", "::after {\n right: ", "px;\n }\n }\n }\n\n tr.sticky\n .", ",\n tr.sticky\n .", " {\n z-index: 1;\n }\n\n .", " tr.sticky {\n padding-top: ", "px;\n }\n\n .", ".", "\n .", "\n .", ":first-of-type {\n margin-top: ", "px;\n }\n\n .", ".sticky {\n border-top: ", "px solid\n ", ";\n }\n\n ", "\n ", "\n\n .", " .", " {\n height: 0; // stop overflow flash & set correct height in update-overflow-shadows.ts\n }\n\n .less-padding {\n padding: 0 ", "px;\n\n .", " {\n padding: 0 ", "px;\n }\n\n &.", "[data-number-column='true'] {\n padding-left: ", "px;\n }\n\n .", " {\n left: 6px;\n }\n\n .", " {\n left: calc(100% - 6px);\n }\n }\n\n > .", " {\n /**\n * Prevent margins collapsing, aids with placing the gap-cursor correctly\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Box_Model/Mastering_margin_collapsing\n *\n * TODO: Enable this, many tests will fail!\n * border-top: 1px solid transparent;\n */\n }\n\n /* Breakout only works on top level */\n > * .", " .", " {\n margin-left: unset !important;\n width: 100% !important;\n }\n\n ", ";\n\n /* Corner controls */\n .", " {\n width: ", "px;\n height: ", "px;\n display: none;\n\n .", " {\n position: relative;\n\n ", ";\n }\n\n .", " {\n position: relative;\n\n ", ";\n }\n }\n\n .", ".sticky {\n .", " {\n /* sticky row insert dot overlaps other row insert and messes things up */\n display: none !important;\n }\n }\n\n .", " {\n position: absolute;\n top: 0;\n width: ", "px;\n height: ", "px;\n border: 1px solid ", ";\n border-radius: 0;\n border-top-left-radius: ", "px;\n background: ", ";\n box-sizing: border-box;\n padding: 0;\n :focus {\n outline: none;\n }\n }\n .active .", " {\n border-color: ", ";\n background: ", ";\n }\n\n .", "[data-number-column='true'] {\n .", ", .", " {\n width: ", "px;\n }\n .", " .", " {\n border-right-width: 0;\n }\n }\n\n :not(.", ") .", ":hover {\n border-color: ", ";\n background: ", ";\n cursor: pointer;\n }\n\n :not(.", ")\n .", ".", " {\n border-color: ", ";\n background: ", ";\n }\n\n /* Row controls */\n .", " {\n width: ", "px;\n box-sizing: border-box;\n display: none;\n position: relative;\n\n ", ";\n\n .", " {\n display: flex;\n flex-direction: column;\n }\n .", ":last-child > button {\n border-bottom-left-radius: ", "px;\n }\n .", " {\n position: relative;\n margin-top: -1px;\n }\n .", ":hover,\n .", ".active,\n .", ":hover {\n z-index: ", ";\n }\n\n ", "\n }\n\n :not(.", ") .", " {\n ", "\n ", "\n }\n\n /* Numbered column */\n .", " {\n position: relative;\n float: right;\n margin-left: ", "px;\n top: ", "px;\n width: ", "px;\n box-sizing: border-box;\n }\n\n .", " {\n border: 1px solid ", ";\n box-sizing: border-box;\n margin-top: -1px;\n padding-bottom: 2px;\n padding: 10px 2px;\n text-align: center;\n font-size: ", ";\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n\n :first-child {\n margin-top: 0;\n }\n :last-child {\n border-bottom: 1px solid ", ";\n }\n }\n\n .", " {\n .", ", .", " {\n display: block;\n }\n .", " {\n padding-left: 1px;\n .", " {\n border-left: 0 none;\n }\n\n .", ".active {\n border-bottom: 1px solid ", ";\n border-color: ", ";\n background-color: ", ";\n position: relative;\n z-index: ", ";\n color: ", ";\n }\n }\n }\n :not(.", ") .", " {\n .", " {\n cursor: pointer;\n }\n .", ":hover {\n border-bottom: 1px solid ", ";\n border-color: ", ";\n background-color: ", ";\n position: relative;\n z-index: ", ";\n color: ", ";\n }\n .", ".", " {\n background-color: ", ";\n border: 1px solid ", ";\n border-left: 0;\n color: ", ";\n position: relative;\n z-index: ", ";\n }\n }\n\n /* Table */\n .", " > table {\n table-layout: fixed;\n\n .", " + * {\n margin-top: 0;\n }\n\n /*\n * Headings have a top margin by default, but we don't want this on the\n * first heading within table header cells.\n *\n * This specifically sets margin-top for the first heading within a header\n * cell when center/right aligned.\n */\n th.", " > .fabric-editor-block-mark {\n > h1:first-of-type,\n > h2:first-of-type,\n > h3:first-of-type,\n > h4:first-of-type,\n > h5:first-of-type,\n > h6:first-of-type {\n margin-top: 0;\n }\n }\n\n .", ", .", " {\n position: relative;\n }\n /* Give selected cells a blue overlay */\n .", "::after,\n .", "::after {\n z-index: ", ";\n position: absolute;\n content: '';\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n pointer-events: none;\n }\n .", " {\n border: 1px solid ", ";\n }\n .", "::after {\n background: ", ";\n }\n th.", "::after,\n td.", "::after {\n background: ", ";\n }\n }\n .", " {\n position: absolute;\n /* top of corner control is table margin top - corner control height + 1 pixel of table border. */\n top: ", "px;\n }\n .", ".", " {\n z-index: ", ";\n }\n .", " {\n left: -", "px;\n }\n .", " {\n /*\n compensating for half of the insert column button\n that is aligned to the right edge initially on hover of the top right column control when table overflown,\n its center should be aligned with the edge\n */\n padding-right: ", "px;\n margin-right: -", "px;\n padding-bottom: ", "px;\n margin-bottom: -", "px;\n /* fixes gap cursor height */\n overflow: auto;\n position: relative;\n }\n }\n\n .ProseMirror.", " {\n .", " {\n overflow-x: auto;\n ", ";\n }\n }\n\n .ProseMirror.", " {\n cursor: col-resize;\n }\n\n .ProseMirror .pm-table-cell-content-wrap ol[data-child-count='100+'] {\n padding-left: revert;\n }\n"])), ClassName.LAYOUT_BUTTON, token('color.background.neutral', N20A), token('color.icon', N300), ClassName.LAYOUT_BUTTON, ClassName.IS_RESIZING, token('color.background.neutral.hovered', B300), token('color.icon', 'white'), tableSharedStyle(props), columnControlsLineMarker(props), hoveredDeleteButton, hoveredCell, hoveredWarningCell, resizeHandle, rangeSelectionStyles, ClassName.LAST_ITEM_IN_CELL, ClassName.TABLE_NODE_WRAPPER, ClassName.TABLE_CELL, ClassName.TABLE_HEADER_CELL, ClassName.TABLE_CELL, tableCellBackgroundColor(props), ClassName.CONTROLS_FLOATING_BUTTON_COLUMN, insertColumnButtonWrapper, ClassName.CONTROLS_FLOATING_BUTTON_ROW, insertRowButtonWrapper, DeleteButton, ClassName.TABLE_STICKY, ClassName.NUMBERED_COLUMN, ClassName.NUMBERED_COLUMN_BUTTON, stickyRowOffsetTop + 2, akEditorTableNumberColumnWidth, akEditorStickyHeaderZIndex, stickyRowOffsetTop, token('elevation.surface', 'white'), ClassName.TABLE_STICKY, ClassName.CORNER_CONTROLS, akEditorSmallZIndex, token('elevation.surface', 'white'), tableToolbarSize, tableToolbarSize, ClassName.CORNER_CONTROLS, ClassName.CONTROLS_CORNER_BUTTON, tableToolbarSize, tableToolbarSize, ClassName.TABLE_STICKY, ClassName.COLUMN_CONTROLS_DECORATIONS, ClassName.TABLE_STICKY, ClassName.ROW_CONTROLS, ClassName.ROW_CONTROLS_BUTTON_WRAP, akEditorStickyHeaderZIndex, tableToolbarSize, token('elevation.surface', 'white'), tableToolbarSize, ClassName.TABLE_STICKY, token('elevation.surface', 'green'), stickyRowOffsetTop, stickyRowZIndex, token('elevation.surface', 'white'), token('elevation.shadow.overflow', "0 6px 4px -4px ".concat(N40A)), ClassName.TABLE_STICKY, ClassName.TABLE_STICKY_SHADOW, stickyRowZIndex + 1, ClassName.WITH_CONTROLS, ClassName.TABLE_STICKY, ClassName.TABLE_STICKY_SHADOW, tableToolbarSize, stickyHeaderBorderBottomWidth, tableBorderColor(props), ClassName.TABLE_STICKY, ClassName.TABLE_STICKY, ClassName.TABLE_STICKY, ClassName.TABLE_STICKY, ClassName.TABLE_CONTAINER, ClassName.TABLE_STICKY, ClassName.WITH_RESIZE_LINE, ClassName.WITH_RESIZE_LINE, ClassName.RESIZE_HANDLE_DECORATION, (resizeHandlerAreaWidth - resizeLineWidth) / 2 + 1, ClassName.WITH_RESIZE_LINE, ClassName.SELECTED_CELL, ClassName.WITH_RESIZE_LINE, ClassName.SELECTED_CELL, ClassName.RESIZE_HANDLE_DECORATION, (resizeHandlerAreaWidth - resizeLineWidth) / 2, ClassName.HOVERED_CELL, ClassName.SELECTED_CELL, ClassName.WITH_CONTROLS, tableControlsSpacing, ClassName.WITH_CONTROLS, ClassName.TABLE_STICKY, ClassName.NUMBERED_COLUMN, ClassName.NUMBERED_COLUMN_BUTTON, tableControlsSpacing + 2, ClassName.CORNER_CONTROLS, tableControlsSpacing - tableToolbarSize + 2, token('elevation.surface', 'white'), (_props$featureFlags = props.featureFlags) !== null && _props$featureFlags !== void 0 && _props$featureFlags.stickyHeadersOptimization ? sentinelStyles : '', OverflowShadow(props), ClassName.TABLE_STICKY, ClassName.TABLE_STICKY_SHADOW, tablePadding, ClassName.ROW_CONTROLS_WRAPPER, tablePadding, ClassName.TABLE_CONTAINER, akEditorTableNumberColumnWidth + tablePadding - 1, ClassName.TABLE_LEFT_SHADOW, ClassName.TABLE_RIGHT_SHADOW, ClassName.NODEVIEW_WRAPPER, ClassName.NODEVIEW_WRAPPER, ClassName.TABLE_CONTAINER, columnControlsDecoration(props), ClassName.CORNER_CONTROLS, tableToolbarSize + 1, cornerControlHeight, ClassName.CORNER_CONTROLS_INSERT_ROW_MARKER, InsertMarker(props, "\n left: -11px;\n top: 9px;\n "), ClassName.CORNER_CONTROLS_INSERT_COLUMN_MARKER, InsertMarker(props, "\n right: -1px;\n top: -12px;\n "), ClassName.CORNER_CONTROLS, ClassName.CORNER_CONTROLS_INSERT_ROW_MARKER, ClassName.CONTROLS_CORNER_BUTTON, tableToolbarSize + 1, tableToolbarSize + 1, tableBorderColor(props), tableBorderRadiusSize, tableToolbarColor(props), ClassName.CONTROLS_CORNER_BUTTON, tableBorderSelectedColor, tableToolbarSelectedColor, ClassName.TABLE_CONTAINER, ClassName.CORNER_CONTROLS, ClassName.CONTROLS_CORNER_BUTTON, akEditorTableToolbarSize + akEditorTableNumberColumnWidth, ClassName.ROW_CONTROLS, ClassName.CONTROLS_BUTTON, ClassName.IS_RESIZING, ClassName.CONTROLS_CORNER_BUTTON, tableBorderSelectedColor, tableToolbarSelectedColor, ClassName.IS_RESIZING, ClassName.CONTROLS_CORNER_BUTTON, ClassName.HOVERED_CELL_IN_DANGER, tableBorderDeleteColor, tableToolbarDeleteColor, ClassName.ROW_CONTROLS, tableToolbarSize, InsertMarker(props, "\n bottom: -1px;\n left: -11px;\n "), ClassName.ROW_CONTROLS_INNER, ClassName.ROW_CONTROLS_BUTTON_WRAP, tableBorderRadiusSize, ClassName.ROW_CONTROLS_BUTTON_WRAP, ClassName.ROW_CONTROLS_BUTTON_WRAP, ClassName.ROW_CONTROLS_BUTTON_WRAP, ClassName.CONTROLS_BUTTON, akEditorUnitZIndex, HeaderButton(props, "\n border-bottom: 1px solid ".concat(tableBorderColor(props), ";\n border-right: 0px;\n border-radius: 0;\n height: 100%;\n width: ").concat(tableToolbarSize, "px;\n\n .").concat(ClassName.CONTROLS_BUTTON_OVERLAY, " {\n position: absolute;\n width: 30px;\n height: 50%;\n right: 0;\n bottom: 0;\n }\n .").concat(ClassName.CONTROLS_BUTTON_OVERLAY, ":first-of-type {\n top: 0;\n }\n ")), ClassName.IS_RESIZING, ClassName.ROW_CONTROLS, HeaderButtonHover(), HeaderButtonDanger(), ClassName.NUMBERED_COLUMN, akEditorTableToolbarSize - 1, akEditorTableToolbarSize, akEditorTableNumberColumnWidth + 1, ClassName.NUMBERED_COLUMN_BUTTON, tableBorderColor(props), relativeFontSizeToBase16(fontSize()), tableToolbarColor(props), tableTextColor(props), tableBorderColor(props), tableBorderColor(props), ClassName.WITH_CONTROLS, ClassName.CORNER_CONTROLS, ClassName.ROW_CONTROLS, ClassName.NUMBERED_COLUMN, ClassName.NUMBERED_COLUMN_BUTTON, ClassName.NUMBERED_COLUMN_BUTTON, tableBorderSelectedColor, tableBorderSelectedColor, tableToolbarSelectedColor, akEditorUnitZIndex, token('color.text.inverse', N0), ClassName.IS_RESIZING, ClassName.WITH_CONTROLS, ClassName.NUMBERED_COLUMN_BUTTON, ClassName.NUMBERED_COLUMN_BUTTON, tableBorderSelectedColor, tableBorderSelectedColor, tableToolbarSelectedColor, akEditorUnitZIndex, token('color.text.inverse', N0), ClassName.NUMBERED_COLUMN_BUTTON, ClassName.HOVERED_CELL_IN_DANGER, tableToolbarDeleteColor, tableBorderDeleteColor, token('color.text.inverse', R500), akEditorUnitZIndex, ClassName.TABLE_NODE_WRAPPER, ClassName.COLUMN_CONTROLS_DECORATIONS, ClassName.TABLE_HEADER_CELL, ClassName.SELECTED_CELL, ClassName.HOVERED_CELL_IN_DANGER, ClassName.SELECTED_CELL, ClassName.HOVERED_CELL_IN_DANGER, akEditorSmallZIndex, ClassName.SELECTED_CELL, tableBorderSelectedColor, ClassName.SELECTED_CELL, tableCellSelectedColor, ClassName.HOVERED_CELL_IN_DANGER, ClassName.HOVERED_CELL_IN_DANGER, tableCellDeleteColor, ClassName.ROW_CONTROLS_WRAPPER, tableMarginTop - cornerControlHeight + 1, ClassName.ROW_CONTROLS_WRAPPER, ClassName.TABLE_LEFT_SHADOW, akEditorUnitZIndex, ClassName.ROW_CONTROLS_WRAPPER, tableToolbarSize, ClassName.TABLE_NODE_WRAPPER, tableInsertColumnButtonSize / 2, tableInsertColumnButtonSize / 2, tableScrollbarOffset, tableScrollbarOffset, ClassName.IS_RESIZING, ClassName.TABLE_NODE_WRAPPER, scrollbarStyles, ClassName.RESIZE_CURSOR);
22
+ return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .", " button {\n background: ", ";\n color: ", ";\n cursor: none;\n }\n\n .", ":not(.", ") button:hover {\n background: ", ";\n color: ", " !important;\n cursor: pointer;\n }\n\n .ProseMirror {\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n\n .", " {\n margin-bottom: 0;\n }\n\n .", " {\n td.", ", th.", " {\n position: relative;\n overflow: visible;\n }\n\n td.", " {\n background-color: ", ";\n }\n }\n\n .", " {\n ", "\n }\n\n .", " {\n ", "\n }\n\n /* Delete button */\n ", "\n /* Ends Delete button */\n\n /* sticky styles */\n .", " .", " .", ":first-of-type {\n margin-top: ", "px;\n width: ", "px;\n\n position: fixed !important;\n z-index: ", " !important;\n box-shadow: 0px -", "px ", ";\n border-right: 0 none;\n /* top set by NumberColumn component */\n }\n\n .", " .", ".sticky {\n position: fixed !important;\n /* needs to be above row controls */\n z-index: ", " !important;\n background: ", ";\n\n width: ", "px;\n height: ", "px;\n }\n\n .", ".sticky .", " {\n border-bottom: 0px none;\n border-right: 0px none;\n\n height: ", "px;\n width: ", "px;\n }\n\n .", " .", " {\n z-index: 0;\n }\n\n .", "\n .", "\n .", ".sticky {\n position: fixed !important;\n z-index: ", " !important;\n display: flex;\n border-left: ", "px solid\n ", ";\n margin-left: -", "px;\n }\n\n .", " col:first-of-type {\n /* moving rows out of a table layout does weird things in Chrome */\n border-right: 1px solid ", ";\n }\n\n tr.sticky {\n padding-top: ", "px;\n position: fixed;\n display: grid;\n\n /* to keep it above cell selection */\n z-index: ", ";\n\n overflow-y: visible;\n overflow-x: hidden;\n\n grid-auto-flow: column;\n\n /* background for where controls apply */\n background: ", ";\n box-sizing: content-box;\n\n margin-top: 2px;\n\n box-shadow: ", ";\n margin-left: -1px;\n\n &.no-pointer-events {\n pointer-events: none;\n }\n }\n\n .", " .", " {\n left: unset;\n position: fixed;\n z-index: ", ";\n }\n\n .", ".", "\n .", " {\n padding-bottom: ", "px;\n }\n\n tr.sticky th {\n border-bottom: ", "px solid\n ", ";\n margin-right: -1px;\n }\n\n .", " tr.sticky > th:last-child {\n border-right-width: 1px;\n }\n\n /* add left edge for first cell */\n .", " tr.sticky > th:first-of-type {\n margin-left: 0px;\n }\n\n /* add a little bit so the scroll lines up with the table */\n .", " tr.sticky::after {\n content: ' ';\n width: 1px;\n }\n\n /* To fix jumpiness caused in Chrome Browsers for sticky headers */\n .", " .sticky + tr {\n min-height: 0px;\n }\n\n /* move resize line a little in sticky bar */\n .", ".", " {\n tr.sticky\n td.", ",\n tr.sticky\n th.", " {\n .", "::after {\n right: ", "px;\n }\n }\n\n /* when selected put it back to normal -- :not selector would be nicer */\n tr.sticky\n td.", ".", ",\n tr.sticky\n th.", ".", " {\n .", "::after {\n right: ", "px;\n }\n }\n }\n\n tr.sticky\n .", ",\n tr.sticky\n .", " {\n z-index: 1;\n }\n\n .", " tr.sticky {\n padding-top: ", "px;\n }\n\n .", ".", "\n .", "\n .", ":first-of-type {\n margin-top: ", "px;\n }\n\n .", ".sticky {\n border-top: ", "px solid\n ", ";\n }\n\n ", "\n ", "\n\n .", " .", " {\n height: 0; // stop overflow flash & set correct height in update-overflow-shadows.ts\n }\n\n .less-padding {\n padding: 0 ", "px;\n\n .", " {\n padding: 0 ", "px;\n }\n\n &.", "[data-number-column='true'] {\n padding-left: ", "px;\n }\n\n .", " {\n left: 6px;\n }\n\n .", " {\n left: calc(100% - 6px);\n }\n }\n\n > .", " {\n /**\n * Prevent margins collapsing, aids with placing the gap-cursor correctly\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Box_Model/Mastering_margin_collapsing\n *\n * TODO: Enable this, many tests will fail!\n * border-top: 1px solid transparent;\n */\n }\n\n /* Breakout only works on top level */\n > * .", " .", " {\n margin-left: unset !important;\n width: 100% !important;\n }\n\n ", ";\n\n /* Corner controls */\n .", " {\n width: ", "px;\n height: ", "px;\n display: none;\n\n .", " {\n position: relative;\n\n ", ";\n }\n\n .", " {\n position: relative;\n\n ", ";\n }\n }\n\n .", ".sticky {\n .", " {\n /* sticky row insert dot overlaps other row insert and messes things up */\n display: none !important;\n }\n }\n\n .", " {\n position: absolute;\n top: 0;\n width: ", "px;\n height: ", "px;\n border: 1px solid ", ";\n border-radius: 0;\n border-top-left-radius: ", "px;\n background: ", ";\n box-sizing: border-box;\n padding: 0;\n :focus {\n outline: none;\n }\n }\n .active .", " {\n border-color: ", ";\n background: ", ";\n }\n\n .", "[data-number-column='true'] {\n .", ", .", " {\n width: ", "px;\n }\n .", " .", " {\n border-right-width: 0;\n }\n }\n\n :not(.", ") .", ":hover {\n border-color: ", ";\n background: ", ";\n cursor: pointer;\n }\n\n :not(.", ")\n .", ".", " {\n border-color: ", ";\n background: ", ";\n }\n\n /* Row controls */\n .", " {\n width: ", "px;\n box-sizing: border-box;\n display: none;\n position: relative;\n\n ", ";\n\n .", " {\n display: flex;\n flex-direction: column;\n }\n .", ":last-child > button {\n border-bottom-left-radius: ", "px;\n }\n .", " {\n position: relative;\n margin-top: -1px;\n }\n .", ":hover,\n .", ".active,\n .", ":hover {\n z-index: ", ";\n }\n\n ", "\n }\n\n :not(.", ") .", " {\n ", "\n ", "\n }\n\n /* Numbered column */\n .", " {\n position: relative;\n float: right;\n margin-left: ", "px;\n top: ", "px;\n width: ", "px;\n box-sizing: border-box;\n }\n\n .", " {\n border: 1px solid ", ";\n box-sizing: border-box;\n margin-top: -1px;\n padding-bottom: 2px;\n padding: 10px 2px;\n text-align: center;\n font-size: ", ";\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n\n :first-child:not(style),\n style:first-child + * {\n margin-top: 0;\n }\n :last-child {\n border-bottom: 1px solid ", ";\n }\n }\n\n .", " {\n .", ", .", " {\n display: block;\n }\n .", " {\n padding-left: 1px;\n .", " {\n border-left: 0 none;\n }\n\n .", ".active {\n border-bottom: 1px solid ", ";\n border-color: ", ";\n background-color: ", ";\n position: relative;\n z-index: ", ";\n color: ", ";\n }\n }\n }\n :not(.", ") .", " {\n .", " {\n cursor: pointer;\n }\n .", ":hover {\n border-bottom: 1px solid ", ";\n border-color: ", ";\n background-color: ", ";\n position: relative;\n z-index: ", ";\n color: ", ";\n }\n .", ".", " {\n background-color: ", ";\n border: 1px solid ", ";\n border-left: 0;\n color: ", ";\n position: relative;\n z-index: ", ";\n }\n }\n\n /* Table */\n .", " > table {\n table-layout: fixed;\n\n .", " + * {\n margin-top: 0;\n }\n\n /*\n * Headings have a top margin by default, but we don't want this on the\n * first heading within table header cells.\n *\n * This specifically sets margin-top for the first heading within a header\n * cell when center/right aligned.\n */\n th.", " > .fabric-editor-block-mark {\n > h1:first-of-type,\n > h2:first-of-type,\n > h3:first-of-type,\n > h4:first-of-type,\n > h5:first-of-type,\n > h6:first-of-type {\n margin-top: 0;\n }\n }\n\n .", ", .", " {\n position: relative;\n }\n /* Give selected cells a blue overlay */\n .", "::after,\n .", "::after {\n z-index: ", ";\n position: absolute;\n content: '';\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n pointer-events: none;\n }\n .", " {\n border: 1px solid ", ";\n }\n .", "::after {\n background: ", ";\n }\n th.", "::after,\n td.", "::after {\n background: ", ";\n }\n }\n .", " {\n position: absolute;\n /* top of corner control is table margin top - corner control height + 1 pixel of table border. */\n top: ", "px;\n }\n .", ".", " {\n z-index: ", ";\n }\n .", " {\n left: -", "px;\n }\n .", " {\n /*\n compensating for half of the insert column button\n that is aligned to the right edge initially on hover of the top right column control when table overflown,\n its center should be aligned with the edge\n */\n padding-right: ", "px;\n margin-right: -", "px;\n padding-bottom: ", "px;\n margin-bottom: -", "px;\n /* fixes gap cursor height */\n overflow: auto;\n position: relative;\n }\n }\n\n .ProseMirror.", " {\n .", " {\n overflow-x: auto;\n ", ";\n }\n }\n\n .ProseMirror.", " {\n cursor: col-resize;\n }\n\n .ProseMirror .pm-table-cell-content-wrap ol[data-child-count='100+'] {\n padding-left: revert;\n }\n"])), ClassName.LAYOUT_BUTTON, token('color.background.neutral', N20A), token('color.icon', N300), ClassName.LAYOUT_BUTTON, ClassName.IS_RESIZING, token('color.background.neutral.hovered', B300), token('color.icon', 'white'), tableSharedStyle(props), columnControlsLineMarker(props), hoveredDeleteButton, hoveredCell, hoveredWarningCell, resizeHandle, rangeSelectionStyles, ClassName.LAST_ITEM_IN_CELL, ClassName.TABLE_NODE_WRAPPER, ClassName.TABLE_CELL, ClassName.TABLE_HEADER_CELL, ClassName.TABLE_CELL, tableCellBackgroundColor(props), ClassName.CONTROLS_FLOATING_BUTTON_COLUMN, insertColumnButtonWrapper, ClassName.CONTROLS_FLOATING_BUTTON_ROW, insertRowButtonWrapper, DeleteButton, ClassName.TABLE_STICKY, ClassName.NUMBERED_COLUMN, ClassName.NUMBERED_COLUMN_BUTTON, stickyRowOffsetTop + 2, akEditorTableNumberColumnWidth, akEditorStickyHeaderZIndex, stickyRowOffsetTop, token('elevation.surface', 'white'), ClassName.TABLE_STICKY, ClassName.CORNER_CONTROLS, akEditorSmallZIndex, token('elevation.surface', 'white'), tableToolbarSize, tableToolbarSize, ClassName.CORNER_CONTROLS, ClassName.CONTROLS_CORNER_BUTTON, tableToolbarSize, tableToolbarSize, ClassName.TABLE_STICKY, ClassName.COLUMN_CONTROLS_DECORATIONS, ClassName.TABLE_STICKY, ClassName.ROW_CONTROLS, ClassName.ROW_CONTROLS_BUTTON_WRAP, akEditorStickyHeaderZIndex, tableToolbarSize, token('elevation.surface', 'white'), tableToolbarSize, ClassName.TABLE_STICKY, token('elevation.surface', 'green'), stickyRowOffsetTop, stickyRowZIndex, token('elevation.surface', 'white'), token('elevation.shadow.overflow', "0 6px 4px -4px ".concat(N40A)), ClassName.TABLE_STICKY, ClassName.TABLE_STICKY_SHADOW, stickyRowZIndex + 1, ClassName.WITH_CONTROLS, ClassName.TABLE_STICKY, ClassName.TABLE_STICKY_SHADOW, tableToolbarSize, stickyHeaderBorderBottomWidth, tableBorderColor(props), ClassName.TABLE_STICKY, ClassName.TABLE_STICKY, ClassName.TABLE_STICKY, ClassName.TABLE_STICKY, ClassName.TABLE_CONTAINER, ClassName.TABLE_STICKY, ClassName.WITH_RESIZE_LINE, ClassName.WITH_RESIZE_LINE, ClassName.RESIZE_HANDLE_DECORATION, (resizeHandlerAreaWidth - resizeLineWidth) / 2 + 1, ClassName.WITH_RESIZE_LINE, ClassName.SELECTED_CELL, ClassName.WITH_RESIZE_LINE, ClassName.SELECTED_CELL, ClassName.RESIZE_HANDLE_DECORATION, (resizeHandlerAreaWidth - resizeLineWidth) / 2, ClassName.HOVERED_CELL, ClassName.SELECTED_CELL, ClassName.WITH_CONTROLS, tableControlsSpacing, ClassName.WITH_CONTROLS, ClassName.TABLE_STICKY, ClassName.NUMBERED_COLUMN, ClassName.NUMBERED_COLUMN_BUTTON, tableControlsSpacing + 2, ClassName.CORNER_CONTROLS, tableControlsSpacing - tableToolbarSize + 2, token('elevation.surface', 'white'), (_props$featureFlags = props.featureFlags) !== null && _props$featureFlags !== void 0 && _props$featureFlags.stickyHeadersOptimization ? sentinelStyles : '', OverflowShadow(props), ClassName.TABLE_STICKY, ClassName.TABLE_STICKY_SHADOW, tablePadding, ClassName.ROW_CONTROLS_WRAPPER, tablePadding, ClassName.TABLE_CONTAINER, akEditorTableNumberColumnWidth + tablePadding - 1, ClassName.TABLE_LEFT_SHADOW, ClassName.TABLE_RIGHT_SHADOW, ClassName.NODEVIEW_WRAPPER, ClassName.NODEVIEW_WRAPPER, ClassName.TABLE_CONTAINER, columnControlsDecoration(props), ClassName.CORNER_CONTROLS, tableToolbarSize + 1, cornerControlHeight, ClassName.CORNER_CONTROLS_INSERT_ROW_MARKER, InsertMarker(props, "\n left: -11px;\n top: 9px;\n "), ClassName.CORNER_CONTROLS_INSERT_COLUMN_MARKER, InsertMarker(props, "\n right: -1px;\n top: -12px;\n "), ClassName.CORNER_CONTROLS, ClassName.CORNER_CONTROLS_INSERT_ROW_MARKER, ClassName.CONTROLS_CORNER_BUTTON, tableToolbarSize + 1, tableToolbarSize + 1, tableBorderColor(props), tableBorderRadiusSize, tableToolbarColor(props), ClassName.CONTROLS_CORNER_BUTTON, tableBorderSelectedColor, tableToolbarSelectedColor, ClassName.TABLE_CONTAINER, ClassName.CORNER_CONTROLS, ClassName.CONTROLS_CORNER_BUTTON, akEditorTableToolbarSize + akEditorTableNumberColumnWidth, ClassName.ROW_CONTROLS, ClassName.CONTROLS_BUTTON, ClassName.IS_RESIZING, ClassName.CONTROLS_CORNER_BUTTON, tableBorderSelectedColor, tableToolbarSelectedColor, ClassName.IS_RESIZING, ClassName.CONTROLS_CORNER_BUTTON, ClassName.HOVERED_CELL_IN_DANGER, tableBorderDeleteColor, tableToolbarDeleteColor, ClassName.ROW_CONTROLS, tableToolbarSize, InsertMarker(props, "\n bottom: -1px;\n left: -11px;\n "), ClassName.ROW_CONTROLS_INNER, ClassName.ROW_CONTROLS_BUTTON_WRAP, tableBorderRadiusSize, ClassName.ROW_CONTROLS_BUTTON_WRAP, ClassName.ROW_CONTROLS_BUTTON_WRAP, ClassName.ROW_CONTROLS_BUTTON_WRAP, ClassName.CONTROLS_BUTTON, akEditorUnitZIndex, HeaderButton(props, "\n border-bottom: 1px solid ".concat(tableBorderColor(props), ";\n border-right: 0px;\n border-radius: 0;\n height: 100%;\n width: ").concat(tableToolbarSize, "px;\n\n .").concat(ClassName.CONTROLS_BUTTON_OVERLAY, " {\n position: absolute;\n width: 30px;\n height: 50%;\n right: 0;\n bottom: 0;\n }\n .").concat(ClassName.CONTROLS_BUTTON_OVERLAY, ":first-of-type {\n top: 0;\n }\n ")), ClassName.IS_RESIZING, ClassName.ROW_CONTROLS, HeaderButtonHover(), HeaderButtonDanger(), ClassName.NUMBERED_COLUMN, akEditorTableToolbarSize - 1, akEditorTableToolbarSize, akEditorTableNumberColumnWidth + 1, ClassName.NUMBERED_COLUMN_BUTTON, tableBorderColor(props), relativeFontSizeToBase16(fontSize()), tableToolbarColor(props), tableTextColor(props), tableBorderColor(props), tableBorderColor(props), ClassName.WITH_CONTROLS, ClassName.CORNER_CONTROLS, ClassName.ROW_CONTROLS, ClassName.NUMBERED_COLUMN, ClassName.NUMBERED_COLUMN_BUTTON, ClassName.NUMBERED_COLUMN_BUTTON, tableBorderSelectedColor, tableBorderSelectedColor, tableToolbarSelectedColor, akEditorUnitZIndex, token('color.text.inverse', N0), ClassName.IS_RESIZING, ClassName.WITH_CONTROLS, ClassName.NUMBERED_COLUMN_BUTTON, ClassName.NUMBERED_COLUMN_BUTTON, tableBorderSelectedColor, tableBorderSelectedColor, tableToolbarSelectedColor, akEditorUnitZIndex, token('color.text.inverse', N0), ClassName.NUMBERED_COLUMN_BUTTON, ClassName.HOVERED_CELL_IN_DANGER, tableToolbarDeleteColor, tableBorderDeleteColor, token('color.text.inverse', R500), akEditorUnitZIndex, ClassName.TABLE_NODE_WRAPPER, ClassName.COLUMN_CONTROLS_DECORATIONS, ClassName.TABLE_HEADER_CELL, ClassName.SELECTED_CELL, ClassName.HOVERED_CELL_IN_DANGER, ClassName.SELECTED_CELL, ClassName.HOVERED_CELL_IN_DANGER, akEditorSmallZIndex, ClassName.SELECTED_CELL, tableBorderSelectedColor, ClassName.SELECTED_CELL, tableCellSelectedColor, ClassName.HOVERED_CELL_IN_DANGER, ClassName.HOVERED_CELL_IN_DANGER, tableCellDeleteColor, ClassName.ROW_CONTROLS_WRAPPER, tableMarginTop - cornerControlHeight + 1, ClassName.ROW_CONTROLS_WRAPPER, ClassName.TABLE_LEFT_SHADOW, akEditorUnitZIndex, ClassName.ROW_CONTROLS_WRAPPER, tableToolbarSize, ClassName.TABLE_NODE_WRAPPER, tableInsertColumnButtonSize / 2, tableInsertColumnButtonSize / 2, tableScrollbarOffset, tableScrollbarOffset, ClassName.IS_RESIZING, ClassName.TABLE_NODE_WRAPPER, scrollbarStyles, ClassName.RESIZE_CURSOR);
23
23
  };
24
24
  export var tableFullPageEditorStyles = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n .ProseMirror .", " > table {\n margin-left: 0;\n margin-right: 0;\n width: 100%;\n }\n"])), ClassName.TABLE_NODE_WRAPPER);
25
25
  export var tableCommentEditorStyles = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n .ProseMirror .", " > table {\n margin-left: 0;\n margin-right: 0;\n ", ";\n }\n"])), ClassName.TABLE_NODE_WRAPPER, scrollbarStyles);
@@ -61,7 +61,7 @@ export var transformSliceToFixHardBreakProblemOnCopyFromCell = function transfor
61
61
  return slice;
62
62
  };
63
63
  export var transformSliceToRemoveOpenTable = function transformSliceToRemoveOpenTable(slice, schema) {
64
- var _slice$content$firstC;
64
+ var _slice$content$firstC6;
65
65
 
66
66
  // we're removing the table, tableRow and tableCell reducing the open depth by 3
67
67
  var depthDecrement = 3; // Case 1: A slice entirely within a single CELL
@@ -69,13 +69,26 @@ export var transformSliceToRemoveOpenTable = function transformSliceToRemoveOpen
69
69
  if ( // starts and ends inside of a cell
70
70
  slice.openStart >= 4 && slice.openEnd >= 4 && // slice is a table node
71
71
  slice.content.childCount === 1 && slice.content.firstChild.type === schema.nodes.table) {
72
- return new Slice(flatmap(slice.content, unwrapContentFromTable), slice.openStart - depthDecrement, slice.openEnd - depthDecrement);
72
+ var _slice$content$firstC, _slice$content$firstC2, _slice$content$firstC3, _slice$content$firstC4, _slice$content$firstC5;
73
+
74
+ // prosemirror-view has a bug that it duplicates table entry when selecting multiple paragraphs in a table cell.
75
+ // https://github.com/ProseMirror/prosemirror/issues/1270
76
+ // The structure becomes
77
+ // table(genuine) > tableRow(genuine) > table(duplicated) > tableRow(duplicated) > tableCell/tableHeader(genuine) > contents(genuine)
78
+ // As we are removing wrapping table anyway, we keep duplicated table and tableRow for simplicity
79
+ var cleaned = slice;
80
+
81
+ if (((_slice$content$firstC = slice.content.firstChild) === null || _slice$content$firstC === void 0 ? void 0 : (_slice$content$firstC2 = _slice$content$firstC.content) === null || _slice$content$firstC2 === void 0 ? void 0 : (_slice$content$firstC3 = _slice$content$firstC2.firstChild) === null || _slice$content$firstC3 === void 0 ? void 0 : (_slice$content$firstC4 = _slice$content$firstC3.content) === null || _slice$content$firstC4 === void 0 ? void 0 : (_slice$content$firstC5 = _slice$content$firstC4.firstChild) === null || _slice$content$firstC5 === void 0 ? void 0 : _slice$content$firstC5.type) === schema.nodes.table) {
82
+ cleaned = new Slice(slice.content.firstChild.content.firstChild.content, slice.openStart - 2, slice.openEnd - 2);
83
+ }
84
+
85
+ return new Slice(flatmap(cleaned.content, unwrapContentFromTable), cleaned.openStart - depthDecrement, cleaned.openEnd - depthDecrement);
73
86
  } // Case 2: A slice starting within a CELL and ending outside the table
74
87
 
75
88
 
76
89
  if ( // starts inside of a cell but ends outside of the starting table
77
90
  slice.openStart >= 4 && // slice starts from a table node (and spans across more than one node)
78
- slice.content.childCount > 1 && ((_slice$content$firstC = slice.content.firstChild) === null || _slice$content$firstC === void 0 ? void 0 : _slice$content$firstC.type) === schema.nodes.table) {
91
+ slice.content.childCount > 1 && ((_slice$content$firstC6 = slice.content.firstChild) === null || _slice$content$firstC6 === void 0 ? void 0 : _slice$content$firstC6.type) === schema.nodes.table) {
79
92
  // repoint the slice's cutting depth so that cell content where the slice starts
80
93
  // does not get lifted out of the cell on paste
81
94
  return new Slice(slice.content, 1, slice.openEnd);
@@ -1,6 +1,5 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
- import _regeneratorRuntime from "@babel/runtime/regenerator";
4
3
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
5
4
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
6
5
  import _createClass from "@babel/runtime/helpers/createClass";
@@ -10,6 +9,7 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
10
9
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
11
10
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
12
11
  var _excluded = ["contextIdentifierProvider"];
12
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
13
13
 
14
14
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
15
15
 
@@ -103,6 +103,13 @@ export var InputQuery = /*#__PURE__*/React.memo(function (_ref) {
103
103
  break;
104
104
 
105
105
  case 'Enter':
106
+ // ED-14758 - Under the W3C specification, any keycode sent under IME would return a keycode 229
107
+ // event.isComposing can't be used alone as this also included a virtual keyboard under a keyboardless device, therefore, it seems the best practice would be intercepting the event as below.
108
+ // Some suggested the other workaround maybe listen on`keypress` instead of `keydown`
109
+ if (event.isComposing && (event.which === 229 || event.keyCode === 229)) {
110
+ break;
111
+ }
112
+
106
113
  onItemSelect(event.shiftKey ? SelectItemMode.SHIFT_ENTER : SelectItemMode.ENTER);
107
114
  break;
108
115
 
@@ -11,7 +11,7 @@ import { N30 } from '@atlaskit/theme/colors';
11
11
  import { token } from '@atlaskit/tokens';
12
12
  import { akEditorToolbarKeylineHeight, akEditorGridLineZIndex, akEditorMenuZIndex } from '@atlaskit/editor-shared-styles';
13
13
  export var TableControlsPadding = 20;
14
- var mainToolbarWrapperStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n align-items: center;\n padding: ", "px ", "px 0;\n display: flex;\n height: auto;\n background-color: ", ";\n box-shadow: none;\n padding-left: ", "px;\n\n & > div > *:first-child {\n margin-left: 0;\n }\n\n .block-type-btn {\n padding-left: 0;\n }\n"])), gridSize(), gridSize(), token('elevation.surface', 'white'), TableControlsPadding);
14
+ var mainToolbarWrapperStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n align-items: center;\n padding: ", "px ", "px 0;\n display: flex;\n height: auto;\n background-color: ", ";\n box-shadow: none;\n padding-left: ", "px;\n\n & > div {\n > :first-child:not(style),\n > style:first-child + * {\n margin-left: 0;\n }\n }\n\n .block-type-btn {\n padding-left: 0;\n }\n"])), gridSize(), gridSize(), token('elevation.surface', 'white'), TableControlsPadding);
15
15
  var stickyToolbarWrapperStyle = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n /* stylelint-disable declaration-block-no-duplicate-properties */\n position: relative;\n position: sticky;\n /* stylelint-enable declaration-block-no-duplicate-properties */\n padding-bottom: ", "px;\n z-index: ", ";\n transition: box-shadow ease-in-out 0.2s;\n &.show-keyline {\n box-shadow: 0 ", "px 0 0\n ", ";\n }\n"])), gridSize(), akEditorGridLineZIndex + akEditorMenuZIndex, akEditorToolbarKeylineHeight, token('color.border', N30));
16
16
 
17
17
  var StickyToolbar = function StickyToolbar(props) {
@@ -1,5 +1,4 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
- import _regeneratorRuntime from "@babel/runtime/regenerator";
3
2
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
4
3
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
5
4
  import _createClass from "@babel/runtime/helpers/createClass";
@@ -8,6 +7,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
8
7
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
9
8
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
10
9
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
10
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
11
11
 
12
12
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
13
13
 
@@ -1,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
- import _regeneratorRuntime from "@babel/runtime/regenerator";
3
2
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
4
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
5
5
  import React, { useEffect, useState } from 'react';
6
6
  import { injectIntl } from 'react-intl-next';
7
7
  import { messages } from '../messages';
@@ -1,9 +1,9 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
- import _regeneratorRuntime from "@babel/runtime/regenerator";
3
2
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
4
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
5
4
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
6
5
  var _excluded = ["value"];
6
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
7
7
 
8
8
  function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
9
9
 
@@ -1,4 +1,3 @@
1
- import _regeneratorRuntime from "@babel/runtime/regenerator";
2
1
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
3
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
4
3
  import _createClass from "@babel/runtime/helpers/createClass";
@@ -7,6 +6,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
7
6
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
8
7
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
9
8
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
9
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
10
10
 
11
11
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
12
12
 
@@ -1,5 +1,4 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
- import _regeneratorRuntime from "@babel/runtime/regenerator";
3
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
3
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
5
4
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
@@ -11,6 +10,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
11
10
 
12
11
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
13
12
 
13
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
14
14
  import { isFieldset, isDateRange, isTabGroup, isTabField, isExpand, getFieldSerializer, getFieldDeserializer } from '@atlaskit/editor-common/extensions';
15
15
  import { getNameFromDuplicateField, isDuplicateField } from './utils';
16
16
 
@@ -1,4 +1,3 @@
1
- import _regeneratorRuntime from "@babel/runtime/regenerator";
2
1
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
3
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
4
3
  import _createClass from "@babel/runtime/helpers/createClass";
@@ -7,6 +6,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
7
6
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
8
7
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
9
8
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
9
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
10
10
 
11
11
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
12
12
 
@@ -1,4 +1,3 @@
1
- import _regeneratorRuntime from "@babel/runtime/regenerator";
2
1
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
3
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
4
3
  import _createClass from "@babel/runtime/helpers/createClass";
@@ -7,6 +6,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
7
6
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
8
7
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
9
8
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
9
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
10
10
 
11
11
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
12
12
 
@@ -1,5 +1,5 @@
1
- import _regeneratorRuntime from "@babel/runtime/regenerator";
2
1
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
3
3
  import { Selection } from 'prosemirror-state';
4
4
  import { pluginKey as extensionPluginKey } from '../plugins/extension/plugin-key';
5
5
  import { forceAutoSave } from '../plugins/extension/commands';
@@ -1,5 +1,5 @@
1
- import _regeneratorRuntime from "@babel/runtime/regenerator";
2
1
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
3
3
  export function checkClipboardTypes(type, item) {
4
4
  var isDOMStringList = function isDOMStringList(t) {
5
5
  return !t.indexOf && !!t.contains;
@@ -1,5 +1,5 @@
1
- import _regeneratorRuntime from "@babel/runtime/regenerator";
2
1
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
3
3
  import React from 'react';
4
4
  import Loadable from 'react-loadable';
5
5
  import { getQuickInsertItemsFromModule, resolveImport } from '@atlaskit/editor-common/extensions';
@@ -1,5 +1,5 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "167.0.1";
2
+ export var version = "168.0.0";
3
3
  export var nextMajorVersion = function nextMajorVersion() {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "167.0.1",
3
+ "version": "168.0.0",
4
4
  "sideEffects": false
5
5
  }
@@ -287,28 +287,6 @@ declare const _default: {
287
287
  'fabric.editor.warningPanel.description': string;
288
288
  'fabric.editor.wrapLeft': string;
289
289
  'fabric.editor.wrapRight': string;
290
- 'fabric.theme.blue': string;
291
- 'fabric.theme.dark-blue': string;
292
- 'fabric.theme.dark-green': string;
293
- 'fabric.theme.dark-purple': string;
294
- 'fabric.theme.dark-red': string;
295
- 'fabric.theme.dark-teal': string;
296
- 'fabric.theme.dark-yellow': string;
297
- 'fabric.theme.gray': string;
298
- 'fabric.theme.green': string;
299
- 'fabric.theme.light-blue': string;
300
- 'fabric.theme.light-gray': string;
301
- 'fabric.theme.light-green': string;
302
- 'fabric.theme.light-purple': string;
303
- 'fabric.theme.light-red': string;
304
- 'fabric.theme.light-teal': string;
305
- 'fabric.theme.light-yellow': string;
306
- 'fabric.theme.orange': string;
307
- 'fabric.theme.purple': string;
308
- 'fabric.theme.red': string;
309
- 'fabric.theme.teal': string;
310
- 'fabric.theme.white': string;
311
- 'fabric.theme.yellow': string;
312
290
  };
313
291
  /**
314
292
  * NOTE:
@@ -287,28 +287,6 @@ declare const _default: {
287
287
  'fabric.editor.warningPanel.description': string;
288
288
  'fabric.editor.wrapLeft': string;
289
289
  'fabric.editor.wrapRight': string;
290
- 'fabric.theme.blue': string;
291
- 'fabric.theme.dark-blue': string;
292
- 'fabric.theme.dark-green': string;
293
- 'fabric.theme.dark-purple': string;
294
- 'fabric.theme.dark-red': string;
295
- 'fabric.theme.dark-teal': string;
296
- 'fabric.theme.dark-yellow': string;
297
- 'fabric.theme.gray': string;
298
- 'fabric.theme.green': string;
299
- 'fabric.theme.light-blue': string;
300
- 'fabric.theme.light-gray': string;
301
- 'fabric.theme.light-green': string;
302
- 'fabric.theme.light-purple': string;
303
- 'fabric.theme.light-red': string;
304
- 'fabric.theme.light-teal': string;
305
- 'fabric.theme.light-yellow': string;
306
- 'fabric.theme.orange': string;
307
- 'fabric.theme.purple': string;
308
- 'fabric.theme.red': string;
309
- 'fabric.theme.teal': string;
310
- 'fabric.theme.white': string;
311
- 'fabric.theme.yellow': string;
312
290
  };
313
291
  /**
314
292
  * NOTE:
@@ -287,28 +287,6 @@ declare const _default: {
287
287
  'fabric.editor.warningPanel.description': string;
288
288
  'fabric.editor.wrapLeft': string;
289
289
  'fabric.editor.wrapRight': string;
290
- 'fabric.theme.blue': string;
291
- 'fabric.theme.dark-blue': string;
292
- 'fabric.theme.dark-green': string;
293
- 'fabric.theme.dark-purple': string;
294
- 'fabric.theme.dark-red': string;
295
- 'fabric.theme.dark-teal': string;
296
- 'fabric.theme.dark-yellow': string;
297
- 'fabric.theme.gray': string;
298
- 'fabric.theme.green': string;
299
- 'fabric.theme.light-blue': string;
300
- 'fabric.theme.light-gray': string;
301
- 'fabric.theme.light-green': string;
302
- 'fabric.theme.light-purple': string;
303
- 'fabric.theme.light-red': string;
304
- 'fabric.theme.light-teal': string;
305
- 'fabric.theme.light-yellow': string;
306
- 'fabric.theme.orange': string;
307
- 'fabric.theme.purple': string;
308
- 'fabric.theme.red': string;
309
- 'fabric.theme.teal': string;
310
- 'fabric.theme.white': string;
311
- 'fabric.theme.yellow': string;
312
290
  };
313
291
  /**
314
292
  * NOTE:
@@ -287,28 +287,6 @@ declare const _default: {
287
287
  'fabric.editor.warningPanel.description': string;
288
288
  'fabric.editor.wrapLeft': string;
289
289
  'fabric.editor.wrapRight': string;
290
- 'fabric.theme.blue': string;
291
- 'fabric.theme.dark-blue': string;
292
- 'fabric.theme.dark-green': string;
293
- 'fabric.theme.dark-purple': string;
294
- 'fabric.theme.dark-red': string;
295
- 'fabric.theme.dark-teal': string;
296
- 'fabric.theme.dark-yellow': string;
297
- 'fabric.theme.gray': string;
298
- 'fabric.theme.green': string;
299
- 'fabric.theme.light-blue': string;
300
- 'fabric.theme.light-gray': string;
301
- 'fabric.theme.light-green': string;
302
- 'fabric.theme.light-purple': string;
303
- 'fabric.theme.light-red': string;
304
- 'fabric.theme.light-teal': string;
305
- 'fabric.theme.light-yellow': string;
306
- 'fabric.theme.orange': string;
307
- 'fabric.theme.purple': string;
308
- 'fabric.theme.red': string;
309
- 'fabric.theme.teal': string;
310
- 'fabric.theme.white': string;
311
- 'fabric.theme.yellow': string;
312
290
  };
313
291
  /**
314
292
  * NOTE:
@@ -158,28 +158,6 @@ declare const _default: {
158
158
  'fabric.editor.warningPanel.description': string;
159
159
  'fabric.editor.wrapLeft': string;
160
160
  'fabric.editor.wrapRight': string;
161
- 'fabric.theme.blue': string;
162
- 'fabric.theme.dark-blue': string;
163
- 'fabric.theme.dark-green': string;
164
- 'fabric.theme.dark-purple': string;
165
- 'fabric.theme.dark-red': string;
166
- 'fabric.theme.dark-teal': string;
167
- 'fabric.theme.dark-yellow': string;
168
- 'fabric.theme.gray': string;
169
- 'fabric.theme.green': string;
170
- 'fabric.theme.light-blue': string;
171
- 'fabric.theme.light-gray': string;
172
- 'fabric.theme.light-green': string;
173
- 'fabric.theme.light-purple': string;
174
- 'fabric.theme.light-red': string;
175
- 'fabric.theme.light-teal': string;
176
- 'fabric.theme.light-yellow': string;
177
- 'fabric.theme.orange': string;
178
- 'fabric.theme.purple': string;
179
- 'fabric.theme.red': string;
180
- 'fabric.theme.teal': string;
181
- 'fabric.theme.white': string;
182
- 'fabric.theme.yellow': string;
183
161
  };
184
162
  /**
185
163
  * NOTE:
@@ -287,28 +287,6 @@ declare const _default: {
287
287
  'fabric.editor.warningPanel.description': string;
288
288
  'fabric.editor.wrapLeft': string;
289
289
  'fabric.editor.wrapRight': string;
290
- 'fabric.theme.blue': string;
291
- 'fabric.theme.dark-blue': string;
292
- 'fabric.theme.dark-green': string;
293
- 'fabric.theme.dark-purple': string;
294
- 'fabric.theme.dark-red': string;
295
- 'fabric.theme.dark-teal': string;
296
- 'fabric.theme.dark-yellow': string;
297
- 'fabric.theme.gray': string;
298
- 'fabric.theme.green': string;
299
- 'fabric.theme.light-blue': string;
300
- 'fabric.theme.light-gray': string;
301
- 'fabric.theme.light-green': string;
302
- 'fabric.theme.light-purple': string;
303
- 'fabric.theme.light-red': string;
304
- 'fabric.theme.light-teal': string;
305
- 'fabric.theme.light-yellow': string;
306
- 'fabric.theme.orange': string;
307
- 'fabric.theme.purple': string;
308
- 'fabric.theme.red': string;
309
- 'fabric.theme.teal': string;
310
- 'fabric.theme.white': string;
311
- 'fabric.theme.yellow': string;
312
290
  };
313
291
  /**
314
292
  * NOTE:
@@ -287,28 +287,6 @@ declare const _default: {
287
287
  'fabric.editor.warningPanel.description': string;
288
288
  'fabric.editor.wrapLeft': string;
289
289
  'fabric.editor.wrapRight': string;
290
- 'fabric.theme.blue': string;
291
- 'fabric.theme.dark-blue': string;
292
- 'fabric.theme.dark-green': string;
293
- 'fabric.theme.dark-purple': string;
294
- 'fabric.theme.dark-red': string;
295
- 'fabric.theme.dark-teal': string;
296
- 'fabric.theme.dark-yellow': string;
297
- 'fabric.theme.gray': string;
298
- 'fabric.theme.green': string;
299
- 'fabric.theme.light-blue': string;
300
- 'fabric.theme.light-gray': string;
301
- 'fabric.theme.light-green': string;
302
- 'fabric.theme.light-purple': string;
303
- 'fabric.theme.light-red': string;
304
- 'fabric.theme.light-teal': string;
305
- 'fabric.theme.light-yellow': string;
306
- 'fabric.theme.orange': string;
307
- 'fabric.theme.purple': string;
308
- 'fabric.theme.red': string;
309
- 'fabric.theme.teal': string;
310
- 'fabric.theme.white': string;
311
- 'fabric.theme.yellow': string;
312
290
  };
313
291
  /**
314
292
  * NOTE:
@@ -143,28 +143,6 @@ declare const _default: {
143
143
  'fabric.editor.bold': string;
144
144
  'fabric.editor.italic': string;
145
145
  'fabric.editor.selected': string;
146
- 'fabric.theme.white': string;
147
- 'fabric.theme.light-blue': string;
148
- 'fabric.theme.light-teal': string;
149
- 'fabric.theme.light-green': string;
150
- 'fabric.theme.light-yellow': string;
151
- 'fabric.theme.light-red': string;
152
- 'fabric.theme.light-purple': string;
153
- 'fabric.theme.light-gray': string;
154
- 'fabric.theme.blue': string;
155
- 'fabric.theme.teal': string;
156
- 'fabric.theme.green': string;
157
- 'fabric.theme.yellow': string;
158
- 'fabric.theme.red': string;
159
- 'fabric.theme.orange': string;
160
- 'fabric.theme.purple': string;
161
- 'fabric.theme.gray': string;
162
- 'fabric.theme.dark-blue': string;
163
- 'fabric.theme.dark-teal': string;
164
- 'fabric.theme.dark-green': string;
165
- 'fabric.theme.dark-yellow': string;
166
- 'fabric.theme.dark-red': string;
167
- 'fabric.theme.dark-purple': string;
168
146
  };
169
147
  /**
170
148
  * NOTE:
@@ -287,28 +287,6 @@ declare const _default: {
287
287
  'fabric.editor.warningPanel.description': string;
288
288
  'fabric.editor.wrapLeft': string;
289
289
  'fabric.editor.wrapRight': string;
290
- 'fabric.theme.blue': string;
291
- 'fabric.theme.dark-blue': string;
292
- 'fabric.theme.dark-green': string;
293
- 'fabric.theme.dark-purple': string;
294
- 'fabric.theme.dark-red': string;
295
- 'fabric.theme.dark-teal': string;
296
- 'fabric.theme.dark-yellow': string;
297
- 'fabric.theme.gray': string;
298
- 'fabric.theme.green': string;
299
- 'fabric.theme.light-blue': string;
300
- 'fabric.theme.light-gray': string;
301
- 'fabric.theme.light-green': string;
302
- 'fabric.theme.light-purple': string;
303
- 'fabric.theme.light-red': string;
304
- 'fabric.theme.light-teal': string;
305
- 'fabric.theme.light-yellow': string;
306
- 'fabric.theme.orange': string;
307
- 'fabric.theme.purple': string;
308
- 'fabric.theme.red': string;
309
- 'fabric.theme.teal': string;
310
- 'fabric.theme.white': string;
311
- 'fabric.theme.yellow': string;
312
290
  };
313
291
  /**
314
292
  * NOTE:
@@ -287,28 +287,6 @@ declare const _default: {
287
287
  'fabric.editor.warningPanel.description': string;
288
288
  'fabric.editor.wrapLeft': string;
289
289
  'fabric.editor.wrapRight': string;
290
- 'fabric.theme.blue': string;
291
- 'fabric.theme.dark-blue': string;
292
- 'fabric.theme.dark-green': string;
293
- 'fabric.theme.dark-purple': string;
294
- 'fabric.theme.dark-red': string;
295
- 'fabric.theme.dark-teal': string;
296
- 'fabric.theme.dark-yellow': string;
297
- 'fabric.theme.gray': string;
298
- 'fabric.theme.green': string;
299
- 'fabric.theme.light-blue': string;
300
- 'fabric.theme.light-gray': string;
301
- 'fabric.theme.light-green': string;
302
- 'fabric.theme.light-purple': string;
303
- 'fabric.theme.light-red': string;
304
- 'fabric.theme.light-teal': string;
305
- 'fabric.theme.light-yellow': string;
306
- 'fabric.theme.orange': string;
307
- 'fabric.theme.purple': string;
308
- 'fabric.theme.red': string;
309
- 'fabric.theme.teal': string;
310
- 'fabric.theme.white': string;
311
- 'fabric.theme.yellow': string;
312
290
  };
313
291
  /**
314
292
  * NOTE: