@evfrenkel/decap-cms-core 3.13.0-image-conversions.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 (306) hide show
  1. package/README.md +9 -0
  2. package/dist/20.decap-cms-core.js +2 -0
  3. package/dist/20.decap-cms-core.js.map +1 -0
  4. package/dist/3802306e7b58a11862fb.wasm +0 -0
  5. package/dist/@evfrenkel/20.decap-cms-core.js +2 -0
  6. package/dist/@evfrenkel/20.decap-cms-core.js.map +1 -0
  7. package/dist/@evfrenkel/decap-cms-core.js +44 -0
  8. package/dist/@evfrenkel/decap-cms-core.js.LICENSE.txt +126 -0
  9. package/dist/@evfrenkel/decap-cms-core.js.map +1 -0
  10. package/dist/decap-cms-core.js +47 -0
  11. package/dist/decap-cms-core.js.LICENSE.txt +126 -0
  12. package/dist/decap-cms-core.js.map +1 -0
  13. package/dist/esm/actions/auth.js +97 -0
  14. package/dist/esm/actions/collections.js +15 -0
  15. package/dist/esm/actions/config.js +503 -0
  16. package/dist/esm/actions/deploys.js +80 -0
  17. package/dist/esm/actions/editorialWorkflow.js +480 -0
  18. package/dist/esm/actions/entries.js +876 -0
  19. package/dist/esm/actions/media.js +147 -0
  20. package/dist/esm/actions/mediaLibrary.js +599 -0
  21. package/dist/esm/actions/notifications.js +21 -0
  22. package/dist/esm/actions/search.js +149 -0
  23. package/dist/esm/actions/status.js +74 -0
  24. package/dist/esm/actions/waitUntil.js +32 -0
  25. package/dist/esm/backend.js +1090 -0
  26. package/dist/esm/bootstrap.js +101 -0
  27. package/dist/esm/components/App/App.js +296 -0
  28. package/dist/esm/components/App/Header.js +172 -0
  29. package/dist/esm/components/App/NotFoundPage.js +19 -0
  30. package/dist/esm/components/Collection/Collection.js +198 -0
  31. package/dist/esm/components/Collection/CollectionControls.js +47 -0
  32. package/dist/esm/components/Collection/CollectionSearch.js +222 -0
  33. package/dist/esm/components/Collection/CollectionTop.js +68 -0
  34. package/dist/esm/components/Collection/ControlButton.js +17 -0
  35. package/dist/esm/components/Collection/Entries/Entries.js +73 -0
  36. package/dist/esm/components/Collection/Entries/EntriesCollection.js +241 -0
  37. package/dist/esm/components/Collection/Entries/EntriesSearch.js +113 -0
  38. package/dist/esm/components/Collection/Entries/EntryCard.js +192 -0
  39. package/dist/esm/components/Collection/Entries/EntryListing.js +143 -0
  40. package/dist/esm/components/Collection/FilterControl.js +33 -0
  41. package/dist/esm/components/Collection/GroupControl.js +33 -0
  42. package/dist/esm/components/Collection/NestedCollection.js +308 -0
  43. package/dist/esm/components/Collection/Sidebar.js +91 -0
  44. package/dist/esm/components/Collection/SortControl.js +59 -0
  45. package/dist/esm/components/Collection/ViewStyleControl.js +41 -0
  46. package/dist/esm/components/Editor/Editor.js +466 -0
  47. package/dist/esm/components/Editor/EditorControlPane/EditorControl.js +398 -0
  48. package/dist/esm/components/Editor/EditorControlPane/EditorControlPane.js +254 -0
  49. package/dist/esm/components/Editor/EditorControlPane/Widget.js +374 -0
  50. package/dist/esm/components/Editor/EditorInterface.js +386 -0
  51. package/dist/esm/components/Editor/EditorPreviewPane/EditorPreview.js +47 -0
  52. package/dist/esm/components/Editor/EditorPreviewPane/EditorPreviewContent.js +67 -0
  53. package/dist/esm/components/Editor/EditorPreviewPane/EditorPreviewPane.js +306 -0
  54. package/dist/esm/components/Editor/EditorPreviewPane/PreviewHOC.js +27 -0
  55. package/dist/esm/components/Editor/EditorToolbar.js +554 -0
  56. package/dist/esm/components/Editor/withWorkflow.js +56 -0
  57. package/dist/esm/components/EditorWidgets/Unknown/UnknownControl.js +18 -0
  58. package/dist/esm/components/EditorWidgets/Unknown/UnknownPreview.js +20 -0
  59. package/dist/esm/components/EditorWidgets/index.js +4 -0
  60. package/dist/esm/components/MediaLibrary/EmptyMessage.js +22 -0
  61. package/dist/esm/components/MediaLibrary/MediaLibrary.js +446 -0
  62. package/dist/esm/components/MediaLibrary/MediaLibraryButtons.js +92 -0
  63. package/dist/esm/components/MediaLibrary/MediaLibraryCard.js +99 -0
  64. package/dist/esm/components/MediaLibrary/MediaLibraryCardGrid.js +198 -0
  65. package/dist/esm/components/MediaLibrary/MediaLibraryHeader.js +34 -0
  66. package/dist/esm/components/MediaLibrary/MediaLibraryModal.js +156 -0
  67. package/dist/esm/components/MediaLibrary/MediaLibrarySearch.js +51 -0
  68. package/dist/esm/components/MediaLibrary/MediaLibraryTop.js +124 -0
  69. package/dist/esm/components/UI/DragDrop.js +67 -0
  70. package/dist/esm/components/UI/ErrorBoundary.js +170 -0
  71. package/dist/esm/components/UI/FileUploadButton.js +27 -0
  72. package/dist/esm/components/UI/Modal.js +104 -0
  73. package/dist/esm/components/UI/Notifications.js +62 -0
  74. package/dist/esm/components/UI/SettingsDropdown.js +107 -0
  75. package/dist/esm/components/UI/index.js +6 -0
  76. package/dist/esm/components/Workflow/Workflow.js +133 -0
  77. package/dist/esm/components/Workflow/WorkflowCard.js +128 -0
  78. package/dist/esm/components/Workflow/WorkflowList.js +204 -0
  79. package/dist/esm/constants/collectionTypes.js +2 -0
  80. package/dist/esm/constants/collectionViews.js +2 -0
  81. package/dist/esm/constants/commitProps.js +2 -0
  82. package/dist/esm/constants/configSchema.js +695 -0
  83. package/dist/esm/constants/fieldInference.js +57 -0
  84. package/dist/esm/constants/publishModes.js +18 -0
  85. package/dist/esm/constants/validationErrorTypes.js +6 -0
  86. package/dist/esm/formats/formats.js +83 -0
  87. package/dist/esm/formats/frontmatter.js +146 -0
  88. package/dist/esm/formats/helpers.js +12 -0
  89. package/dist/esm/formats/json.js +8 -0
  90. package/dist/esm/formats/toml.js +32 -0
  91. package/dist/esm/formats/yaml.js +60 -0
  92. package/dist/esm/index.js +7 -0
  93. package/dist/esm/integrations/index.js +28 -0
  94. package/dist/esm/integrations/providers/algolia/implementation.js +174 -0
  95. package/dist/esm/integrations/providers/assetStore/implementation.js +165 -0
  96. package/dist/esm/lib/consoleError.js +3 -0
  97. package/dist/esm/lib/formatters.js +201 -0
  98. package/dist/esm/lib/i18n.js +372 -0
  99. package/dist/esm/lib/imageTransformations.js +143 -0
  100. package/dist/esm/lib/phrases.js +6 -0
  101. package/dist/esm/lib/polyfill.js +8 -0
  102. package/dist/esm/lib/registry.js +332 -0
  103. package/dist/esm/lib/serializeEntryValues.js +67 -0
  104. package/dist/esm/lib/stega.js +142 -0
  105. package/dist/esm/lib/textHelper.js +9 -0
  106. package/dist/esm/lib/urlHelper.js +129 -0
  107. package/dist/esm/mediaLibrary.js +37 -0
  108. package/dist/esm/reducers/auth.js +27 -0
  109. package/dist/esm/reducers/collections.js +428 -0
  110. package/dist/esm/reducers/combinedReducer.js +8 -0
  111. package/dist/esm/reducers/config.js +29 -0
  112. package/dist/esm/reducers/cursors.js +31 -0
  113. package/dist/esm/reducers/deploys.js +50 -0
  114. package/dist/esm/reducers/editorialWorkflow.js +83 -0
  115. package/dist/esm/reducers/entries.js +568 -0
  116. package/dist/esm/reducers/entryDraft.js +211 -0
  117. package/dist/esm/reducers/globalUI.js +25 -0
  118. package/dist/esm/reducers/index.js +66 -0
  119. package/dist/esm/reducers/integrations.js +53 -0
  120. package/dist/esm/reducers/mediaLibrary.js +252 -0
  121. package/dist/esm/reducers/medias.js +68 -0
  122. package/dist/esm/reducers/notifications.js +23 -0
  123. package/dist/esm/reducers/search.js +92 -0
  124. package/dist/esm/reducers/status.js +30 -0
  125. package/dist/esm/redux/index.js +7 -0
  126. package/dist/esm/redux/middleware/waitUntilAction.js +48 -0
  127. package/dist/esm/routing/history.js +12 -0
  128. package/dist/esm/types/diacritics.d.js +0 -0
  129. package/dist/esm/types/global.d.js +1 -0
  130. package/dist/esm/types/immutable.js +7 -0
  131. package/dist/esm/types/redux.js +14 -0
  132. package/dist/esm/types/tomlify-j0.4.d.js +0 -0
  133. package/dist/esm/valueObjects/AssetProxy.js +44 -0
  134. package/dist/esm/valueObjects/EditorComponent.js +34 -0
  135. package/dist/esm/valueObjects/Entry.js +20 -0
  136. package/index.d.ts +662 -0
  137. package/package.json +100 -0
  138. package/src/__tests__/backend.spec.js +1223 -0
  139. package/src/actions/__tests__/config.spec.js +1023 -0
  140. package/src/actions/__tests__/editorialWorkflow.spec.js +216 -0
  141. package/src/actions/__tests__/entries.spec.js +610 -0
  142. package/src/actions/__tests__/media.spec.ts +171 -0
  143. package/src/actions/__tests__/mediaLibrary.spec.js +462 -0
  144. package/src/actions/__tests__/search.spec.js +209 -0
  145. package/src/actions/auth.ts +127 -0
  146. package/src/actions/collections.ts +18 -0
  147. package/src/actions/config.ts +574 -0
  148. package/src/actions/deploys.ts +105 -0
  149. package/src/actions/editorialWorkflow.ts +567 -0
  150. package/src/actions/entries.ts +1070 -0
  151. package/src/actions/media.ts +139 -0
  152. package/src/actions/mediaLibrary.ts +639 -0
  153. package/src/actions/notifications.ts +36 -0
  154. package/src/actions/search.ts +221 -0
  155. package/src/actions/status.ts +99 -0
  156. package/src/actions/waitUntil.ts +49 -0
  157. package/src/backend.ts +1411 -0
  158. package/src/bootstrap.js +104 -0
  159. package/src/components/App/App.js +295 -0
  160. package/src/components/App/Header.js +291 -0
  161. package/src/components/App/NotFoundPage.js +23 -0
  162. package/src/components/Collection/Collection.js +210 -0
  163. package/src/components/Collection/CollectionControls.js +58 -0
  164. package/src/components/Collection/CollectionSearch.js +243 -0
  165. package/src/components/Collection/CollectionTop.js +81 -0
  166. package/src/components/Collection/ControlButton.js +27 -0
  167. package/src/components/Collection/Entries/Entries.js +82 -0
  168. package/src/components/Collection/Entries/EntriesCollection.js +277 -0
  169. package/src/components/Collection/Entries/EntriesSearch.js +102 -0
  170. package/src/components/Collection/Entries/EntryCard.js +256 -0
  171. package/src/components/Collection/Entries/EntryListing.js +151 -0
  172. package/src/components/Collection/Entries/__tests__/EntriesCollection.spec.js +163 -0
  173. package/src/components/Collection/Entries/__tests__/__snapshots__/EntriesCollection.spec.js.snap +46 -0
  174. package/src/components/Collection/FilterControl.js +39 -0
  175. package/src/components/Collection/GroupControl.js +39 -0
  176. package/src/components/Collection/NestedCollection.js +330 -0
  177. package/src/components/Collection/Sidebar.js +136 -0
  178. package/src/components/Collection/SortControl.js +68 -0
  179. package/src/components/Collection/ViewStyleControl.js +52 -0
  180. package/src/components/Collection/__tests__/Collection.spec.js +75 -0
  181. package/src/components/Collection/__tests__/NestedCollection.spec.js +445 -0
  182. package/src/components/Collection/__tests__/Sidebar.spec.js +87 -0
  183. package/src/components/Collection/__tests__/__snapshots__/Collection.spec.js.snap +144 -0
  184. package/src/components/Collection/__tests__/__snapshots__/NestedCollection.spec.js.snap +550 -0
  185. package/src/components/Collection/__tests__/__snapshots__/Sidebar.spec.js.snap +312 -0
  186. package/src/components/Editor/Editor.js +497 -0
  187. package/src/components/Editor/EditorControlPane/EditorControl.js +453 -0
  188. package/src/components/Editor/EditorControlPane/EditorControlPane.js +269 -0
  189. package/src/components/Editor/EditorControlPane/Widget.js +384 -0
  190. package/src/components/Editor/EditorInterface.js +444 -0
  191. package/src/components/Editor/EditorPreviewPane/EditorPreview.js +40 -0
  192. package/src/components/Editor/EditorPreviewPane/EditorPreviewContent.js +75 -0
  193. package/src/components/Editor/EditorPreviewPane/EditorPreviewPane.js +337 -0
  194. package/src/components/Editor/EditorPreviewPane/PreviewHOC.js +33 -0
  195. package/src/components/Editor/EditorToolbar.js +728 -0
  196. package/src/components/Editor/__tests__/Editor.spec.js +221 -0
  197. package/src/components/Editor/__tests__/EditorToolbar.spec.js +166 -0
  198. package/src/components/Editor/__tests__/__snapshots__/Editor.spec.js.snap +45 -0
  199. package/src/components/Editor/__tests__/__snapshots__/EditorToolbar.spec.js.snap +4265 -0
  200. package/src/components/Editor/withWorkflow.js +61 -0
  201. package/src/components/EditorWidgets/Unknown/UnknownControl.js +17 -0
  202. package/src/components/EditorWidgets/Unknown/UnknownPreview.js +19 -0
  203. package/src/components/EditorWidgets/index.js +5 -0
  204. package/src/components/MediaLibrary/EmptyMessage.js +28 -0
  205. package/src/components/MediaLibrary/MediaLibrary.js +411 -0
  206. package/src/components/MediaLibrary/MediaLibraryButtons.js +135 -0
  207. package/src/components/MediaLibrary/MediaLibraryCard.js +128 -0
  208. package/src/components/MediaLibrary/MediaLibraryCardGrid.js +199 -0
  209. package/src/components/MediaLibrary/MediaLibraryHeader.js +48 -0
  210. package/src/components/MediaLibrary/MediaLibraryModal.js +200 -0
  211. package/src/components/MediaLibrary/MediaLibrarySearch.js +61 -0
  212. package/src/components/MediaLibrary/MediaLibraryTop.js +144 -0
  213. package/src/components/MediaLibrary/__tests__/MediaLibraryButtons.spec.js +45 -0
  214. package/src/components/MediaLibrary/__tests__/MediaLibraryCard.spec.js +49 -0
  215. package/src/components/MediaLibrary/__tests__/__snapshots__/MediaLibraryCard.spec.js.snap +264 -0
  216. package/src/components/UI/DragDrop.js +66 -0
  217. package/src/components/UI/ErrorBoundary.js +213 -0
  218. package/src/components/UI/FileUploadButton.js +24 -0
  219. package/src/components/UI/Modal.js +112 -0
  220. package/src/components/UI/Notifications.tsx +83 -0
  221. package/src/components/UI/SettingsDropdown.js +130 -0
  222. package/src/components/UI/__tests__/ErrorBoundary.spec.js +57 -0
  223. package/src/components/UI/index.js +6 -0
  224. package/src/components/Workflow/Workflow.js +169 -0
  225. package/src/components/Workflow/WorkflowCard.js +177 -0
  226. package/src/components/Workflow/WorkflowList.js +272 -0
  227. package/src/constants/__tests__/configSchema.spec.js +644 -0
  228. package/src/constants/collectionTypes.ts +2 -0
  229. package/src/constants/collectionViews.js +2 -0
  230. package/src/constants/commitProps.ts +2 -0
  231. package/src/constants/configSchema.js +489 -0
  232. package/src/constants/fieldInference.tsx +78 -0
  233. package/src/constants/publishModes.ts +22 -0
  234. package/src/constants/validationErrorTypes.js +6 -0
  235. package/src/formats/__tests__/formats.spec.js +87 -0
  236. package/src/formats/__tests__/frontmatter.spec.js +450 -0
  237. package/src/formats/__tests__/toml.spec.js +9 -0
  238. package/src/formats/__tests__/yaml.spec.js +189 -0
  239. package/src/formats/formats.ts +97 -0
  240. package/src/formats/frontmatter.ts +150 -0
  241. package/src/formats/helpers.ts +14 -0
  242. package/src/formats/json.ts +9 -0
  243. package/src/formats/toml.ts +33 -0
  244. package/src/formats/yaml.ts +73 -0
  245. package/src/index.js +8 -0
  246. package/src/integrations/index.js +35 -0
  247. package/src/integrations/providers/algolia/implementation.js +176 -0
  248. package/src/integrations/providers/assetStore/implementation.js +148 -0
  249. package/src/lib/__tests__/formatters.spec.js +844 -0
  250. package/src/lib/__tests__/i18n.spec.js +792 -0
  251. package/src/lib/__tests__/imageTransformations.spec.ts +97 -0
  252. package/src/lib/__tests__/phrases.spec.js +119 -0
  253. package/src/lib/__tests__/registry.spec.js +261 -0
  254. package/src/lib/__tests__/serializeEntryValues.spec.js +22 -0
  255. package/src/lib/__tests__/urlHelper.spec.js +145 -0
  256. package/src/lib/consoleError.js +7 -0
  257. package/src/lib/formatters.ts +297 -0
  258. package/src/lib/i18n.ts +462 -0
  259. package/src/lib/imageTransformations.ts +212 -0
  260. package/src/lib/phrases.js +8 -0
  261. package/src/lib/polyfill.js +9 -0
  262. package/src/lib/registry.js +315 -0
  263. package/src/lib/serializeEntryValues.js +75 -0
  264. package/src/lib/stega.ts +145 -0
  265. package/src/lib/textHelper.js +11 -0
  266. package/src/lib/urlHelper.ts +152 -0
  267. package/src/mediaLibrary.ts +51 -0
  268. package/src/reducers/__tests__/auth.spec.ts +38 -0
  269. package/src/reducers/__tests__/collections.spec.js +610 -0
  270. package/src/reducers/__tests__/config.spec.js +38 -0
  271. package/src/reducers/__tests__/deploys.spec.ts +111 -0
  272. package/src/reducers/__tests__/entries.spec.js +694 -0
  273. package/src/reducers/__tests__/entryDraft.spec.js +315 -0
  274. package/src/reducers/__tests__/globalUI.js +43 -0
  275. package/src/reducers/__tests__/integrations.spec.ts +76 -0
  276. package/src/reducers/__tests__/mediaLibrary.spec.js +154 -0
  277. package/src/reducers/__tests__/medias.spec.ts +49 -0
  278. package/src/reducers/auth.ts +46 -0
  279. package/src/reducers/collections.ts +535 -0
  280. package/src/reducers/combinedReducer.ts +11 -0
  281. package/src/reducers/config.ts +38 -0
  282. package/src/reducers/cursors.js +36 -0
  283. package/src/reducers/deploys.ts +54 -0
  284. package/src/reducers/editorialWorkflow.ts +163 -0
  285. package/src/reducers/entries.ts +819 -0
  286. package/src/reducers/entryDraft.js +259 -0
  287. package/src/reducers/globalUI.ts +45 -0
  288. package/src/reducers/index.ts +82 -0
  289. package/src/reducers/integrations.ts +59 -0
  290. package/src/reducers/mediaLibrary.ts +296 -0
  291. package/src/reducers/medias.ts +66 -0
  292. package/src/reducers/notifications.ts +52 -0
  293. package/src/reducers/search.ts +111 -0
  294. package/src/reducers/status.ts +40 -0
  295. package/src/redux/index.ts +18 -0
  296. package/src/redux/middleware/waitUntilAction.ts +64 -0
  297. package/src/routing/__tests__/history.spec.ts +49 -0
  298. package/src/routing/history.ts +17 -0
  299. package/src/types/diacritics.d.ts +1 -0
  300. package/src/types/global.d.ts +8 -0
  301. package/src/types/immutable.ts +49 -0
  302. package/src/types/redux.ts +875 -0
  303. package/src/types/tomlify-j0.4.d.ts +13 -0
  304. package/src/valueObjects/AssetProxy.ts +48 -0
  305. package/src/valueObjects/EditorComponent.js +38 -0
  306. package/src/valueObjects/Entry.ts +63 -0
@@ -0,0 +1,4265 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`EditorToolbar should render normal save button 1`] = `
4
+ <DocumentFragment>
5
+ .emotion-0 {
6
+ box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
7
+ position: absolute;
8
+ top: 0;
9
+ left: 0;
10
+ width: 100%;
11
+ min-width: 800px;
12
+ z-index: 300;
13
+ background-color: #fff;
14
+ height: 66px;
15
+ display: -webkit-box;
16
+ display: -webkit-flex;
17
+ display: -ms-flexbox;
18
+ display: flex;
19
+ -webkit-box-pack: justify;
20
+ -webkit-justify-content: space-between;
21
+ justify-content: space-between;
22
+ }
23
+
24
+ .emotion-2 {
25
+ height: 100%;
26
+ display: -webkit-box;
27
+ display: -webkit-flex;
28
+ display: -ms-flexbox;
29
+ display: flex;
30
+ -webkit-align-items: center;
31
+ -webkit-box-align: center;
32
+ -ms-flex-align: center;
33
+ align-items: center;
34
+ border: 0 solid #dfdfe3;
35
+ border-right-width: 1px;
36
+ font-weight: normal;
37
+ padding: 0 20px;
38
+ }
39
+
40
+ .emotion-2:hover,
41
+ .emotion-2:focus {
42
+ background-color: #f1f2f4;
43
+ }
44
+
45
+ .emotion-4 {
46
+ color: #313d3e;
47
+ font-size: 21px;
48
+ font-weight: 600;
49
+ margin-right: 16px;
50
+ }
51
+
52
+ .emotion-6 {
53
+ color: #313d3e;
54
+ font-size: 14px;
55
+ }
56
+
57
+ .emotion-8 {
58
+ margin-top: 6px;
59
+ font-size: 13px;
60
+ line-height: 1;
61
+ display: inline-block;
62
+ font-weight: 700;
63
+ text-transform: uppercase;
64
+ color: #ff003b;
65
+ }
66
+
67
+ .emotion-10 {
68
+ height: 100%;
69
+ display: -webkit-box;
70
+ display: -webkit-flex;
71
+ display: -ms-flexbox;
72
+ display: flex;
73
+ -webkit-align-items: center;
74
+ -webkit-box-align: center;
75
+ -ms-flex-align: center;
76
+ align-items: center;
77
+ border: 0 solid #dfdfe3;
78
+ -webkit-flex: 10;
79
+ -ms-flex: 10;
80
+ flex: 10;
81
+ display: -webkit-box;
82
+ display: -webkit-flex;
83
+ display: -ms-flexbox;
84
+ display: flex;
85
+ -webkit-box-pack: justify;
86
+ -webkit-justify-content: space-between;
87
+ justify-content: space-between;
88
+ padding: 0 10px;
89
+ }
90
+
91
+ .emotion-12 {
92
+ display: -webkit-box;
93
+ display: -webkit-flex;
94
+ display: -ms-flexbox;
95
+ display: flex;
96
+ -webkit-align-items: center;
97
+ -webkit-box-align: center;
98
+ -ms-flex-align: center;
99
+ align-items: center;
100
+ }
101
+
102
+ .emotion-15 {
103
+ position: relative;
104
+ font-size: 14px;
105
+ -webkit-user-select: none;
106
+ -moz-user-select: none;
107
+ -ms-user-select: none;
108
+ user-select: none;
109
+ touch-action: manipulation;
110
+ margin: 0 10px;
111
+ }
112
+
113
+ .emotion-15 .e1jeq5dr0 {
114
+ color: #17a2b8;
115
+ }
116
+
117
+ .emotion-17 {
118
+ border: 0;
119
+ border-radius: 5px;
120
+ cursor: pointer;
121
+ height: 36px;
122
+ line-height: 36px;
123
+ font-weight: 500;
124
+ padding: 0 15px;
125
+ background-color: #798291;
126
+ color: #fff;
127
+ display: block;
128
+ padding-left: 20px;
129
+ padding-right: 40px;
130
+ position: relative;
131
+ white-space: nowrap;
132
+ overflow: hidden;
133
+ white-space: nowrap;
134
+ text-overflow: ellipsis;
135
+ background-color: #17a2b8;
136
+ }
137
+
138
+ .emotion-17:after {
139
+ color: #fff;
140
+ width: 0;
141
+ height: 0;
142
+ border: 5px solid transparent;
143
+ border-radius: 2px;
144
+ border-top: 6px solid currentColor;
145
+ border-bottom: 0;
146
+ content: '';
147
+ display: block;
148
+ position: absolute;
149
+ top: 16px;
150
+ right: 10px;
151
+ color: currentColor;
152
+ }
153
+
154
+ @media (max-width: 1200px) {
155
+ .emotion-17 {
156
+ padding-left: 10px;
157
+ }
158
+ }
159
+
160
+ .emotion-19 {
161
+ border: 0;
162
+ border-radius: 5px;
163
+ cursor: pointer;
164
+ height: 36px;
165
+ line-height: 36px;
166
+ font-weight: 500;
167
+ padding: 0 15px;
168
+ background-color: #798291;
169
+ color: #fff;
170
+ margin: 0 10px;
171
+ overflow: hidden;
172
+ white-space: nowrap;
173
+ text-overflow: ellipsis;
174
+ display: block;
175
+ background-color: #fcefea;
176
+ color: #D60032;
177
+ }
178
+
179
+ @media (max-width: 1200px) {
180
+ .emotion-19 {
181
+ padding: 0 10px;
182
+ }
183
+ }
184
+
185
+ .emotion-21 {
186
+ display: -webkit-box;
187
+ display: -webkit-flex;
188
+ display: -ms-flexbox;
189
+ display: flex;
190
+ -webkit-align-items: center;
191
+ -webkit-box-align: center;
192
+ -ms-flex-align: center;
193
+ align-items: center;
194
+ -webkit-box-pack: end;
195
+ -ms-flex-pack: end;
196
+ -webkit-justify-content: flex-end;
197
+ justify-content: flex-end;
198
+ }
199
+
200
+ .emotion-23 {
201
+ height: 100%;
202
+ display: -webkit-box;
203
+ display: -webkit-flex;
204
+ display: -ms-flexbox;
205
+ display: flex;
206
+ -webkit-align-items: center;
207
+ -webkit-box-align: center;
208
+ -ms-flex-align: center;
209
+ align-items: center;
210
+ border: 0 solid #dfdfe3;
211
+ border-left-width: 1px;
212
+ padding: 0 7px;
213
+ }
214
+
215
+ <div
216
+ class="emotion-0 emotion-1"
217
+ >
218
+ <mock-link
219
+ class="emotion-2 emotion-3"
220
+ to=""
221
+ >
222
+ <div
223
+ class="emotion-4 emotion-5"
224
+ >
225
+
226
+ </div>
227
+ <div>
228
+ <div
229
+ class="emotion-6 emotion-7"
230
+ >
231
+ editor.editorToolbar.backCollection
232
+ </div>
233
+ <div
234
+ class="emotion-8 emotion-9"
235
+ >
236
+ editor.editorToolbar.unsavedChanges
237
+ </div>
238
+ </div>
239
+ </mock-link>
240
+ <div
241
+ class="emotion-10 emotion-11"
242
+ >
243
+ <div
244
+ class="emotion-12 emotion-13"
245
+ >
246
+ <div>
247
+ <div
248
+ class="emotion-14 emotion-15 emotion-16"
249
+ >
250
+ <div>
251
+ <span
252
+ aria-expanded="false"
253
+ aria-haspopup="true"
254
+ class="emotion-17 emotion-18"
255
+ role="button"
256
+ tabindex="0"
257
+ >
258
+ editor.editorToolbar.publish
259
+ </span>
260
+ </div>
261
+ </div>
262
+ </div>
263
+ <div>
264
+ <button
265
+ class="emotion-19 emotion-20"
266
+ >
267
+ editor.editorToolbar.deleteEntry
268
+ </button>
269
+ </div>
270
+ </div>
271
+ <div
272
+ class="emotion-21 emotion-22"
273
+ />
274
+ </div>
275
+ <div
276
+ class="emotion-23 emotion-24"
277
+ >
278
+ <mock-settings-dropdown />
279
+ </div>
280
+ </div>
281
+ </DocumentFragment>
282
+ `;
283
+
284
+ exports[`EditorToolbar should render normal save button 2`] = `
285
+ <DocumentFragment>
286
+ .emotion-0 {
287
+ box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
288
+ position: absolute;
289
+ top: 0;
290
+ left: 0;
291
+ width: 100%;
292
+ min-width: 800px;
293
+ z-index: 300;
294
+ background-color: #fff;
295
+ height: 66px;
296
+ display: -webkit-box;
297
+ display: -webkit-flex;
298
+ display: -ms-flexbox;
299
+ display: flex;
300
+ -webkit-box-pack: justify;
301
+ -webkit-justify-content: space-between;
302
+ justify-content: space-between;
303
+ }
304
+
305
+ .emotion-2 {
306
+ height: 100%;
307
+ display: -webkit-box;
308
+ display: -webkit-flex;
309
+ display: -ms-flexbox;
310
+ display: flex;
311
+ -webkit-align-items: center;
312
+ -webkit-box-align: center;
313
+ -ms-flex-align: center;
314
+ align-items: center;
315
+ border: 0 solid #dfdfe3;
316
+ border-right-width: 1px;
317
+ font-weight: normal;
318
+ padding: 0 20px;
319
+ }
320
+
321
+ .emotion-2:hover,
322
+ .emotion-2:focus {
323
+ background-color: #f1f2f4;
324
+ }
325
+
326
+ .emotion-4 {
327
+ color: #313d3e;
328
+ font-size: 21px;
329
+ font-weight: 600;
330
+ margin-right: 16px;
331
+ }
332
+
333
+ .emotion-6 {
334
+ color: #313d3e;
335
+ font-size: 14px;
336
+ }
337
+
338
+ .emotion-8 {
339
+ margin-top: 6px;
340
+ font-size: 13px;
341
+ line-height: 1;
342
+ display: inline-block;
343
+ font-weight: 700;
344
+ text-transform: uppercase;
345
+ color: #ff003b;
346
+ }
347
+
348
+ .emotion-10 {
349
+ height: 100%;
350
+ display: -webkit-box;
351
+ display: -webkit-flex;
352
+ display: -ms-flexbox;
353
+ display: flex;
354
+ -webkit-align-items: center;
355
+ -webkit-box-align: center;
356
+ -ms-flex-align: center;
357
+ align-items: center;
358
+ border: 0 solid #dfdfe3;
359
+ -webkit-flex: 10;
360
+ -ms-flex: 10;
361
+ flex: 10;
362
+ display: -webkit-box;
363
+ display: -webkit-flex;
364
+ display: -ms-flexbox;
365
+ display: flex;
366
+ -webkit-box-pack: justify;
367
+ -webkit-justify-content: space-between;
368
+ justify-content: space-between;
369
+ padding: 0 10px;
370
+ }
371
+
372
+ .emotion-12 {
373
+ display: -webkit-box;
374
+ display: -webkit-flex;
375
+ display: -ms-flexbox;
376
+ display: flex;
377
+ -webkit-align-items: center;
378
+ -webkit-box-align: center;
379
+ -ms-flex-align: center;
380
+ align-items: center;
381
+ }
382
+
383
+ .emotion-15 {
384
+ position: relative;
385
+ font-size: 14px;
386
+ -webkit-user-select: none;
387
+ -moz-user-select: none;
388
+ -ms-user-select: none;
389
+ user-select: none;
390
+ touch-action: manipulation;
391
+ margin: 0 10px;
392
+ }
393
+
394
+ .emotion-15 .e1jeq5dr0 {
395
+ color: #17a2b8;
396
+ }
397
+
398
+ .emotion-17 {
399
+ border: 0;
400
+ border-radius: 5px;
401
+ cursor: pointer;
402
+ height: 36px;
403
+ line-height: 36px;
404
+ font-weight: 500;
405
+ padding: 0 15px;
406
+ background-color: #798291;
407
+ color: #fff;
408
+ display: block;
409
+ padding-left: 20px;
410
+ padding-right: 40px;
411
+ position: relative;
412
+ white-space: nowrap;
413
+ overflow: hidden;
414
+ white-space: nowrap;
415
+ text-overflow: ellipsis;
416
+ background-color: #17a2b8;
417
+ }
418
+
419
+ .emotion-17:after {
420
+ color: #fff;
421
+ width: 0;
422
+ height: 0;
423
+ border: 5px solid transparent;
424
+ border-radius: 2px;
425
+ border-top: 6px solid currentColor;
426
+ border-bottom: 0;
427
+ content: '';
428
+ display: block;
429
+ position: absolute;
430
+ top: 16px;
431
+ right: 10px;
432
+ color: currentColor;
433
+ }
434
+
435
+ @media (max-width: 1200px) {
436
+ .emotion-17 {
437
+ padding-left: 10px;
438
+ }
439
+ }
440
+
441
+ .emotion-19 {
442
+ border: 0;
443
+ border-radius: 5px;
444
+ cursor: pointer;
445
+ height: 36px;
446
+ line-height: 36px;
447
+ font-weight: 500;
448
+ padding: 0 15px;
449
+ background-color: #798291;
450
+ color: #fff;
451
+ margin: 0 10px;
452
+ overflow: hidden;
453
+ white-space: nowrap;
454
+ text-overflow: ellipsis;
455
+ display: block;
456
+ background-color: #fcefea;
457
+ color: #D60032;
458
+ }
459
+
460
+ @media (max-width: 1200px) {
461
+ .emotion-19 {
462
+ padding: 0 10px;
463
+ }
464
+ }
465
+
466
+ .emotion-21 {
467
+ display: -webkit-box;
468
+ display: -webkit-flex;
469
+ display: -ms-flexbox;
470
+ display: flex;
471
+ -webkit-align-items: center;
472
+ -webkit-box-align: center;
473
+ -ms-flex-align: center;
474
+ align-items: center;
475
+ -webkit-box-pack: end;
476
+ -ms-flex-pack: end;
477
+ -webkit-justify-content: flex-end;
478
+ justify-content: flex-end;
479
+ }
480
+
481
+ .emotion-23 {
482
+ height: 100%;
483
+ display: -webkit-box;
484
+ display: -webkit-flex;
485
+ display: -ms-flexbox;
486
+ display: flex;
487
+ -webkit-align-items: center;
488
+ -webkit-box-align: center;
489
+ -ms-flex-align: center;
490
+ align-items: center;
491
+ border: 0 solid #dfdfe3;
492
+ border-left-width: 1px;
493
+ padding: 0 7px;
494
+ }
495
+
496
+ <div
497
+ class="emotion-0 emotion-1"
498
+ >
499
+ <mock-link
500
+ class="emotion-2 emotion-3"
501
+ to=""
502
+ >
503
+ <div
504
+ class="emotion-4 emotion-5"
505
+ >
506
+
507
+ </div>
508
+ <div>
509
+ <div
510
+ class="emotion-6 emotion-7"
511
+ >
512
+ editor.editorToolbar.backCollection
513
+ </div>
514
+ <div
515
+ class="emotion-8 emotion-9"
516
+ >
517
+ editor.editorToolbar.unsavedChanges
518
+ </div>
519
+ </div>
520
+ </mock-link>
521
+ <div
522
+ class="emotion-10 emotion-11"
523
+ >
524
+ <div
525
+ class="emotion-12 emotion-13"
526
+ >
527
+ <div>
528
+ <div
529
+ class="emotion-14 emotion-15 emotion-16"
530
+ >
531
+ <div>
532
+ <span
533
+ aria-expanded="false"
534
+ aria-haspopup="true"
535
+ class="emotion-17 emotion-18"
536
+ role="button"
537
+ tabindex="0"
538
+ >
539
+ editor.editorToolbar.publish
540
+ </span>
541
+ </div>
542
+ </div>
543
+ </div>
544
+ <div>
545
+ <button
546
+ class="emotion-19 emotion-20"
547
+ >
548
+ editor.editorToolbar.deleteEntry
549
+ </button>
550
+ </div>
551
+ </div>
552
+ <div
553
+ class="emotion-21 emotion-22"
554
+ />
555
+ </div>
556
+ <div
557
+ class="emotion-23 emotion-24"
558
+ >
559
+ <mock-settings-dropdown />
560
+ </div>
561
+ </div>
562
+ </DocumentFragment>
563
+ `;
564
+
565
+ exports[`EditorToolbar should render with default props 1`] = `
566
+ <DocumentFragment>
567
+ .emotion-0 {
568
+ box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
569
+ position: absolute;
570
+ top: 0;
571
+ left: 0;
572
+ width: 100%;
573
+ min-width: 800px;
574
+ z-index: 300;
575
+ background-color: #fff;
576
+ height: 66px;
577
+ display: -webkit-box;
578
+ display: -webkit-flex;
579
+ display: -ms-flexbox;
580
+ display: flex;
581
+ -webkit-box-pack: justify;
582
+ -webkit-justify-content: space-between;
583
+ justify-content: space-between;
584
+ }
585
+
586
+ .emotion-2 {
587
+ height: 100%;
588
+ display: -webkit-box;
589
+ display: -webkit-flex;
590
+ display: -ms-flexbox;
591
+ display: flex;
592
+ -webkit-align-items: center;
593
+ -webkit-box-align: center;
594
+ -ms-flex-align: center;
595
+ align-items: center;
596
+ border: 0 solid #dfdfe3;
597
+ border-right-width: 1px;
598
+ font-weight: normal;
599
+ padding: 0 20px;
600
+ }
601
+
602
+ .emotion-2:hover,
603
+ .emotion-2:focus {
604
+ background-color: #f1f2f4;
605
+ }
606
+
607
+ .emotion-4 {
608
+ color: #313d3e;
609
+ font-size: 21px;
610
+ font-weight: 600;
611
+ margin-right: 16px;
612
+ }
613
+
614
+ .emotion-6 {
615
+ color: #313d3e;
616
+ font-size: 14px;
617
+ }
618
+
619
+ .emotion-8 {
620
+ margin-top: 6px;
621
+ font-size: 13px;
622
+ line-height: 1;
623
+ display: inline-block;
624
+ font-weight: 700;
625
+ text-transform: uppercase;
626
+ color: #005614;
627
+ }
628
+
629
+ .emotion-10 {
630
+ height: 100%;
631
+ display: -webkit-box;
632
+ display: -webkit-flex;
633
+ display: -ms-flexbox;
634
+ display: flex;
635
+ -webkit-align-items: center;
636
+ -webkit-box-align: center;
637
+ -ms-flex-align: center;
638
+ align-items: center;
639
+ border: 0 solid #dfdfe3;
640
+ -webkit-flex: 10;
641
+ -ms-flex: 10;
642
+ flex: 10;
643
+ display: -webkit-box;
644
+ display: -webkit-flex;
645
+ display: -ms-flexbox;
646
+ display: flex;
647
+ -webkit-box-pack: justify;
648
+ -webkit-justify-content: space-between;
649
+ justify-content: space-between;
650
+ padding: 0 10px;
651
+ }
652
+
653
+ .emotion-12 {
654
+ display: -webkit-box;
655
+ display: -webkit-flex;
656
+ display: -ms-flexbox;
657
+ display: flex;
658
+ -webkit-align-items: center;
659
+ -webkit-box-align: center;
660
+ -ms-flex-align: center;
661
+ align-items: center;
662
+ }
663
+
664
+ .emotion-14 {
665
+ border: 0;
666
+ border-radius: 5px;
667
+ cursor: pointer;
668
+ height: 36px;
669
+ line-height: 36px;
670
+ font-weight: 500;
671
+ padding: 0 15px;
672
+ background-color: #798291;
673
+ color: #fff;
674
+ margin: 0 10px;
675
+ overflow: hidden;
676
+ white-space: nowrap;
677
+ text-overflow: ellipsis;
678
+ display: block;
679
+ background-color: #ddf5f9;
680
+ color: #117888;
681
+ }
682
+
683
+ @media (max-width: 1200px) {
684
+ .emotion-14 {
685
+ padding: 0 10px;
686
+ }
687
+ }
688
+
689
+ .emotion-16 {
690
+ border: 0;
691
+ border-radius: 5px;
692
+ cursor: pointer;
693
+ height: 36px;
694
+ line-height: 36px;
695
+ font-weight: 500;
696
+ padding: 0 15px;
697
+ background-color: #798291;
698
+ color: #fff;
699
+ margin: 0 10px;
700
+ overflow: hidden;
701
+ white-space: nowrap;
702
+ text-overflow: ellipsis;
703
+ display: block;
704
+ background-color: #fcefea;
705
+ color: #D60032;
706
+ }
707
+
708
+ @media (max-width: 1200px) {
709
+ .emotion-16 {
710
+ padding: 0 10px;
711
+ }
712
+ }
713
+
714
+ .emotion-18 {
715
+ display: -webkit-box;
716
+ display: -webkit-flex;
717
+ display: -ms-flexbox;
718
+ display: flex;
719
+ -webkit-align-items: center;
720
+ -webkit-box-align: center;
721
+ -ms-flex-align: center;
722
+ align-items: center;
723
+ -webkit-box-pack: end;
724
+ -ms-flex-pack: end;
725
+ -webkit-justify-content: flex-end;
726
+ justify-content: flex-end;
727
+ }
728
+
729
+ .emotion-20 {
730
+ height: 100%;
731
+ display: -webkit-box;
732
+ display: -webkit-flex;
733
+ display: -ms-flexbox;
734
+ display: flex;
735
+ -webkit-align-items: center;
736
+ -webkit-box-align: center;
737
+ -ms-flex-align: center;
738
+ align-items: center;
739
+ border: 0 solid #dfdfe3;
740
+ border-left-width: 1px;
741
+ padding: 0 7px;
742
+ }
743
+
744
+ <div
745
+ class="emotion-0 emotion-1"
746
+ >
747
+ <mock-link
748
+ class="emotion-2 emotion-3"
749
+ to=""
750
+ >
751
+ <div
752
+ class="emotion-4 emotion-5"
753
+ >
754
+
755
+ </div>
756
+ <div>
757
+ <div
758
+ class="emotion-6 emotion-7"
759
+ >
760
+ editor.editorToolbar.backCollection
761
+ </div>
762
+ <div
763
+ class="emotion-8 emotion-9"
764
+ >
765
+ editor.editorToolbar.changesSaved
766
+ </div>
767
+ </div>
768
+ </mock-link>
769
+ <div
770
+ class="emotion-10 emotion-11"
771
+ >
772
+ <div
773
+ class="emotion-12 emotion-13"
774
+ >
775
+ <button
776
+ class="emotion-14 emotion-15"
777
+ >
778
+ editor.editorToolbar.published
779
+ </button>
780
+ <div>
781
+ <button
782
+ class="emotion-16 emotion-17"
783
+ >
784
+ editor.editorToolbar.deleteEntry
785
+ </button>
786
+ </div>
787
+ </div>
788
+ <div
789
+ class="emotion-18 emotion-19"
790
+ />
791
+ </div>
792
+ <div
793
+ class="emotion-20 emotion-21"
794
+ >
795
+ <mock-settings-dropdown />
796
+ </div>
797
+ </div>
798
+ </DocumentFragment>
799
+ `;
800
+
801
+ exports[`EditorToolbar should render with status=draft,useOpenAuthoring=false 1`] = `
802
+ <DocumentFragment>
803
+ .emotion-0 {
804
+ box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
805
+ position: absolute;
806
+ top: 0;
807
+ left: 0;
808
+ width: 100%;
809
+ min-width: 800px;
810
+ z-index: 300;
811
+ background-color: #fff;
812
+ height: 66px;
813
+ display: -webkit-box;
814
+ display: -webkit-flex;
815
+ display: -ms-flexbox;
816
+ display: flex;
817
+ -webkit-box-pack: justify;
818
+ -webkit-justify-content: space-between;
819
+ justify-content: space-between;
820
+ }
821
+
822
+ .emotion-2 {
823
+ height: 100%;
824
+ display: -webkit-box;
825
+ display: -webkit-flex;
826
+ display: -ms-flexbox;
827
+ display: flex;
828
+ -webkit-align-items: center;
829
+ -webkit-box-align: center;
830
+ -ms-flex-align: center;
831
+ align-items: center;
832
+ border: 0 solid #dfdfe3;
833
+ border-right-width: 1px;
834
+ font-weight: normal;
835
+ padding: 0 20px;
836
+ }
837
+
838
+ .emotion-2:hover,
839
+ .emotion-2:focus {
840
+ background-color: #f1f2f4;
841
+ }
842
+
843
+ .emotion-4 {
844
+ color: #313d3e;
845
+ font-size: 21px;
846
+ font-weight: 600;
847
+ margin-right: 16px;
848
+ }
849
+
850
+ .emotion-6 {
851
+ color: #313d3e;
852
+ font-size: 14px;
853
+ }
854
+
855
+ .emotion-8 {
856
+ margin-top: 6px;
857
+ font-size: 13px;
858
+ line-height: 1;
859
+ display: inline-block;
860
+ font-weight: 700;
861
+ text-transform: uppercase;
862
+ color: #005614;
863
+ }
864
+
865
+ .emotion-10 {
866
+ height: 100%;
867
+ display: -webkit-box;
868
+ display: -webkit-flex;
869
+ display: -ms-flexbox;
870
+ display: flex;
871
+ -webkit-align-items: center;
872
+ -webkit-box-align: center;
873
+ -ms-flex-align: center;
874
+ align-items: center;
875
+ border: 0 solid #dfdfe3;
876
+ -webkit-flex: 10;
877
+ -ms-flex: 10;
878
+ flex: 10;
879
+ display: -webkit-box;
880
+ display: -webkit-flex;
881
+ display: -ms-flexbox;
882
+ display: flex;
883
+ -webkit-box-pack: justify;
884
+ -webkit-justify-content: space-between;
885
+ justify-content: space-between;
886
+ padding: 0 10px;
887
+ }
888
+
889
+ .emotion-12 {
890
+ display: -webkit-box;
891
+ display: -webkit-flex;
892
+ display: -ms-flexbox;
893
+ display: flex;
894
+ -webkit-align-items: center;
895
+ -webkit-box-align: center;
896
+ -ms-flex-align: center;
897
+ align-items: center;
898
+ }
899
+
900
+ .emotion-14 {
901
+ border: 0;
902
+ border-radius: 5px;
903
+ cursor: pointer;
904
+ height: 36px;
905
+ line-height: 36px;
906
+ font-weight: 500;
907
+ padding: 0 15px;
908
+ background-color: #798291;
909
+ color: #fff;
910
+ margin: 0 10px;
911
+ overflow: hidden;
912
+ white-space: nowrap;
913
+ text-overflow: ellipsis;
914
+ display: block;
915
+ background-color: #e8f5fe;
916
+ color: #3a69c7;
917
+ }
918
+
919
+ @media (max-width: 1200px) {
920
+ .emotion-14 {
921
+ padding: 0 10px;
922
+ }
923
+ }
924
+
925
+ .emotion-14[disabled] {
926
+ background-color: #eff0f4;
927
+ color: #798291;
928
+ cursor: default;
929
+ }
930
+
931
+ .emotion-17 {
932
+ position: relative;
933
+ font-size: 14px;
934
+ -webkit-user-select: none;
935
+ -moz-user-select: none;
936
+ -ms-user-select: none;
937
+ user-select: none;
938
+ touch-action: manipulation;
939
+ margin: 0 10px;
940
+ }
941
+
942
+ .emotion-17 .e1jeq5dr0 {
943
+ color: #17a2b8;
944
+ }
945
+
946
+ .emotion-19 {
947
+ border: 0;
948
+ border-radius: 5px;
949
+ cursor: pointer;
950
+ height: 36px;
951
+ line-height: 36px;
952
+ font-weight: 500;
953
+ padding: 0 15px;
954
+ background-color: #798291;
955
+ color: #fff;
956
+ display: block;
957
+ padding-left: 20px;
958
+ padding-right: 40px;
959
+ position: relative;
960
+ white-space: nowrap;
961
+ overflow: hidden;
962
+ white-space: nowrap;
963
+ text-overflow: ellipsis;
964
+ background-color: #ddf5f9;
965
+ color: #17a2b8;
966
+ }
967
+
968
+ .emotion-19:after {
969
+ color: #fff;
970
+ width: 0;
971
+ height: 0;
972
+ border: 5px solid transparent;
973
+ border-radius: 2px;
974
+ border-top: 6px solid currentColor;
975
+ border-bottom: 0;
976
+ content: '';
977
+ display: block;
978
+ position: absolute;
979
+ top: 16px;
980
+ right: 10px;
981
+ color: currentColor;
982
+ }
983
+
984
+ @media (max-width: 1200px) {
985
+ .emotion-19 {
986
+ padding-left: 10px;
987
+ }
988
+ }
989
+
990
+ .emotion-21 {
991
+ border: 0;
992
+ border-radius: 5px;
993
+ cursor: pointer;
994
+ height: 36px;
995
+ line-height: 36px;
996
+ font-weight: 500;
997
+ padding: 0 15px;
998
+ background-color: #798291;
999
+ color: #fff;
1000
+ margin: 0 10px;
1001
+ overflow: hidden;
1002
+ white-space: nowrap;
1003
+ text-overflow: ellipsis;
1004
+ display: block;
1005
+ background-color: #fcefea;
1006
+ color: #D60032;
1007
+ }
1008
+
1009
+ @media (max-width: 1200px) {
1010
+ .emotion-21 {
1011
+ padding: 0 10px;
1012
+ }
1013
+ }
1014
+
1015
+ .emotion-23 {
1016
+ display: -webkit-box;
1017
+ display: -webkit-flex;
1018
+ display: -ms-flexbox;
1019
+ display: flex;
1020
+ -webkit-align-items: center;
1021
+ -webkit-box-align: center;
1022
+ -ms-flex-align: center;
1023
+ align-items: center;
1024
+ -webkit-box-pack: end;
1025
+ -ms-flex-pack: end;
1026
+ -webkit-justify-content: flex-end;
1027
+ justify-content: flex-end;
1028
+ }
1029
+
1030
+ .emotion-25 {
1031
+ height: 100%;
1032
+ display: -webkit-box;
1033
+ display: -webkit-flex;
1034
+ display: -ms-flexbox;
1035
+ display: flex;
1036
+ -webkit-align-items: center;
1037
+ -webkit-box-align: center;
1038
+ -ms-flex-align: center;
1039
+ align-items: center;
1040
+ border: 0 solid #dfdfe3;
1041
+ border-left-width: 1px;
1042
+ padding: 0 7px;
1043
+ }
1044
+
1045
+ <div
1046
+ class="emotion-0 emotion-1"
1047
+ >
1048
+ <mock-link
1049
+ class="emotion-2 emotion-3"
1050
+ to=""
1051
+ >
1052
+ <div
1053
+ class="emotion-4 emotion-5"
1054
+ >
1055
+
1056
+ </div>
1057
+ <div>
1058
+ <div
1059
+ class="emotion-6 emotion-7"
1060
+ >
1061
+ editor.editorToolbar.backCollection
1062
+ </div>
1063
+ <div
1064
+ class="emotion-8 emotion-9"
1065
+ >
1066
+ editor.editorToolbar.changesSaved
1067
+ </div>
1068
+ </div>
1069
+ </mock-link>
1070
+ <div
1071
+ class="emotion-10 emotion-11"
1072
+ >
1073
+ <div
1074
+ class="emotion-12 emotion-13"
1075
+ >
1076
+ <button
1077
+ class="emotion-14 emotion-15"
1078
+ disabled=""
1079
+ >
1080
+ editor.editorToolbar.save
1081
+ </button>
1082
+ <div
1083
+ class="emotion-16 emotion-17 emotion-18"
1084
+ >
1085
+ <div>
1086
+ <span
1087
+ aria-expanded="false"
1088
+ aria-haspopup="true"
1089
+ class="emotion-19 emotion-20"
1090
+ role="button"
1091
+ tabindex="0"
1092
+ >
1093
+ editor.editorToolbar.status
1094
+ </span>
1095
+ </div>
1096
+ </div>
1097
+ <button
1098
+ class="emotion-21 emotion-22"
1099
+ >
1100
+ editor.editorToolbar.deletePublishedEntry
1101
+ </button>
1102
+ </div>
1103
+ <div
1104
+ class="emotion-23 emotion-24"
1105
+ />
1106
+ </div>
1107
+ <div
1108
+ class="emotion-25 emotion-26"
1109
+ >
1110
+ <mock-settings-dropdown />
1111
+ </div>
1112
+ </div>
1113
+ </DocumentFragment>
1114
+ `;
1115
+
1116
+ exports[`EditorToolbar should render with status=draft,useOpenAuthoring=true 1`] = `
1117
+ <DocumentFragment>
1118
+ .emotion-0 {
1119
+ box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
1120
+ position: absolute;
1121
+ top: 0;
1122
+ left: 0;
1123
+ width: 100%;
1124
+ min-width: 800px;
1125
+ z-index: 300;
1126
+ background-color: #fff;
1127
+ height: 66px;
1128
+ display: -webkit-box;
1129
+ display: -webkit-flex;
1130
+ display: -ms-flexbox;
1131
+ display: flex;
1132
+ -webkit-box-pack: justify;
1133
+ -webkit-justify-content: space-between;
1134
+ justify-content: space-between;
1135
+ }
1136
+
1137
+ .emotion-2 {
1138
+ height: 100%;
1139
+ display: -webkit-box;
1140
+ display: -webkit-flex;
1141
+ display: -ms-flexbox;
1142
+ display: flex;
1143
+ -webkit-align-items: center;
1144
+ -webkit-box-align: center;
1145
+ -ms-flex-align: center;
1146
+ align-items: center;
1147
+ border: 0 solid #dfdfe3;
1148
+ border-right-width: 1px;
1149
+ font-weight: normal;
1150
+ padding: 0 20px;
1151
+ }
1152
+
1153
+ .emotion-2:hover,
1154
+ .emotion-2:focus {
1155
+ background-color: #f1f2f4;
1156
+ }
1157
+
1158
+ .emotion-4 {
1159
+ color: #313d3e;
1160
+ font-size: 21px;
1161
+ font-weight: 600;
1162
+ margin-right: 16px;
1163
+ }
1164
+
1165
+ .emotion-6 {
1166
+ color: #313d3e;
1167
+ font-size: 14px;
1168
+ }
1169
+
1170
+ .emotion-8 {
1171
+ margin-top: 6px;
1172
+ font-size: 13px;
1173
+ line-height: 1;
1174
+ display: inline-block;
1175
+ font-weight: 700;
1176
+ text-transform: uppercase;
1177
+ color: #005614;
1178
+ }
1179
+
1180
+ .emotion-10 {
1181
+ height: 100%;
1182
+ display: -webkit-box;
1183
+ display: -webkit-flex;
1184
+ display: -ms-flexbox;
1185
+ display: flex;
1186
+ -webkit-align-items: center;
1187
+ -webkit-box-align: center;
1188
+ -ms-flex-align: center;
1189
+ align-items: center;
1190
+ border: 0 solid #dfdfe3;
1191
+ -webkit-flex: 10;
1192
+ -ms-flex: 10;
1193
+ flex: 10;
1194
+ display: -webkit-box;
1195
+ display: -webkit-flex;
1196
+ display: -ms-flexbox;
1197
+ display: flex;
1198
+ -webkit-box-pack: justify;
1199
+ -webkit-justify-content: space-between;
1200
+ justify-content: space-between;
1201
+ padding: 0 10px;
1202
+ }
1203
+
1204
+ .emotion-12 {
1205
+ display: -webkit-box;
1206
+ display: -webkit-flex;
1207
+ display: -ms-flexbox;
1208
+ display: flex;
1209
+ -webkit-align-items: center;
1210
+ -webkit-box-align: center;
1211
+ -ms-flex-align: center;
1212
+ align-items: center;
1213
+ }
1214
+
1215
+ .emotion-14 {
1216
+ border: 0;
1217
+ border-radius: 5px;
1218
+ cursor: pointer;
1219
+ height: 36px;
1220
+ line-height: 36px;
1221
+ font-weight: 500;
1222
+ padding: 0 15px;
1223
+ background-color: #798291;
1224
+ color: #fff;
1225
+ margin: 0 10px;
1226
+ overflow: hidden;
1227
+ white-space: nowrap;
1228
+ text-overflow: ellipsis;
1229
+ display: block;
1230
+ background-color: #e8f5fe;
1231
+ color: #3a69c7;
1232
+ }
1233
+
1234
+ @media (max-width: 1200px) {
1235
+ .emotion-14 {
1236
+ padding: 0 10px;
1237
+ }
1238
+ }
1239
+
1240
+ .emotion-14[disabled] {
1241
+ background-color: #eff0f4;
1242
+ color: #798291;
1243
+ cursor: default;
1244
+ }
1245
+
1246
+ .emotion-17 {
1247
+ position: relative;
1248
+ font-size: 14px;
1249
+ -webkit-user-select: none;
1250
+ -moz-user-select: none;
1251
+ -ms-user-select: none;
1252
+ user-select: none;
1253
+ touch-action: manipulation;
1254
+ margin: 0 10px;
1255
+ }
1256
+
1257
+ .emotion-17 .emotion-25 {
1258
+ color: #17a2b8;
1259
+ }
1260
+
1261
+ .emotion-19 {
1262
+ border: 0;
1263
+ border-radius: 5px;
1264
+ cursor: pointer;
1265
+ height: 36px;
1266
+ line-height: 36px;
1267
+ font-weight: 500;
1268
+ padding: 0 15px;
1269
+ background-color: #798291;
1270
+ color: #fff;
1271
+ display: block;
1272
+ padding-left: 20px;
1273
+ padding-right: 40px;
1274
+ position: relative;
1275
+ white-space: nowrap;
1276
+ overflow: hidden;
1277
+ white-space: nowrap;
1278
+ text-overflow: ellipsis;
1279
+ background-color: #ddf5f9;
1280
+ color: #17a2b8;
1281
+ }
1282
+
1283
+ .emotion-19:after {
1284
+ color: #fff;
1285
+ width: 0;
1286
+ height: 0;
1287
+ border: 5px solid transparent;
1288
+ border-radius: 2px;
1289
+ border-top: 6px solid currentColor;
1290
+ border-bottom: 0;
1291
+ content: '';
1292
+ display: block;
1293
+ position: absolute;
1294
+ top: 16px;
1295
+ right: 10px;
1296
+ color: currentColor;
1297
+ }
1298
+
1299
+ @media (max-width: 1200px) {
1300
+ .emotion-19 {
1301
+ padding-left: 10px;
1302
+ }
1303
+ }
1304
+
1305
+ .emotion-21 {
1306
+ position: relative;
1307
+ }
1308
+
1309
+ .emotion-23 {
1310
+ position: relative;
1311
+ display: inline-block;
1312
+ }
1313
+
1314
+ .emotion-23:hover+.emotion-29 {
1315
+ visibility: visible;
1316
+ opacity: 0.9;
1317
+ }
1318
+
1319
+ .emotion-26 {
1320
+ display: inline-block;
1321
+ line-height: 0;
1322
+ width: 18px;
1323
+ height: 18px;
1324
+ -webkit-transform: rotate(0deg);
1325
+ -moz-transform: rotate(0deg);
1326
+ -ms-transform: rotate(0deg);
1327
+ transform: rotate(0deg);
1328
+ }
1329
+
1330
+ .emotion-26 path:not(.no-fill),
1331
+ .emotion-26 circle:not(.no-fill),
1332
+ .emotion-26 polygon:not(.no-fill),
1333
+ .emotion-26 rect:not(.no-fill) {
1334
+ fill: currentColor;
1335
+ }
1336
+
1337
+ .emotion-26 path.clipped {
1338
+ fill: transparent;
1339
+ }
1340
+
1341
+ .emotion-26 svg {
1342
+ width: 100%;
1343
+ height: 100%;
1344
+ }
1345
+
1346
+ .emotion-28 {
1347
+ visibility: hidden;
1348
+ width: 321px;
1349
+ background-color: #555;
1350
+ color: #fff;
1351
+ text-align: unset;
1352
+ border-radius: 6px;
1353
+ padding: 5px;
1354
+ position: absolute;
1355
+ z-index: 1;
1356
+ top: 145%;
1357
+ left: 50%;
1358
+ margin-left: -320px;
1359
+ opacity: 0;
1360
+ -webkit-transition: opacity 0.3s;
1361
+ transition: opacity 0.3s;
1362
+ }
1363
+
1364
+ .emotion-30 {
1365
+ display: -webkit-box;
1366
+ display: -webkit-flex;
1367
+ display: -ms-flexbox;
1368
+ display: flex;
1369
+ -webkit-align-items: center;
1370
+ -webkit-box-align: center;
1371
+ -ms-flex-align: center;
1372
+ align-items: center;
1373
+ -webkit-box-pack: end;
1374
+ -ms-flex-pack: end;
1375
+ -webkit-justify-content: flex-end;
1376
+ justify-content: flex-end;
1377
+ }
1378
+
1379
+ .emotion-32 {
1380
+ height: 100%;
1381
+ display: -webkit-box;
1382
+ display: -webkit-flex;
1383
+ display: -ms-flexbox;
1384
+ display: flex;
1385
+ -webkit-align-items: center;
1386
+ -webkit-box-align: center;
1387
+ -ms-flex-align: center;
1388
+ align-items: center;
1389
+ border: 0 solid #dfdfe3;
1390
+ border-left-width: 1px;
1391
+ padding: 0 7px;
1392
+ }
1393
+
1394
+ <div
1395
+ class="emotion-0 emotion-1"
1396
+ >
1397
+ <mock-link
1398
+ class="emotion-2 emotion-3"
1399
+ to=""
1400
+ >
1401
+ <div
1402
+ class="emotion-4 emotion-5"
1403
+ >
1404
+
1405
+ </div>
1406
+ <div>
1407
+ <div
1408
+ class="emotion-6 emotion-7"
1409
+ >
1410
+ editor.editorToolbar.backCollection
1411
+ </div>
1412
+ <div
1413
+ class="emotion-8 emotion-9"
1414
+ >
1415
+ editor.editorToolbar.changesSaved
1416
+ </div>
1417
+ </div>
1418
+ </mock-link>
1419
+ <div
1420
+ class="emotion-10 emotion-11"
1421
+ >
1422
+ <div
1423
+ class="emotion-12 emotion-13"
1424
+ >
1425
+ <button
1426
+ class="emotion-14 emotion-15"
1427
+ disabled=""
1428
+ >
1429
+ editor.editorToolbar.save
1430
+ </button>
1431
+ <div
1432
+ class="emotion-16 emotion-17 emotion-18"
1433
+ >
1434
+ <div>
1435
+ <span
1436
+ aria-expanded="false"
1437
+ aria-haspopup="true"
1438
+ class="emotion-19 emotion-20"
1439
+ role="button"
1440
+ tabindex="0"
1441
+ >
1442
+ editor.editorToolbar.status
1443
+ </span>
1444
+ </div>
1445
+ </div>
1446
+ <div
1447
+ class="emotion-21 emotion-22"
1448
+ >
1449
+ <div
1450
+ class="emotion-23 emotion-24"
1451
+ >
1452
+ <span
1453
+ class="tooltip emotion-25 emotion-26 emotion-27"
1454
+ >
1455
+ <svg
1456
+ class="bi bi-info-circle"
1457
+ fill="currentColor"
1458
+ height="16"
1459
+ viewBox="0 0 16 16"
1460
+ width="16"
1461
+ xmlns="http://www.w3.org/2000/svg"
1462
+ >
1463
+ <path
1464
+ d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"
1465
+ />
1466
+ <path
1467
+ d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"
1468
+ />
1469
+ </svg>
1470
+ </span>
1471
+ </div>
1472
+ <div
1473
+ class="emotion-28 emotion-29"
1474
+ >
1475
+ editor.editorToolbar.statusInfoTooltipDraft
1476
+ </div>
1477
+ </div>
1478
+ </div>
1479
+ <div
1480
+ class="emotion-30 emotion-31"
1481
+ />
1482
+ </div>
1483
+ <div
1484
+ class="emotion-32 emotion-33"
1485
+ >
1486
+ <mock-settings-dropdown />
1487
+ </div>
1488
+ </div>
1489
+ </DocumentFragment>
1490
+ `;
1491
+
1492
+ exports[`EditorToolbar should render with status=pending_publish,useOpenAuthoring=false 1`] = `
1493
+ <DocumentFragment>
1494
+ .emotion-0 {
1495
+ box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
1496
+ position: absolute;
1497
+ top: 0;
1498
+ left: 0;
1499
+ width: 100%;
1500
+ min-width: 800px;
1501
+ z-index: 300;
1502
+ background-color: #fff;
1503
+ height: 66px;
1504
+ display: -webkit-box;
1505
+ display: -webkit-flex;
1506
+ display: -ms-flexbox;
1507
+ display: flex;
1508
+ -webkit-box-pack: justify;
1509
+ -webkit-justify-content: space-between;
1510
+ justify-content: space-between;
1511
+ }
1512
+
1513
+ .emotion-2 {
1514
+ height: 100%;
1515
+ display: -webkit-box;
1516
+ display: -webkit-flex;
1517
+ display: -ms-flexbox;
1518
+ display: flex;
1519
+ -webkit-align-items: center;
1520
+ -webkit-box-align: center;
1521
+ -ms-flex-align: center;
1522
+ align-items: center;
1523
+ border: 0 solid #dfdfe3;
1524
+ border-right-width: 1px;
1525
+ font-weight: normal;
1526
+ padding: 0 20px;
1527
+ }
1528
+
1529
+ .emotion-2:hover,
1530
+ .emotion-2:focus {
1531
+ background-color: #f1f2f4;
1532
+ }
1533
+
1534
+ .emotion-4 {
1535
+ color: #313d3e;
1536
+ font-size: 21px;
1537
+ font-weight: 600;
1538
+ margin-right: 16px;
1539
+ }
1540
+
1541
+ .emotion-6 {
1542
+ color: #313d3e;
1543
+ font-size: 14px;
1544
+ }
1545
+
1546
+ .emotion-8 {
1547
+ margin-top: 6px;
1548
+ font-size: 13px;
1549
+ line-height: 1;
1550
+ display: inline-block;
1551
+ font-weight: 700;
1552
+ text-transform: uppercase;
1553
+ color: #005614;
1554
+ }
1555
+
1556
+ .emotion-10 {
1557
+ height: 100%;
1558
+ display: -webkit-box;
1559
+ display: -webkit-flex;
1560
+ display: -ms-flexbox;
1561
+ display: flex;
1562
+ -webkit-align-items: center;
1563
+ -webkit-box-align: center;
1564
+ -ms-flex-align: center;
1565
+ align-items: center;
1566
+ border: 0 solid #dfdfe3;
1567
+ -webkit-flex: 10;
1568
+ -ms-flex: 10;
1569
+ flex: 10;
1570
+ display: -webkit-box;
1571
+ display: -webkit-flex;
1572
+ display: -ms-flexbox;
1573
+ display: flex;
1574
+ -webkit-box-pack: justify;
1575
+ -webkit-justify-content: space-between;
1576
+ justify-content: space-between;
1577
+ padding: 0 10px;
1578
+ }
1579
+
1580
+ .emotion-12 {
1581
+ display: -webkit-box;
1582
+ display: -webkit-flex;
1583
+ display: -ms-flexbox;
1584
+ display: flex;
1585
+ -webkit-align-items: center;
1586
+ -webkit-box-align: center;
1587
+ -ms-flex-align: center;
1588
+ align-items: center;
1589
+ }
1590
+
1591
+ .emotion-14 {
1592
+ border: 0;
1593
+ border-radius: 5px;
1594
+ cursor: pointer;
1595
+ height: 36px;
1596
+ line-height: 36px;
1597
+ font-weight: 500;
1598
+ padding: 0 15px;
1599
+ background-color: #798291;
1600
+ color: #fff;
1601
+ margin: 0 10px;
1602
+ overflow: hidden;
1603
+ white-space: nowrap;
1604
+ text-overflow: ellipsis;
1605
+ display: block;
1606
+ background-color: #e8f5fe;
1607
+ color: #3a69c7;
1608
+ }
1609
+
1610
+ @media (max-width: 1200px) {
1611
+ .emotion-14 {
1612
+ padding: 0 10px;
1613
+ }
1614
+ }
1615
+
1616
+ .emotion-14[disabled] {
1617
+ background-color: #eff0f4;
1618
+ color: #798291;
1619
+ cursor: default;
1620
+ }
1621
+
1622
+ .emotion-17 {
1623
+ position: relative;
1624
+ font-size: 14px;
1625
+ -webkit-user-select: none;
1626
+ -moz-user-select: none;
1627
+ -ms-user-select: none;
1628
+ user-select: none;
1629
+ touch-action: manipulation;
1630
+ margin: 0 10px;
1631
+ }
1632
+
1633
+ .emotion-17 .e1jeq5dr0 {
1634
+ color: #17a2b8;
1635
+ }
1636
+
1637
+ .emotion-19 {
1638
+ border: 0;
1639
+ border-radius: 5px;
1640
+ cursor: pointer;
1641
+ height: 36px;
1642
+ line-height: 36px;
1643
+ font-weight: 500;
1644
+ padding: 0 15px;
1645
+ background-color: #798291;
1646
+ color: #fff;
1647
+ display: block;
1648
+ padding-left: 20px;
1649
+ padding-right: 40px;
1650
+ position: relative;
1651
+ white-space: nowrap;
1652
+ overflow: hidden;
1653
+ white-space: nowrap;
1654
+ text-overflow: ellipsis;
1655
+ background-color: #ddf5f9;
1656
+ color: #17a2b8;
1657
+ }
1658
+
1659
+ .emotion-19:after {
1660
+ color: #fff;
1661
+ width: 0;
1662
+ height: 0;
1663
+ border: 5px solid transparent;
1664
+ border-radius: 2px;
1665
+ border-top: 6px solid currentColor;
1666
+ border-bottom: 0;
1667
+ content: '';
1668
+ display: block;
1669
+ position: absolute;
1670
+ top: 16px;
1671
+ right: 10px;
1672
+ color: currentColor;
1673
+ }
1674
+
1675
+ @media (max-width: 1200px) {
1676
+ .emotion-19 {
1677
+ padding-left: 10px;
1678
+ }
1679
+ }
1680
+
1681
+ .emotion-21 {
1682
+ border: 0;
1683
+ border-radius: 5px;
1684
+ cursor: pointer;
1685
+ height: 36px;
1686
+ line-height: 36px;
1687
+ font-weight: 500;
1688
+ padding: 0 15px;
1689
+ background-color: #798291;
1690
+ color: #fff;
1691
+ margin: 0 10px;
1692
+ overflow: hidden;
1693
+ white-space: nowrap;
1694
+ text-overflow: ellipsis;
1695
+ display: block;
1696
+ background-color: #fcefea;
1697
+ color: #D60032;
1698
+ }
1699
+
1700
+ @media (max-width: 1200px) {
1701
+ .emotion-21 {
1702
+ padding: 0 10px;
1703
+ }
1704
+ }
1705
+
1706
+ .emotion-23 {
1707
+ display: -webkit-box;
1708
+ display: -webkit-flex;
1709
+ display: -ms-flexbox;
1710
+ display: flex;
1711
+ -webkit-align-items: center;
1712
+ -webkit-box-align: center;
1713
+ -ms-flex-align: center;
1714
+ align-items: center;
1715
+ -webkit-box-pack: end;
1716
+ -ms-flex-pack: end;
1717
+ -webkit-justify-content: flex-end;
1718
+ justify-content: flex-end;
1719
+ }
1720
+
1721
+ .emotion-25 {
1722
+ height: 100%;
1723
+ display: -webkit-box;
1724
+ display: -webkit-flex;
1725
+ display: -ms-flexbox;
1726
+ display: flex;
1727
+ -webkit-align-items: center;
1728
+ -webkit-box-align: center;
1729
+ -ms-flex-align: center;
1730
+ align-items: center;
1731
+ border: 0 solid #dfdfe3;
1732
+ border-left-width: 1px;
1733
+ padding: 0 7px;
1734
+ }
1735
+
1736
+ <div
1737
+ class="emotion-0 emotion-1"
1738
+ >
1739
+ <mock-link
1740
+ class="emotion-2 emotion-3"
1741
+ to=""
1742
+ >
1743
+ <div
1744
+ class="emotion-4 emotion-5"
1745
+ >
1746
+
1747
+ </div>
1748
+ <div>
1749
+ <div
1750
+ class="emotion-6 emotion-7"
1751
+ >
1752
+ editor.editorToolbar.backCollection
1753
+ </div>
1754
+ <div
1755
+ class="emotion-8 emotion-9"
1756
+ >
1757
+ editor.editorToolbar.changesSaved
1758
+ </div>
1759
+ </div>
1760
+ </mock-link>
1761
+ <div
1762
+ class="emotion-10 emotion-11"
1763
+ >
1764
+ <div
1765
+ class="emotion-12 emotion-13"
1766
+ >
1767
+ <button
1768
+ class="emotion-14 emotion-15"
1769
+ disabled=""
1770
+ >
1771
+ editor.editorToolbar.save
1772
+ </button>
1773
+ <div
1774
+ class="emotion-16 emotion-17 emotion-18"
1775
+ >
1776
+ <div>
1777
+ <span
1778
+ aria-expanded="false"
1779
+ aria-haspopup="true"
1780
+ class="emotion-19 emotion-20"
1781
+ role="button"
1782
+ tabindex="0"
1783
+ >
1784
+ editor.editorToolbar.status
1785
+ </span>
1786
+ </div>
1787
+ </div>
1788
+ <button
1789
+ class="emotion-21 emotion-22"
1790
+ >
1791
+ editor.editorToolbar.deletePublishedEntry
1792
+ </button>
1793
+ </div>
1794
+ <div
1795
+ class="emotion-23 emotion-24"
1796
+ />
1797
+ </div>
1798
+ <div
1799
+ class="emotion-25 emotion-26"
1800
+ >
1801
+ <mock-settings-dropdown />
1802
+ </div>
1803
+ </div>
1804
+ </DocumentFragment>
1805
+ `;
1806
+
1807
+ exports[`EditorToolbar should render with status=pending_publish,useOpenAuthoring=true 1`] = `
1808
+ <DocumentFragment>
1809
+ .emotion-0 {
1810
+ box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
1811
+ position: absolute;
1812
+ top: 0;
1813
+ left: 0;
1814
+ width: 100%;
1815
+ min-width: 800px;
1816
+ z-index: 300;
1817
+ background-color: #fff;
1818
+ height: 66px;
1819
+ display: -webkit-box;
1820
+ display: -webkit-flex;
1821
+ display: -ms-flexbox;
1822
+ display: flex;
1823
+ -webkit-box-pack: justify;
1824
+ -webkit-justify-content: space-between;
1825
+ justify-content: space-between;
1826
+ }
1827
+
1828
+ .emotion-2 {
1829
+ height: 100%;
1830
+ display: -webkit-box;
1831
+ display: -webkit-flex;
1832
+ display: -ms-flexbox;
1833
+ display: flex;
1834
+ -webkit-align-items: center;
1835
+ -webkit-box-align: center;
1836
+ -ms-flex-align: center;
1837
+ align-items: center;
1838
+ border: 0 solid #dfdfe3;
1839
+ border-right-width: 1px;
1840
+ font-weight: normal;
1841
+ padding: 0 20px;
1842
+ }
1843
+
1844
+ .emotion-2:hover,
1845
+ .emotion-2:focus {
1846
+ background-color: #f1f2f4;
1847
+ }
1848
+
1849
+ .emotion-4 {
1850
+ color: #313d3e;
1851
+ font-size: 21px;
1852
+ font-weight: 600;
1853
+ margin-right: 16px;
1854
+ }
1855
+
1856
+ .emotion-6 {
1857
+ color: #313d3e;
1858
+ font-size: 14px;
1859
+ }
1860
+
1861
+ .emotion-8 {
1862
+ margin-top: 6px;
1863
+ font-size: 13px;
1864
+ line-height: 1;
1865
+ display: inline-block;
1866
+ font-weight: 700;
1867
+ text-transform: uppercase;
1868
+ color: #005614;
1869
+ }
1870
+
1871
+ .emotion-10 {
1872
+ height: 100%;
1873
+ display: -webkit-box;
1874
+ display: -webkit-flex;
1875
+ display: -ms-flexbox;
1876
+ display: flex;
1877
+ -webkit-align-items: center;
1878
+ -webkit-box-align: center;
1879
+ -ms-flex-align: center;
1880
+ align-items: center;
1881
+ border: 0 solid #dfdfe3;
1882
+ -webkit-flex: 10;
1883
+ -ms-flex: 10;
1884
+ flex: 10;
1885
+ display: -webkit-box;
1886
+ display: -webkit-flex;
1887
+ display: -ms-flexbox;
1888
+ display: flex;
1889
+ -webkit-box-pack: justify;
1890
+ -webkit-justify-content: space-between;
1891
+ justify-content: space-between;
1892
+ padding: 0 10px;
1893
+ }
1894
+
1895
+ .emotion-12 {
1896
+ display: -webkit-box;
1897
+ display: -webkit-flex;
1898
+ display: -ms-flexbox;
1899
+ display: flex;
1900
+ -webkit-align-items: center;
1901
+ -webkit-box-align: center;
1902
+ -ms-flex-align: center;
1903
+ align-items: center;
1904
+ }
1905
+
1906
+ .emotion-14 {
1907
+ border: 0;
1908
+ border-radius: 5px;
1909
+ cursor: pointer;
1910
+ height: 36px;
1911
+ line-height: 36px;
1912
+ font-weight: 500;
1913
+ padding: 0 15px;
1914
+ background-color: #798291;
1915
+ color: #fff;
1916
+ margin: 0 10px;
1917
+ overflow: hidden;
1918
+ white-space: nowrap;
1919
+ text-overflow: ellipsis;
1920
+ display: block;
1921
+ background-color: #e8f5fe;
1922
+ color: #3a69c7;
1923
+ }
1924
+
1925
+ @media (max-width: 1200px) {
1926
+ .emotion-14 {
1927
+ padding: 0 10px;
1928
+ }
1929
+ }
1930
+
1931
+ .emotion-14[disabled] {
1932
+ background-color: #eff0f4;
1933
+ color: #798291;
1934
+ cursor: default;
1935
+ }
1936
+
1937
+ .emotion-17 {
1938
+ position: relative;
1939
+ font-size: 14px;
1940
+ -webkit-user-select: none;
1941
+ -moz-user-select: none;
1942
+ -ms-user-select: none;
1943
+ user-select: none;
1944
+ touch-action: manipulation;
1945
+ margin: 0 10px;
1946
+ }
1947
+
1948
+ .emotion-17 .emotion-25 {
1949
+ color: #17a2b8;
1950
+ }
1951
+
1952
+ .emotion-19 {
1953
+ border: 0;
1954
+ border-radius: 5px;
1955
+ cursor: pointer;
1956
+ height: 36px;
1957
+ line-height: 36px;
1958
+ font-weight: 500;
1959
+ padding: 0 15px;
1960
+ background-color: #798291;
1961
+ color: #fff;
1962
+ display: block;
1963
+ padding-left: 20px;
1964
+ padding-right: 40px;
1965
+ position: relative;
1966
+ white-space: nowrap;
1967
+ overflow: hidden;
1968
+ white-space: nowrap;
1969
+ text-overflow: ellipsis;
1970
+ background-color: #ddf5f9;
1971
+ color: #17a2b8;
1972
+ }
1973
+
1974
+ .emotion-19:after {
1975
+ color: #fff;
1976
+ width: 0;
1977
+ height: 0;
1978
+ border: 5px solid transparent;
1979
+ border-radius: 2px;
1980
+ border-top: 6px solid currentColor;
1981
+ border-bottom: 0;
1982
+ content: '';
1983
+ display: block;
1984
+ position: absolute;
1985
+ top: 16px;
1986
+ right: 10px;
1987
+ color: currentColor;
1988
+ }
1989
+
1990
+ @media (max-width: 1200px) {
1991
+ .emotion-19 {
1992
+ padding-left: 10px;
1993
+ }
1994
+ }
1995
+
1996
+ .emotion-21 {
1997
+ position: relative;
1998
+ }
1999
+
2000
+ .emotion-23 {
2001
+ position: relative;
2002
+ display: inline-block;
2003
+ }
2004
+
2005
+ .emotion-23:hover+.e1d2l9mo26 {
2006
+ visibility: visible;
2007
+ opacity: 0.9;
2008
+ }
2009
+
2010
+ .emotion-26 {
2011
+ display: inline-block;
2012
+ line-height: 0;
2013
+ width: 18px;
2014
+ height: 18px;
2015
+ -webkit-transform: rotate(0deg);
2016
+ -moz-transform: rotate(0deg);
2017
+ -ms-transform: rotate(0deg);
2018
+ transform: rotate(0deg);
2019
+ }
2020
+
2021
+ .emotion-26 path:not(.no-fill),
2022
+ .emotion-26 circle:not(.no-fill),
2023
+ .emotion-26 polygon:not(.no-fill),
2024
+ .emotion-26 rect:not(.no-fill) {
2025
+ fill: currentColor;
2026
+ }
2027
+
2028
+ .emotion-26 path.clipped {
2029
+ fill: transparent;
2030
+ }
2031
+
2032
+ .emotion-26 svg {
2033
+ width: 100%;
2034
+ height: 100%;
2035
+ }
2036
+
2037
+ .emotion-28 {
2038
+ display: -webkit-box;
2039
+ display: -webkit-flex;
2040
+ display: -ms-flexbox;
2041
+ display: flex;
2042
+ -webkit-align-items: center;
2043
+ -webkit-box-align: center;
2044
+ -ms-flex-align: center;
2045
+ align-items: center;
2046
+ -webkit-box-pack: end;
2047
+ -ms-flex-pack: end;
2048
+ -webkit-justify-content: flex-end;
2049
+ justify-content: flex-end;
2050
+ }
2051
+
2052
+ .emotion-30 {
2053
+ height: 100%;
2054
+ display: -webkit-box;
2055
+ display: -webkit-flex;
2056
+ display: -ms-flexbox;
2057
+ display: flex;
2058
+ -webkit-align-items: center;
2059
+ -webkit-box-align: center;
2060
+ -ms-flex-align: center;
2061
+ align-items: center;
2062
+ border: 0 solid #dfdfe3;
2063
+ border-left-width: 1px;
2064
+ padding: 0 7px;
2065
+ }
2066
+
2067
+ <div
2068
+ class="emotion-0 emotion-1"
2069
+ >
2070
+ <mock-link
2071
+ class="emotion-2 emotion-3"
2072
+ to=""
2073
+ >
2074
+ <div
2075
+ class="emotion-4 emotion-5"
2076
+ >
2077
+
2078
+ </div>
2079
+ <div>
2080
+ <div
2081
+ class="emotion-6 emotion-7"
2082
+ >
2083
+ editor.editorToolbar.backCollection
2084
+ </div>
2085
+ <div
2086
+ class="emotion-8 emotion-9"
2087
+ >
2088
+ editor.editorToolbar.changesSaved
2089
+ </div>
2090
+ </div>
2091
+ </mock-link>
2092
+ <div
2093
+ class="emotion-10 emotion-11"
2094
+ >
2095
+ <div
2096
+ class="emotion-12 emotion-13"
2097
+ >
2098
+ <button
2099
+ class="emotion-14 emotion-15"
2100
+ disabled=""
2101
+ >
2102
+ editor.editorToolbar.save
2103
+ </button>
2104
+ <div
2105
+ class="emotion-16 emotion-17 emotion-18"
2106
+ >
2107
+ <div>
2108
+ <span
2109
+ aria-expanded="false"
2110
+ aria-haspopup="true"
2111
+ class="emotion-19 emotion-20"
2112
+ role="button"
2113
+ tabindex="0"
2114
+ >
2115
+ editor.editorToolbar.status
2116
+ </span>
2117
+ </div>
2118
+ </div>
2119
+ <div
2120
+ class="emotion-21 emotion-22"
2121
+ >
2122
+ <div
2123
+ class="emotion-23 emotion-24"
2124
+ >
2125
+ <span
2126
+ class="tooltip emotion-25 emotion-26 emotion-27"
2127
+ >
2128
+ <svg
2129
+ class="bi bi-info-circle"
2130
+ fill="currentColor"
2131
+ height="16"
2132
+ viewBox="0 0 16 16"
2133
+ width="16"
2134
+ xmlns="http://www.w3.org/2000/svg"
2135
+ >
2136
+ <path
2137
+ d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"
2138
+ />
2139
+ <path
2140
+ d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"
2141
+ />
2142
+ </svg>
2143
+ </span>
2144
+ </div>
2145
+ </div>
2146
+ </div>
2147
+ <div
2148
+ class="emotion-28 emotion-29"
2149
+ />
2150
+ </div>
2151
+ <div
2152
+ class="emotion-30 emotion-31"
2153
+ >
2154
+ <mock-settings-dropdown />
2155
+ </div>
2156
+ </div>
2157
+ </DocumentFragment>
2158
+ `;
2159
+
2160
+ exports[`EditorToolbar should render with status=pending_review,useOpenAuthoring=false 1`] = `
2161
+ <DocumentFragment>
2162
+ .emotion-0 {
2163
+ box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
2164
+ position: absolute;
2165
+ top: 0;
2166
+ left: 0;
2167
+ width: 100%;
2168
+ min-width: 800px;
2169
+ z-index: 300;
2170
+ background-color: #fff;
2171
+ height: 66px;
2172
+ display: -webkit-box;
2173
+ display: -webkit-flex;
2174
+ display: -ms-flexbox;
2175
+ display: flex;
2176
+ -webkit-box-pack: justify;
2177
+ -webkit-justify-content: space-between;
2178
+ justify-content: space-between;
2179
+ }
2180
+
2181
+ .emotion-2 {
2182
+ height: 100%;
2183
+ display: -webkit-box;
2184
+ display: -webkit-flex;
2185
+ display: -ms-flexbox;
2186
+ display: flex;
2187
+ -webkit-align-items: center;
2188
+ -webkit-box-align: center;
2189
+ -ms-flex-align: center;
2190
+ align-items: center;
2191
+ border: 0 solid #dfdfe3;
2192
+ border-right-width: 1px;
2193
+ font-weight: normal;
2194
+ padding: 0 20px;
2195
+ }
2196
+
2197
+ .emotion-2:hover,
2198
+ .emotion-2:focus {
2199
+ background-color: #f1f2f4;
2200
+ }
2201
+
2202
+ .emotion-4 {
2203
+ color: #313d3e;
2204
+ font-size: 21px;
2205
+ font-weight: 600;
2206
+ margin-right: 16px;
2207
+ }
2208
+
2209
+ .emotion-6 {
2210
+ color: #313d3e;
2211
+ font-size: 14px;
2212
+ }
2213
+
2214
+ .emotion-8 {
2215
+ margin-top: 6px;
2216
+ font-size: 13px;
2217
+ line-height: 1;
2218
+ display: inline-block;
2219
+ font-weight: 700;
2220
+ text-transform: uppercase;
2221
+ color: #005614;
2222
+ }
2223
+
2224
+ .emotion-10 {
2225
+ height: 100%;
2226
+ display: -webkit-box;
2227
+ display: -webkit-flex;
2228
+ display: -ms-flexbox;
2229
+ display: flex;
2230
+ -webkit-align-items: center;
2231
+ -webkit-box-align: center;
2232
+ -ms-flex-align: center;
2233
+ align-items: center;
2234
+ border: 0 solid #dfdfe3;
2235
+ -webkit-flex: 10;
2236
+ -ms-flex: 10;
2237
+ flex: 10;
2238
+ display: -webkit-box;
2239
+ display: -webkit-flex;
2240
+ display: -ms-flexbox;
2241
+ display: flex;
2242
+ -webkit-box-pack: justify;
2243
+ -webkit-justify-content: space-between;
2244
+ justify-content: space-between;
2245
+ padding: 0 10px;
2246
+ }
2247
+
2248
+ .emotion-12 {
2249
+ display: -webkit-box;
2250
+ display: -webkit-flex;
2251
+ display: -ms-flexbox;
2252
+ display: flex;
2253
+ -webkit-align-items: center;
2254
+ -webkit-box-align: center;
2255
+ -ms-flex-align: center;
2256
+ align-items: center;
2257
+ }
2258
+
2259
+ .emotion-14 {
2260
+ border: 0;
2261
+ border-radius: 5px;
2262
+ cursor: pointer;
2263
+ height: 36px;
2264
+ line-height: 36px;
2265
+ font-weight: 500;
2266
+ padding: 0 15px;
2267
+ background-color: #798291;
2268
+ color: #fff;
2269
+ margin: 0 10px;
2270
+ overflow: hidden;
2271
+ white-space: nowrap;
2272
+ text-overflow: ellipsis;
2273
+ display: block;
2274
+ background-color: #e8f5fe;
2275
+ color: #3a69c7;
2276
+ }
2277
+
2278
+ @media (max-width: 1200px) {
2279
+ .emotion-14 {
2280
+ padding: 0 10px;
2281
+ }
2282
+ }
2283
+
2284
+ .emotion-14[disabled] {
2285
+ background-color: #eff0f4;
2286
+ color: #798291;
2287
+ cursor: default;
2288
+ }
2289
+
2290
+ .emotion-17 {
2291
+ position: relative;
2292
+ font-size: 14px;
2293
+ -webkit-user-select: none;
2294
+ -moz-user-select: none;
2295
+ -ms-user-select: none;
2296
+ user-select: none;
2297
+ touch-action: manipulation;
2298
+ margin: 0 10px;
2299
+ }
2300
+
2301
+ .emotion-17 .e1jeq5dr0 {
2302
+ color: #17a2b8;
2303
+ }
2304
+
2305
+ .emotion-19 {
2306
+ border: 0;
2307
+ border-radius: 5px;
2308
+ cursor: pointer;
2309
+ height: 36px;
2310
+ line-height: 36px;
2311
+ font-weight: 500;
2312
+ padding: 0 15px;
2313
+ background-color: #798291;
2314
+ color: #fff;
2315
+ display: block;
2316
+ padding-left: 20px;
2317
+ padding-right: 40px;
2318
+ position: relative;
2319
+ white-space: nowrap;
2320
+ overflow: hidden;
2321
+ white-space: nowrap;
2322
+ text-overflow: ellipsis;
2323
+ background-color: #ddf5f9;
2324
+ color: #17a2b8;
2325
+ }
2326
+
2327
+ .emotion-19:after {
2328
+ color: #fff;
2329
+ width: 0;
2330
+ height: 0;
2331
+ border: 5px solid transparent;
2332
+ border-radius: 2px;
2333
+ border-top: 6px solid currentColor;
2334
+ border-bottom: 0;
2335
+ content: '';
2336
+ display: block;
2337
+ position: absolute;
2338
+ top: 16px;
2339
+ right: 10px;
2340
+ color: currentColor;
2341
+ }
2342
+
2343
+ @media (max-width: 1200px) {
2344
+ .emotion-19 {
2345
+ padding-left: 10px;
2346
+ }
2347
+ }
2348
+
2349
+ .emotion-21 {
2350
+ border: 0;
2351
+ border-radius: 5px;
2352
+ cursor: pointer;
2353
+ height: 36px;
2354
+ line-height: 36px;
2355
+ font-weight: 500;
2356
+ padding: 0 15px;
2357
+ background-color: #798291;
2358
+ color: #fff;
2359
+ margin: 0 10px;
2360
+ overflow: hidden;
2361
+ white-space: nowrap;
2362
+ text-overflow: ellipsis;
2363
+ display: block;
2364
+ background-color: #fcefea;
2365
+ color: #D60032;
2366
+ }
2367
+
2368
+ @media (max-width: 1200px) {
2369
+ .emotion-21 {
2370
+ padding: 0 10px;
2371
+ }
2372
+ }
2373
+
2374
+ .emotion-23 {
2375
+ display: -webkit-box;
2376
+ display: -webkit-flex;
2377
+ display: -ms-flexbox;
2378
+ display: flex;
2379
+ -webkit-align-items: center;
2380
+ -webkit-box-align: center;
2381
+ -ms-flex-align: center;
2382
+ align-items: center;
2383
+ -webkit-box-pack: end;
2384
+ -ms-flex-pack: end;
2385
+ -webkit-justify-content: flex-end;
2386
+ justify-content: flex-end;
2387
+ }
2388
+
2389
+ .emotion-25 {
2390
+ height: 100%;
2391
+ display: -webkit-box;
2392
+ display: -webkit-flex;
2393
+ display: -ms-flexbox;
2394
+ display: flex;
2395
+ -webkit-align-items: center;
2396
+ -webkit-box-align: center;
2397
+ -ms-flex-align: center;
2398
+ align-items: center;
2399
+ border: 0 solid #dfdfe3;
2400
+ border-left-width: 1px;
2401
+ padding: 0 7px;
2402
+ }
2403
+
2404
+ <div
2405
+ class="emotion-0 emotion-1"
2406
+ >
2407
+ <mock-link
2408
+ class="emotion-2 emotion-3"
2409
+ to=""
2410
+ >
2411
+ <div
2412
+ class="emotion-4 emotion-5"
2413
+ >
2414
+
2415
+ </div>
2416
+ <div>
2417
+ <div
2418
+ class="emotion-6 emotion-7"
2419
+ >
2420
+ editor.editorToolbar.backCollection
2421
+ </div>
2422
+ <div
2423
+ class="emotion-8 emotion-9"
2424
+ >
2425
+ editor.editorToolbar.changesSaved
2426
+ </div>
2427
+ </div>
2428
+ </mock-link>
2429
+ <div
2430
+ class="emotion-10 emotion-11"
2431
+ >
2432
+ <div
2433
+ class="emotion-12 emotion-13"
2434
+ >
2435
+ <button
2436
+ class="emotion-14 emotion-15"
2437
+ disabled=""
2438
+ >
2439
+ editor.editorToolbar.save
2440
+ </button>
2441
+ <div
2442
+ class="emotion-16 emotion-17 emotion-18"
2443
+ >
2444
+ <div>
2445
+ <span
2446
+ aria-expanded="false"
2447
+ aria-haspopup="true"
2448
+ class="emotion-19 emotion-20"
2449
+ role="button"
2450
+ tabindex="0"
2451
+ >
2452
+ editor.editorToolbar.status
2453
+ </span>
2454
+ </div>
2455
+ </div>
2456
+ <button
2457
+ class="emotion-21 emotion-22"
2458
+ >
2459
+ editor.editorToolbar.deletePublishedEntry
2460
+ </button>
2461
+ </div>
2462
+ <div
2463
+ class="emotion-23 emotion-24"
2464
+ />
2465
+ </div>
2466
+ <div
2467
+ class="emotion-25 emotion-26"
2468
+ >
2469
+ <mock-settings-dropdown />
2470
+ </div>
2471
+ </div>
2472
+ </DocumentFragment>
2473
+ `;
2474
+
2475
+ exports[`EditorToolbar should render with status=pending_review,useOpenAuthoring=true 1`] = `
2476
+ <DocumentFragment>
2477
+ .emotion-0 {
2478
+ box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
2479
+ position: absolute;
2480
+ top: 0;
2481
+ left: 0;
2482
+ width: 100%;
2483
+ min-width: 800px;
2484
+ z-index: 300;
2485
+ background-color: #fff;
2486
+ height: 66px;
2487
+ display: -webkit-box;
2488
+ display: -webkit-flex;
2489
+ display: -ms-flexbox;
2490
+ display: flex;
2491
+ -webkit-box-pack: justify;
2492
+ -webkit-justify-content: space-between;
2493
+ justify-content: space-between;
2494
+ }
2495
+
2496
+ .emotion-2 {
2497
+ height: 100%;
2498
+ display: -webkit-box;
2499
+ display: -webkit-flex;
2500
+ display: -ms-flexbox;
2501
+ display: flex;
2502
+ -webkit-align-items: center;
2503
+ -webkit-box-align: center;
2504
+ -ms-flex-align: center;
2505
+ align-items: center;
2506
+ border: 0 solid #dfdfe3;
2507
+ border-right-width: 1px;
2508
+ font-weight: normal;
2509
+ padding: 0 20px;
2510
+ }
2511
+
2512
+ .emotion-2:hover,
2513
+ .emotion-2:focus {
2514
+ background-color: #f1f2f4;
2515
+ }
2516
+
2517
+ .emotion-4 {
2518
+ color: #313d3e;
2519
+ font-size: 21px;
2520
+ font-weight: 600;
2521
+ margin-right: 16px;
2522
+ }
2523
+
2524
+ .emotion-6 {
2525
+ color: #313d3e;
2526
+ font-size: 14px;
2527
+ }
2528
+
2529
+ .emotion-8 {
2530
+ margin-top: 6px;
2531
+ font-size: 13px;
2532
+ line-height: 1;
2533
+ display: inline-block;
2534
+ font-weight: 700;
2535
+ text-transform: uppercase;
2536
+ color: #005614;
2537
+ }
2538
+
2539
+ .emotion-10 {
2540
+ height: 100%;
2541
+ display: -webkit-box;
2542
+ display: -webkit-flex;
2543
+ display: -ms-flexbox;
2544
+ display: flex;
2545
+ -webkit-align-items: center;
2546
+ -webkit-box-align: center;
2547
+ -ms-flex-align: center;
2548
+ align-items: center;
2549
+ border: 0 solid #dfdfe3;
2550
+ -webkit-flex: 10;
2551
+ -ms-flex: 10;
2552
+ flex: 10;
2553
+ display: -webkit-box;
2554
+ display: -webkit-flex;
2555
+ display: -ms-flexbox;
2556
+ display: flex;
2557
+ -webkit-box-pack: justify;
2558
+ -webkit-justify-content: space-between;
2559
+ justify-content: space-between;
2560
+ padding: 0 10px;
2561
+ }
2562
+
2563
+ .emotion-12 {
2564
+ display: -webkit-box;
2565
+ display: -webkit-flex;
2566
+ display: -ms-flexbox;
2567
+ display: flex;
2568
+ -webkit-align-items: center;
2569
+ -webkit-box-align: center;
2570
+ -ms-flex-align: center;
2571
+ align-items: center;
2572
+ }
2573
+
2574
+ .emotion-14 {
2575
+ border: 0;
2576
+ border-radius: 5px;
2577
+ cursor: pointer;
2578
+ height: 36px;
2579
+ line-height: 36px;
2580
+ font-weight: 500;
2581
+ padding: 0 15px;
2582
+ background-color: #798291;
2583
+ color: #fff;
2584
+ margin: 0 10px;
2585
+ overflow: hidden;
2586
+ white-space: nowrap;
2587
+ text-overflow: ellipsis;
2588
+ display: block;
2589
+ background-color: #e8f5fe;
2590
+ color: #3a69c7;
2591
+ }
2592
+
2593
+ @media (max-width: 1200px) {
2594
+ .emotion-14 {
2595
+ padding: 0 10px;
2596
+ }
2597
+ }
2598
+
2599
+ .emotion-14[disabled] {
2600
+ background-color: #eff0f4;
2601
+ color: #798291;
2602
+ cursor: default;
2603
+ }
2604
+
2605
+ .emotion-17 {
2606
+ position: relative;
2607
+ font-size: 14px;
2608
+ -webkit-user-select: none;
2609
+ -moz-user-select: none;
2610
+ -ms-user-select: none;
2611
+ user-select: none;
2612
+ touch-action: manipulation;
2613
+ margin: 0 10px;
2614
+ }
2615
+
2616
+ .emotion-17 .emotion-25 {
2617
+ color: #17a2b8;
2618
+ }
2619
+
2620
+ .emotion-19 {
2621
+ border: 0;
2622
+ border-radius: 5px;
2623
+ cursor: pointer;
2624
+ height: 36px;
2625
+ line-height: 36px;
2626
+ font-weight: 500;
2627
+ padding: 0 15px;
2628
+ background-color: #798291;
2629
+ color: #fff;
2630
+ display: block;
2631
+ padding-left: 20px;
2632
+ padding-right: 40px;
2633
+ position: relative;
2634
+ white-space: nowrap;
2635
+ overflow: hidden;
2636
+ white-space: nowrap;
2637
+ text-overflow: ellipsis;
2638
+ background-color: #ddf5f9;
2639
+ color: #17a2b8;
2640
+ }
2641
+
2642
+ .emotion-19:after {
2643
+ color: #fff;
2644
+ width: 0;
2645
+ height: 0;
2646
+ border: 5px solid transparent;
2647
+ border-radius: 2px;
2648
+ border-top: 6px solid currentColor;
2649
+ border-bottom: 0;
2650
+ content: '';
2651
+ display: block;
2652
+ position: absolute;
2653
+ top: 16px;
2654
+ right: 10px;
2655
+ color: currentColor;
2656
+ }
2657
+
2658
+ @media (max-width: 1200px) {
2659
+ .emotion-19 {
2660
+ padding-left: 10px;
2661
+ }
2662
+ }
2663
+
2664
+ .emotion-21 {
2665
+ position: relative;
2666
+ }
2667
+
2668
+ .emotion-23 {
2669
+ position: relative;
2670
+ display: inline-block;
2671
+ }
2672
+
2673
+ .emotion-23:hover+.emotion-29 {
2674
+ visibility: visible;
2675
+ opacity: 0.9;
2676
+ }
2677
+
2678
+ .emotion-26 {
2679
+ display: inline-block;
2680
+ line-height: 0;
2681
+ width: 18px;
2682
+ height: 18px;
2683
+ -webkit-transform: rotate(0deg);
2684
+ -moz-transform: rotate(0deg);
2685
+ -ms-transform: rotate(0deg);
2686
+ transform: rotate(0deg);
2687
+ }
2688
+
2689
+ .emotion-26 path:not(.no-fill),
2690
+ .emotion-26 circle:not(.no-fill),
2691
+ .emotion-26 polygon:not(.no-fill),
2692
+ .emotion-26 rect:not(.no-fill) {
2693
+ fill: currentColor;
2694
+ }
2695
+
2696
+ .emotion-26 path.clipped {
2697
+ fill: transparent;
2698
+ }
2699
+
2700
+ .emotion-26 svg {
2701
+ width: 100%;
2702
+ height: 100%;
2703
+ }
2704
+
2705
+ .emotion-28 {
2706
+ visibility: hidden;
2707
+ width: 321px;
2708
+ background-color: #555;
2709
+ color: #fff;
2710
+ text-align: unset;
2711
+ border-radius: 6px;
2712
+ padding: 5px;
2713
+ position: absolute;
2714
+ z-index: 1;
2715
+ top: 145%;
2716
+ left: 50%;
2717
+ margin-left: -320px;
2718
+ opacity: 0;
2719
+ -webkit-transition: opacity 0.3s;
2720
+ transition: opacity 0.3s;
2721
+ }
2722
+
2723
+ .emotion-30 {
2724
+ display: -webkit-box;
2725
+ display: -webkit-flex;
2726
+ display: -ms-flexbox;
2727
+ display: flex;
2728
+ -webkit-align-items: center;
2729
+ -webkit-box-align: center;
2730
+ -ms-flex-align: center;
2731
+ align-items: center;
2732
+ -webkit-box-pack: end;
2733
+ -ms-flex-pack: end;
2734
+ -webkit-justify-content: flex-end;
2735
+ justify-content: flex-end;
2736
+ }
2737
+
2738
+ .emotion-32 {
2739
+ height: 100%;
2740
+ display: -webkit-box;
2741
+ display: -webkit-flex;
2742
+ display: -ms-flexbox;
2743
+ display: flex;
2744
+ -webkit-align-items: center;
2745
+ -webkit-box-align: center;
2746
+ -ms-flex-align: center;
2747
+ align-items: center;
2748
+ border: 0 solid #dfdfe3;
2749
+ border-left-width: 1px;
2750
+ padding: 0 7px;
2751
+ }
2752
+
2753
+ <div
2754
+ class="emotion-0 emotion-1"
2755
+ >
2756
+ <mock-link
2757
+ class="emotion-2 emotion-3"
2758
+ to=""
2759
+ >
2760
+ <div
2761
+ class="emotion-4 emotion-5"
2762
+ >
2763
+
2764
+ </div>
2765
+ <div>
2766
+ <div
2767
+ class="emotion-6 emotion-7"
2768
+ >
2769
+ editor.editorToolbar.backCollection
2770
+ </div>
2771
+ <div
2772
+ class="emotion-8 emotion-9"
2773
+ >
2774
+ editor.editorToolbar.changesSaved
2775
+ </div>
2776
+ </div>
2777
+ </mock-link>
2778
+ <div
2779
+ class="emotion-10 emotion-11"
2780
+ >
2781
+ <div
2782
+ class="emotion-12 emotion-13"
2783
+ >
2784
+ <button
2785
+ class="emotion-14 emotion-15"
2786
+ disabled=""
2787
+ >
2788
+ editor.editorToolbar.save
2789
+ </button>
2790
+ <div
2791
+ class="emotion-16 emotion-17 emotion-18"
2792
+ >
2793
+ <div>
2794
+ <span
2795
+ aria-expanded="false"
2796
+ aria-haspopup="true"
2797
+ class="emotion-19 emotion-20"
2798
+ role="button"
2799
+ tabindex="0"
2800
+ >
2801
+ editor.editorToolbar.status
2802
+ </span>
2803
+ </div>
2804
+ </div>
2805
+ <div
2806
+ class="emotion-21 emotion-22"
2807
+ >
2808
+ <div
2809
+ class="emotion-23 emotion-24"
2810
+ >
2811
+ <span
2812
+ class="tooltip emotion-25 emotion-26 emotion-27"
2813
+ >
2814
+ <svg
2815
+ class="bi bi-info-circle"
2816
+ fill="currentColor"
2817
+ height="16"
2818
+ viewBox="0 0 16 16"
2819
+ width="16"
2820
+ xmlns="http://www.w3.org/2000/svg"
2821
+ >
2822
+ <path
2823
+ d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"
2824
+ />
2825
+ <path
2826
+ d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"
2827
+ />
2828
+ </svg>
2829
+ </span>
2830
+ </div>
2831
+ <div
2832
+ class="emotion-28 emotion-29"
2833
+ >
2834
+ editor.editorToolbar.statusInfoTooltipInReview
2835
+ </div>
2836
+ </div>
2837
+ </div>
2838
+ <div
2839
+ class="emotion-30 emotion-31"
2840
+ />
2841
+ </div>
2842
+ <div
2843
+ class="emotion-32 emotion-33"
2844
+ >
2845
+ <mock-settings-dropdown />
2846
+ </div>
2847
+ </div>
2848
+ </DocumentFragment>
2849
+ `;
2850
+
2851
+ exports[`EditorToolbar should render with workflow controls hasUnpublishedChanges=false,isNewEntry=false,isModification=false,useOpenAuthoring=false 1`] = `
2852
+ <DocumentFragment>
2853
+ .emotion-0 {
2854
+ box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
2855
+ position: absolute;
2856
+ top: 0;
2857
+ left: 0;
2858
+ width: 100%;
2859
+ min-width: 800px;
2860
+ z-index: 300;
2861
+ background-color: #fff;
2862
+ height: 66px;
2863
+ display: -webkit-box;
2864
+ display: -webkit-flex;
2865
+ display: -ms-flexbox;
2866
+ display: flex;
2867
+ -webkit-box-pack: justify;
2868
+ -webkit-justify-content: space-between;
2869
+ justify-content: space-between;
2870
+ }
2871
+
2872
+ .emotion-2 {
2873
+ height: 100%;
2874
+ display: -webkit-box;
2875
+ display: -webkit-flex;
2876
+ display: -ms-flexbox;
2877
+ display: flex;
2878
+ -webkit-align-items: center;
2879
+ -webkit-box-align: center;
2880
+ -ms-flex-align: center;
2881
+ align-items: center;
2882
+ border: 0 solid #dfdfe3;
2883
+ border-right-width: 1px;
2884
+ font-weight: normal;
2885
+ padding: 0 20px;
2886
+ }
2887
+
2888
+ .emotion-2:hover,
2889
+ .emotion-2:focus {
2890
+ background-color: #f1f2f4;
2891
+ }
2892
+
2893
+ .emotion-4 {
2894
+ color: #313d3e;
2895
+ font-size: 21px;
2896
+ font-weight: 600;
2897
+ margin-right: 16px;
2898
+ }
2899
+
2900
+ .emotion-6 {
2901
+ color: #313d3e;
2902
+ font-size: 14px;
2903
+ }
2904
+
2905
+ .emotion-8 {
2906
+ margin-top: 6px;
2907
+ font-size: 13px;
2908
+ line-height: 1;
2909
+ display: inline-block;
2910
+ font-weight: 700;
2911
+ text-transform: uppercase;
2912
+ color: #005614;
2913
+ }
2914
+
2915
+ .emotion-10 {
2916
+ height: 100%;
2917
+ display: -webkit-box;
2918
+ display: -webkit-flex;
2919
+ display: -ms-flexbox;
2920
+ display: flex;
2921
+ -webkit-align-items: center;
2922
+ -webkit-box-align: center;
2923
+ -ms-flex-align: center;
2924
+ align-items: center;
2925
+ border: 0 solid #dfdfe3;
2926
+ -webkit-flex: 10;
2927
+ -ms-flex: 10;
2928
+ flex: 10;
2929
+ display: -webkit-box;
2930
+ display: -webkit-flex;
2931
+ display: -ms-flexbox;
2932
+ display: flex;
2933
+ -webkit-box-pack: justify;
2934
+ -webkit-justify-content: space-between;
2935
+ justify-content: space-between;
2936
+ padding: 0 10px;
2937
+ }
2938
+
2939
+ .emotion-12 {
2940
+ display: -webkit-box;
2941
+ display: -webkit-flex;
2942
+ display: -ms-flexbox;
2943
+ display: flex;
2944
+ -webkit-align-items: center;
2945
+ -webkit-box-align: center;
2946
+ -ms-flex-align: center;
2947
+ align-items: center;
2948
+ }
2949
+
2950
+ .emotion-14 {
2951
+ border: 0;
2952
+ border-radius: 5px;
2953
+ cursor: pointer;
2954
+ height: 36px;
2955
+ line-height: 36px;
2956
+ font-weight: 500;
2957
+ padding: 0 15px;
2958
+ background-color: #798291;
2959
+ color: #fff;
2960
+ margin: 0 10px;
2961
+ overflow: hidden;
2962
+ white-space: nowrap;
2963
+ text-overflow: ellipsis;
2964
+ display: block;
2965
+ background-color: #e8f5fe;
2966
+ color: #3a69c7;
2967
+ }
2968
+
2969
+ @media (max-width: 1200px) {
2970
+ .emotion-14 {
2971
+ padding: 0 10px;
2972
+ }
2973
+ }
2974
+
2975
+ .emotion-14[disabled] {
2976
+ background-color: #eff0f4;
2977
+ color: #798291;
2978
+ cursor: default;
2979
+ }
2980
+
2981
+ .emotion-16 {
2982
+ border: 0;
2983
+ border-radius: 5px;
2984
+ cursor: pointer;
2985
+ height: 36px;
2986
+ line-height: 36px;
2987
+ font-weight: 500;
2988
+ padding: 0 15px;
2989
+ background-color: #798291;
2990
+ color: #fff;
2991
+ margin: 0 10px;
2992
+ overflow: hidden;
2993
+ white-space: nowrap;
2994
+ text-overflow: ellipsis;
2995
+ display: block;
2996
+ background-color: #fcefea;
2997
+ color: #D60032;
2998
+ }
2999
+
3000
+ @media (max-width: 1200px) {
3001
+ .emotion-16 {
3002
+ padding: 0 10px;
3003
+ }
3004
+ }
3005
+
3006
+ .emotion-18 {
3007
+ display: -webkit-box;
3008
+ display: -webkit-flex;
3009
+ display: -ms-flexbox;
3010
+ display: flex;
3011
+ -webkit-align-items: center;
3012
+ -webkit-box-align: center;
3013
+ -ms-flex-align: center;
3014
+ align-items: center;
3015
+ -webkit-box-pack: end;
3016
+ -ms-flex-pack: end;
3017
+ -webkit-justify-content: flex-end;
3018
+ justify-content: flex-end;
3019
+ }
3020
+
3021
+ .emotion-20 {
3022
+ height: 100%;
3023
+ display: -webkit-box;
3024
+ display: -webkit-flex;
3025
+ display: -ms-flexbox;
3026
+ display: flex;
3027
+ -webkit-align-items: center;
3028
+ -webkit-box-align: center;
3029
+ -ms-flex-align: center;
3030
+ align-items: center;
3031
+ border: 0 solid #dfdfe3;
3032
+ border-left-width: 1px;
3033
+ padding: 0 7px;
3034
+ }
3035
+
3036
+ <div
3037
+ class="emotion-0 emotion-1"
3038
+ >
3039
+ <mock-link
3040
+ class="emotion-2 emotion-3"
3041
+ to=""
3042
+ >
3043
+ <div
3044
+ class="emotion-4 emotion-5"
3045
+ >
3046
+
3047
+ </div>
3048
+ <div>
3049
+ <div
3050
+ class="emotion-6 emotion-7"
3051
+ >
3052
+ editor.editorToolbar.backCollection
3053
+ </div>
3054
+ <div
3055
+ class="emotion-8 emotion-9"
3056
+ >
3057
+ editor.editorToolbar.changesSaved
3058
+ </div>
3059
+ </div>
3060
+ </mock-link>
3061
+ <div
3062
+ class="emotion-10 emotion-11"
3063
+ >
3064
+ <div
3065
+ class="emotion-12 emotion-13"
3066
+ >
3067
+ <button
3068
+ class="emotion-14 emotion-15"
3069
+ disabled=""
3070
+ >
3071
+ editor.editorToolbar.save
3072
+ </button>
3073
+ <button
3074
+ class="emotion-16 emotion-17"
3075
+ >
3076
+ editor.editorToolbar.deletePublishedEntry
3077
+ </button>
3078
+ </div>
3079
+ <div
3080
+ class="emotion-18 emotion-19"
3081
+ />
3082
+ </div>
3083
+ <div
3084
+ class="emotion-20 emotion-21"
3085
+ >
3086
+ <mock-settings-dropdown />
3087
+ </div>
3088
+ </div>
3089
+ </DocumentFragment>
3090
+ `;
3091
+
3092
+ exports[`EditorToolbar should render with workflow controls hasUnpublishedChanges=false,isNewEntry=false,isModification=false,useOpenAuthoring=true 1`] = `
3093
+ <DocumentFragment>
3094
+ .emotion-0 {
3095
+ box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
3096
+ position: absolute;
3097
+ top: 0;
3098
+ left: 0;
3099
+ width: 100%;
3100
+ min-width: 800px;
3101
+ z-index: 300;
3102
+ background-color: #fff;
3103
+ height: 66px;
3104
+ display: -webkit-box;
3105
+ display: -webkit-flex;
3106
+ display: -ms-flexbox;
3107
+ display: flex;
3108
+ -webkit-box-pack: justify;
3109
+ -webkit-justify-content: space-between;
3110
+ justify-content: space-between;
3111
+ }
3112
+
3113
+ .emotion-2 {
3114
+ height: 100%;
3115
+ display: -webkit-box;
3116
+ display: -webkit-flex;
3117
+ display: -ms-flexbox;
3118
+ display: flex;
3119
+ -webkit-align-items: center;
3120
+ -webkit-box-align: center;
3121
+ -ms-flex-align: center;
3122
+ align-items: center;
3123
+ border: 0 solid #dfdfe3;
3124
+ border-right-width: 1px;
3125
+ font-weight: normal;
3126
+ padding: 0 20px;
3127
+ }
3128
+
3129
+ .emotion-2:hover,
3130
+ .emotion-2:focus {
3131
+ background-color: #f1f2f4;
3132
+ }
3133
+
3134
+ .emotion-4 {
3135
+ color: #313d3e;
3136
+ font-size: 21px;
3137
+ font-weight: 600;
3138
+ margin-right: 16px;
3139
+ }
3140
+
3141
+ .emotion-6 {
3142
+ color: #313d3e;
3143
+ font-size: 14px;
3144
+ }
3145
+
3146
+ .emotion-8 {
3147
+ margin-top: 6px;
3148
+ font-size: 13px;
3149
+ line-height: 1;
3150
+ display: inline-block;
3151
+ font-weight: 700;
3152
+ text-transform: uppercase;
3153
+ color: #005614;
3154
+ }
3155
+
3156
+ .emotion-10 {
3157
+ height: 100%;
3158
+ display: -webkit-box;
3159
+ display: -webkit-flex;
3160
+ display: -ms-flexbox;
3161
+ display: flex;
3162
+ -webkit-align-items: center;
3163
+ -webkit-box-align: center;
3164
+ -ms-flex-align: center;
3165
+ align-items: center;
3166
+ border: 0 solid #dfdfe3;
3167
+ -webkit-flex: 10;
3168
+ -ms-flex: 10;
3169
+ flex: 10;
3170
+ display: -webkit-box;
3171
+ display: -webkit-flex;
3172
+ display: -ms-flexbox;
3173
+ display: flex;
3174
+ -webkit-box-pack: justify;
3175
+ -webkit-justify-content: space-between;
3176
+ justify-content: space-between;
3177
+ padding: 0 10px;
3178
+ }
3179
+
3180
+ .emotion-12 {
3181
+ display: -webkit-box;
3182
+ display: -webkit-flex;
3183
+ display: -ms-flexbox;
3184
+ display: flex;
3185
+ -webkit-align-items: center;
3186
+ -webkit-box-align: center;
3187
+ -ms-flex-align: center;
3188
+ align-items: center;
3189
+ }
3190
+
3191
+ .emotion-14 {
3192
+ border: 0;
3193
+ border-radius: 5px;
3194
+ cursor: pointer;
3195
+ height: 36px;
3196
+ line-height: 36px;
3197
+ font-weight: 500;
3198
+ padding: 0 15px;
3199
+ background-color: #798291;
3200
+ color: #fff;
3201
+ margin: 0 10px;
3202
+ overflow: hidden;
3203
+ white-space: nowrap;
3204
+ text-overflow: ellipsis;
3205
+ display: block;
3206
+ background-color: #e8f5fe;
3207
+ color: #3a69c7;
3208
+ }
3209
+
3210
+ @media (max-width: 1200px) {
3211
+ .emotion-14 {
3212
+ padding: 0 10px;
3213
+ }
3214
+ }
3215
+
3216
+ .emotion-14[disabled] {
3217
+ background-color: #eff0f4;
3218
+ color: #798291;
3219
+ cursor: default;
3220
+ }
3221
+
3222
+ .emotion-16 {
3223
+ display: -webkit-box;
3224
+ display: -webkit-flex;
3225
+ display: -ms-flexbox;
3226
+ display: flex;
3227
+ -webkit-align-items: center;
3228
+ -webkit-box-align: center;
3229
+ -ms-flex-align: center;
3230
+ align-items: center;
3231
+ -webkit-box-pack: end;
3232
+ -ms-flex-pack: end;
3233
+ -webkit-justify-content: flex-end;
3234
+ justify-content: flex-end;
3235
+ }
3236
+
3237
+ .emotion-18 {
3238
+ height: 100%;
3239
+ display: -webkit-box;
3240
+ display: -webkit-flex;
3241
+ display: -ms-flexbox;
3242
+ display: flex;
3243
+ -webkit-align-items: center;
3244
+ -webkit-box-align: center;
3245
+ -ms-flex-align: center;
3246
+ align-items: center;
3247
+ border: 0 solid #dfdfe3;
3248
+ border-left-width: 1px;
3249
+ padding: 0 7px;
3250
+ }
3251
+
3252
+ <div
3253
+ class="emotion-0 emotion-1"
3254
+ >
3255
+ <mock-link
3256
+ class="emotion-2 emotion-3"
3257
+ to=""
3258
+ >
3259
+ <div
3260
+ class="emotion-4 emotion-5"
3261
+ >
3262
+
3263
+ </div>
3264
+ <div>
3265
+ <div
3266
+ class="emotion-6 emotion-7"
3267
+ >
3268
+ editor.editorToolbar.backCollection
3269
+ </div>
3270
+ <div
3271
+ class="emotion-8 emotion-9"
3272
+ >
3273
+ editor.editorToolbar.changesSaved
3274
+ </div>
3275
+ </div>
3276
+ </mock-link>
3277
+ <div
3278
+ class="emotion-10 emotion-11"
3279
+ >
3280
+ <div
3281
+ class="emotion-12 emotion-13"
3282
+ >
3283
+ <button
3284
+ class="emotion-14 emotion-15"
3285
+ disabled=""
3286
+ >
3287
+ editor.editorToolbar.save
3288
+ </button>
3289
+ </div>
3290
+ <div
3291
+ class="emotion-16 emotion-17"
3292
+ />
3293
+ </div>
3294
+ <div
3295
+ class="emotion-18 emotion-19"
3296
+ >
3297
+ <mock-settings-dropdown />
3298
+ </div>
3299
+ </div>
3300
+ </DocumentFragment>
3301
+ `;
3302
+
3303
+ exports[`EditorToolbar should render with workflow controls hasUnpublishedChanges=true,isNewEntry=false,isModification=false,useOpenAuthoring=false 1`] = `
3304
+ <DocumentFragment>
3305
+ .emotion-0 {
3306
+ box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
3307
+ position: absolute;
3308
+ top: 0;
3309
+ left: 0;
3310
+ width: 100%;
3311
+ min-width: 800px;
3312
+ z-index: 300;
3313
+ background-color: #fff;
3314
+ height: 66px;
3315
+ display: -webkit-box;
3316
+ display: -webkit-flex;
3317
+ display: -ms-flexbox;
3318
+ display: flex;
3319
+ -webkit-box-pack: justify;
3320
+ -webkit-justify-content: space-between;
3321
+ justify-content: space-between;
3322
+ }
3323
+
3324
+ .emotion-2 {
3325
+ height: 100%;
3326
+ display: -webkit-box;
3327
+ display: -webkit-flex;
3328
+ display: -ms-flexbox;
3329
+ display: flex;
3330
+ -webkit-align-items: center;
3331
+ -webkit-box-align: center;
3332
+ -ms-flex-align: center;
3333
+ align-items: center;
3334
+ border: 0 solid #dfdfe3;
3335
+ border-right-width: 1px;
3336
+ font-weight: normal;
3337
+ padding: 0 20px;
3338
+ }
3339
+
3340
+ .emotion-2:hover,
3341
+ .emotion-2:focus {
3342
+ background-color: #f1f2f4;
3343
+ }
3344
+
3345
+ .emotion-4 {
3346
+ color: #313d3e;
3347
+ font-size: 21px;
3348
+ font-weight: 600;
3349
+ margin-right: 16px;
3350
+ }
3351
+
3352
+ .emotion-6 {
3353
+ color: #313d3e;
3354
+ font-size: 14px;
3355
+ }
3356
+
3357
+ .emotion-8 {
3358
+ margin-top: 6px;
3359
+ font-size: 13px;
3360
+ line-height: 1;
3361
+ display: inline-block;
3362
+ font-weight: 700;
3363
+ text-transform: uppercase;
3364
+ color: #005614;
3365
+ }
3366
+
3367
+ .emotion-10 {
3368
+ height: 100%;
3369
+ display: -webkit-box;
3370
+ display: -webkit-flex;
3371
+ display: -ms-flexbox;
3372
+ display: flex;
3373
+ -webkit-align-items: center;
3374
+ -webkit-box-align: center;
3375
+ -ms-flex-align: center;
3376
+ align-items: center;
3377
+ border: 0 solid #dfdfe3;
3378
+ -webkit-flex: 10;
3379
+ -ms-flex: 10;
3380
+ flex: 10;
3381
+ display: -webkit-box;
3382
+ display: -webkit-flex;
3383
+ display: -ms-flexbox;
3384
+ display: flex;
3385
+ -webkit-box-pack: justify;
3386
+ -webkit-justify-content: space-between;
3387
+ justify-content: space-between;
3388
+ padding: 0 10px;
3389
+ }
3390
+
3391
+ .emotion-12 {
3392
+ display: -webkit-box;
3393
+ display: -webkit-flex;
3394
+ display: -ms-flexbox;
3395
+ display: flex;
3396
+ -webkit-align-items: center;
3397
+ -webkit-box-align: center;
3398
+ -ms-flex-align: center;
3399
+ align-items: center;
3400
+ }
3401
+
3402
+ .emotion-14 {
3403
+ border: 0;
3404
+ border-radius: 5px;
3405
+ cursor: pointer;
3406
+ height: 36px;
3407
+ line-height: 36px;
3408
+ font-weight: 500;
3409
+ padding: 0 15px;
3410
+ background-color: #798291;
3411
+ color: #fff;
3412
+ margin: 0 10px;
3413
+ overflow: hidden;
3414
+ white-space: nowrap;
3415
+ text-overflow: ellipsis;
3416
+ display: block;
3417
+ background-color: #e8f5fe;
3418
+ color: #3a69c7;
3419
+ }
3420
+
3421
+ @media (max-width: 1200px) {
3422
+ .emotion-14 {
3423
+ padding: 0 10px;
3424
+ }
3425
+ }
3426
+
3427
+ .emotion-14[disabled] {
3428
+ background-color: #eff0f4;
3429
+ color: #798291;
3430
+ cursor: default;
3431
+ }
3432
+
3433
+ .emotion-16 {
3434
+ border: 0;
3435
+ border-radius: 5px;
3436
+ cursor: pointer;
3437
+ height: 36px;
3438
+ line-height: 36px;
3439
+ font-weight: 500;
3440
+ padding: 0 15px;
3441
+ background-color: #798291;
3442
+ color: #fff;
3443
+ margin: 0 10px;
3444
+ overflow: hidden;
3445
+ white-space: nowrap;
3446
+ text-overflow: ellipsis;
3447
+ display: block;
3448
+ background-color: #fcefea;
3449
+ color: #D60032;
3450
+ }
3451
+
3452
+ @media (max-width: 1200px) {
3453
+ .emotion-16 {
3454
+ padding: 0 10px;
3455
+ }
3456
+ }
3457
+
3458
+ .emotion-18 {
3459
+ display: -webkit-box;
3460
+ display: -webkit-flex;
3461
+ display: -ms-flexbox;
3462
+ display: flex;
3463
+ -webkit-align-items: center;
3464
+ -webkit-box-align: center;
3465
+ -ms-flex-align: center;
3466
+ align-items: center;
3467
+ -webkit-box-pack: end;
3468
+ -ms-flex-pack: end;
3469
+ -webkit-justify-content: flex-end;
3470
+ justify-content: flex-end;
3471
+ }
3472
+
3473
+ .emotion-20 {
3474
+ height: 100%;
3475
+ display: -webkit-box;
3476
+ display: -webkit-flex;
3477
+ display: -ms-flexbox;
3478
+ display: flex;
3479
+ -webkit-align-items: center;
3480
+ -webkit-box-align: center;
3481
+ -ms-flex-align: center;
3482
+ align-items: center;
3483
+ border: 0 solid #dfdfe3;
3484
+ border-left-width: 1px;
3485
+ padding: 0 7px;
3486
+ }
3487
+
3488
+ <div
3489
+ class="emotion-0 emotion-1"
3490
+ >
3491
+ <mock-link
3492
+ class="emotion-2 emotion-3"
3493
+ to=""
3494
+ >
3495
+ <div
3496
+ class="emotion-4 emotion-5"
3497
+ >
3498
+
3499
+ </div>
3500
+ <div>
3501
+ <div
3502
+ class="emotion-6 emotion-7"
3503
+ >
3504
+ editor.editorToolbar.backCollection
3505
+ </div>
3506
+ <div
3507
+ class="emotion-8 emotion-9"
3508
+ >
3509
+ editor.editorToolbar.changesSaved
3510
+ </div>
3511
+ </div>
3512
+ </mock-link>
3513
+ <div
3514
+ class="emotion-10 emotion-11"
3515
+ >
3516
+ <div
3517
+ class="emotion-12 emotion-13"
3518
+ >
3519
+ <button
3520
+ class="emotion-14 emotion-15"
3521
+ disabled=""
3522
+ >
3523
+ editor.editorToolbar.save
3524
+ </button>
3525
+ <button
3526
+ class="emotion-16 emotion-17"
3527
+ >
3528
+ editor.editorToolbar.deleteUnpublishedEntry
3529
+ </button>
3530
+ </div>
3531
+ <div
3532
+ class="emotion-18 emotion-19"
3533
+ />
3534
+ </div>
3535
+ <div
3536
+ class="emotion-20 emotion-21"
3537
+ >
3538
+ <mock-settings-dropdown />
3539
+ </div>
3540
+ </div>
3541
+ </DocumentFragment>
3542
+ `;
3543
+
3544
+ exports[`EditorToolbar should render with workflow controls hasUnpublishedChanges=true,isNewEntry=false,isModification=false,useOpenAuthoring=true 1`] = `
3545
+ <DocumentFragment>
3546
+ .emotion-0 {
3547
+ box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
3548
+ position: absolute;
3549
+ top: 0;
3550
+ left: 0;
3551
+ width: 100%;
3552
+ min-width: 800px;
3553
+ z-index: 300;
3554
+ background-color: #fff;
3555
+ height: 66px;
3556
+ display: -webkit-box;
3557
+ display: -webkit-flex;
3558
+ display: -ms-flexbox;
3559
+ display: flex;
3560
+ -webkit-box-pack: justify;
3561
+ -webkit-justify-content: space-between;
3562
+ justify-content: space-between;
3563
+ }
3564
+
3565
+ .emotion-2 {
3566
+ height: 100%;
3567
+ display: -webkit-box;
3568
+ display: -webkit-flex;
3569
+ display: -ms-flexbox;
3570
+ display: flex;
3571
+ -webkit-align-items: center;
3572
+ -webkit-box-align: center;
3573
+ -ms-flex-align: center;
3574
+ align-items: center;
3575
+ border: 0 solid #dfdfe3;
3576
+ border-right-width: 1px;
3577
+ font-weight: normal;
3578
+ padding: 0 20px;
3579
+ }
3580
+
3581
+ .emotion-2:hover,
3582
+ .emotion-2:focus {
3583
+ background-color: #f1f2f4;
3584
+ }
3585
+
3586
+ .emotion-4 {
3587
+ color: #313d3e;
3588
+ font-size: 21px;
3589
+ font-weight: 600;
3590
+ margin-right: 16px;
3591
+ }
3592
+
3593
+ .emotion-6 {
3594
+ color: #313d3e;
3595
+ font-size: 14px;
3596
+ }
3597
+
3598
+ .emotion-8 {
3599
+ margin-top: 6px;
3600
+ font-size: 13px;
3601
+ line-height: 1;
3602
+ display: inline-block;
3603
+ font-weight: 700;
3604
+ text-transform: uppercase;
3605
+ color: #005614;
3606
+ }
3607
+
3608
+ .emotion-10 {
3609
+ height: 100%;
3610
+ display: -webkit-box;
3611
+ display: -webkit-flex;
3612
+ display: -ms-flexbox;
3613
+ display: flex;
3614
+ -webkit-align-items: center;
3615
+ -webkit-box-align: center;
3616
+ -ms-flex-align: center;
3617
+ align-items: center;
3618
+ border: 0 solid #dfdfe3;
3619
+ -webkit-flex: 10;
3620
+ -ms-flex: 10;
3621
+ flex: 10;
3622
+ display: -webkit-box;
3623
+ display: -webkit-flex;
3624
+ display: -ms-flexbox;
3625
+ display: flex;
3626
+ -webkit-box-pack: justify;
3627
+ -webkit-justify-content: space-between;
3628
+ justify-content: space-between;
3629
+ padding: 0 10px;
3630
+ }
3631
+
3632
+ .emotion-12 {
3633
+ display: -webkit-box;
3634
+ display: -webkit-flex;
3635
+ display: -ms-flexbox;
3636
+ display: flex;
3637
+ -webkit-align-items: center;
3638
+ -webkit-box-align: center;
3639
+ -ms-flex-align: center;
3640
+ align-items: center;
3641
+ }
3642
+
3643
+ .emotion-14 {
3644
+ border: 0;
3645
+ border-radius: 5px;
3646
+ cursor: pointer;
3647
+ height: 36px;
3648
+ line-height: 36px;
3649
+ font-weight: 500;
3650
+ padding: 0 15px;
3651
+ background-color: #798291;
3652
+ color: #fff;
3653
+ margin: 0 10px;
3654
+ overflow: hidden;
3655
+ white-space: nowrap;
3656
+ text-overflow: ellipsis;
3657
+ display: block;
3658
+ background-color: #e8f5fe;
3659
+ color: #3a69c7;
3660
+ }
3661
+
3662
+ @media (max-width: 1200px) {
3663
+ .emotion-14 {
3664
+ padding: 0 10px;
3665
+ }
3666
+ }
3667
+
3668
+ .emotion-14[disabled] {
3669
+ background-color: #eff0f4;
3670
+ color: #798291;
3671
+ cursor: default;
3672
+ }
3673
+
3674
+ .emotion-16 {
3675
+ border: 0;
3676
+ border-radius: 5px;
3677
+ cursor: pointer;
3678
+ height: 36px;
3679
+ line-height: 36px;
3680
+ font-weight: 500;
3681
+ padding: 0 15px;
3682
+ background-color: #798291;
3683
+ color: #fff;
3684
+ margin: 0 10px;
3685
+ overflow: hidden;
3686
+ white-space: nowrap;
3687
+ text-overflow: ellipsis;
3688
+ display: block;
3689
+ background-color: #fcefea;
3690
+ color: #D60032;
3691
+ }
3692
+
3693
+ @media (max-width: 1200px) {
3694
+ .emotion-16 {
3695
+ padding: 0 10px;
3696
+ }
3697
+ }
3698
+
3699
+ .emotion-18 {
3700
+ display: -webkit-box;
3701
+ display: -webkit-flex;
3702
+ display: -ms-flexbox;
3703
+ display: flex;
3704
+ -webkit-align-items: center;
3705
+ -webkit-box-align: center;
3706
+ -ms-flex-align: center;
3707
+ align-items: center;
3708
+ -webkit-box-pack: end;
3709
+ -ms-flex-pack: end;
3710
+ -webkit-justify-content: flex-end;
3711
+ justify-content: flex-end;
3712
+ }
3713
+
3714
+ .emotion-20 {
3715
+ height: 100%;
3716
+ display: -webkit-box;
3717
+ display: -webkit-flex;
3718
+ display: -ms-flexbox;
3719
+ display: flex;
3720
+ -webkit-align-items: center;
3721
+ -webkit-box-align: center;
3722
+ -ms-flex-align: center;
3723
+ align-items: center;
3724
+ border: 0 solid #dfdfe3;
3725
+ border-left-width: 1px;
3726
+ padding: 0 7px;
3727
+ }
3728
+
3729
+ <div
3730
+ class="emotion-0 emotion-1"
3731
+ >
3732
+ <mock-link
3733
+ class="emotion-2 emotion-3"
3734
+ to=""
3735
+ >
3736
+ <div
3737
+ class="emotion-4 emotion-5"
3738
+ >
3739
+
3740
+ </div>
3741
+ <div>
3742
+ <div
3743
+ class="emotion-6 emotion-7"
3744
+ >
3745
+ editor.editorToolbar.backCollection
3746
+ </div>
3747
+ <div
3748
+ class="emotion-8 emotion-9"
3749
+ >
3750
+ editor.editorToolbar.changesSaved
3751
+ </div>
3752
+ </div>
3753
+ </mock-link>
3754
+ <div
3755
+ class="emotion-10 emotion-11"
3756
+ >
3757
+ <div
3758
+ class="emotion-12 emotion-13"
3759
+ >
3760
+ <button
3761
+ class="emotion-14 emotion-15"
3762
+ disabled=""
3763
+ >
3764
+ editor.editorToolbar.save
3765
+ </button>
3766
+ <button
3767
+ class="emotion-16 emotion-17"
3768
+ >
3769
+ editor.editorToolbar.deleteUnpublishedEntry
3770
+ </button>
3771
+ </div>
3772
+ <div
3773
+ class="emotion-18 emotion-19"
3774
+ />
3775
+ </div>
3776
+ <div
3777
+ class="emotion-20 emotion-21"
3778
+ >
3779
+ <mock-settings-dropdown />
3780
+ </div>
3781
+ </div>
3782
+ </DocumentFragment>
3783
+ `;
3784
+
3785
+ exports[`EditorToolbar should render with workflow controls hasUnpublishedChanges=true,isNewEntry=false,isModification=true,useOpenAuthoring=false 1`] = `
3786
+ <DocumentFragment>
3787
+ .emotion-0 {
3788
+ box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
3789
+ position: absolute;
3790
+ top: 0;
3791
+ left: 0;
3792
+ width: 100%;
3793
+ min-width: 800px;
3794
+ z-index: 300;
3795
+ background-color: #fff;
3796
+ height: 66px;
3797
+ display: -webkit-box;
3798
+ display: -webkit-flex;
3799
+ display: -ms-flexbox;
3800
+ display: flex;
3801
+ -webkit-box-pack: justify;
3802
+ -webkit-justify-content: space-between;
3803
+ justify-content: space-between;
3804
+ }
3805
+
3806
+ .emotion-2 {
3807
+ height: 100%;
3808
+ display: -webkit-box;
3809
+ display: -webkit-flex;
3810
+ display: -ms-flexbox;
3811
+ display: flex;
3812
+ -webkit-align-items: center;
3813
+ -webkit-box-align: center;
3814
+ -ms-flex-align: center;
3815
+ align-items: center;
3816
+ border: 0 solid #dfdfe3;
3817
+ border-right-width: 1px;
3818
+ font-weight: normal;
3819
+ padding: 0 20px;
3820
+ }
3821
+
3822
+ .emotion-2:hover,
3823
+ .emotion-2:focus {
3824
+ background-color: #f1f2f4;
3825
+ }
3826
+
3827
+ .emotion-4 {
3828
+ color: #313d3e;
3829
+ font-size: 21px;
3830
+ font-weight: 600;
3831
+ margin-right: 16px;
3832
+ }
3833
+
3834
+ .emotion-6 {
3835
+ color: #313d3e;
3836
+ font-size: 14px;
3837
+ }
3838
+
3839
+ .emotion-8 {
3840
+ margin-top: 6px;
3841
+ font-size: 13px;
3842
+ line-height: 1;
3843
+ display: inline-block;
3844
+ font-weight: 700;
3845
+ text-transform: uppercase;
3846
+ color: #005614;
3847
+ }
3848
+
3849
+ .emotion-10 {
3850
+ height: 100%;
3851
+ display: -webkit-box;
3852
+ display: -webkit-flex;
3853
+ display: -ms-flexbox;
3854
+ display: flex;
3855
+ -webkit-align-items: center;
3856
+ -webkit-box-align: center;
3857
+ -ms-flex-align: center;
3858
+ align-items: center;
3859
+ border: 0 solid #dfdfe3;
3860
+ -webkit-flex: 10;
3861
+ -ms-flex: 10;
3862
+ flex: 10;
3863
+ display: -webkit-box;
3864
+ display: -webkit-flex;
3865
+ display: -ms-flexbox;
3866
+ display: flex;
3867
+ -webkit-box-pack: justify;
3868
+ -webkit-justify-content: space-between;
3869
+ justify-content: space-between;
3870
+ padding: 0 10px;
3871
+ }
3872
+
3873
+ .emotion-12 {
3874
+ display: -webkit-box;
3875
+ display: -webkit-flex;
3876
+ display: -ms-flexbox;
3877
+ display: flex;
3878
+ -webkit-align-items: center;
3879
+ -webkit-box-align: center;
3880
+ -ms-flex-align: center;
3881
+ align-items: center;
3882
+ }
3883
+
3884
+ .emotion-14 {
3885
+ border: 0;
3886
+ border-radius: 5px;
3887
+ cursor: pointer;
3888
+ height: 36px;
3889
+ line-height: 36px;
3890
+ font-weight: 500;
3891
+ padding: 0 15px;
3892
+ background-color: #798291;
3893
+ color: #fff;
3894
+ margin: 0 10px;
3895
+ overflow: hidden;
3896
+ white-space: nowrap;
3897
+ text-overflow: ellipsis;
3898
+ display: block;
3899
+ background-color: #e8f5fe;
3900
+ color: #3a69c7;
3901
+ }
3902
+
3903
+ @media (max-width: 1200px) {
3904
+ .emotion-14 {
3905
+ padding: 0 10px;
3906
+ }
3907
+ }
3908
+
3909
+ .emotion-14[disabled] {
3910
+ background-color: #eff0f4;
3911
+ color: #798291;
3912
+ cursor: default;
3913
+ }
3914
+
3915
+ .emotion-16 {
3916
+ border: 0;
3917
+ border-radius: 5px;
3918
+ cursor: pointer;
3919
+ height: 36px;
3920
+ line-height: 36px;
3921
+ font-weight: 500;
3922
+ padding: 0 15px;
3923
+ background-color: #798291;
3924
+ color: #fff;
3925
+ margin: 0 10px;
3926
+ overflow: hidden;
3927
+ white-space: nowrap;
3928
+ text-overflow: ellipsis;
3929
+ display: block;
3930
+ background-color: #fcefea;
3931
+ color: #D60032;
3932
+ }
3933
+
3934
+ @media (max-width: 1200px) {
3935
+ .emotion-16 {
3936
+ padding: 0 10px;
3937
+ }
3938
+ }
3939
+
3940
+ .emotion-18 {
3941
+ display: -webkit-box;
3942
+ display: -webkit-flex;
3943
+ display: -ms-flexbox;
3944
+ display: flex;
3945
+ -webkit-align-items: center;
3946
+ -webkit-box-align: center;
3947
+ -ms-flex-align: center;
3948
+ align-items: center;
3949
+ -webkit-box-pack: end;
3950
+ -ms-flex-pack: end;
3951
+ -webkit-justify-content: flex-end;
3952
+ justify-content: flex-end;
3953
+ }
3954
+
3955
+ .emotion-20 {
3956
+ height: 100%;
3957
+ display: -webkit-box;
3958
+ display: -webkit-flex;
3959
+ display: -ms-flexbox;
3960
+ display: flex;
3961
+ -webkit-align-items: center;
3962
+ -webkit-box-align: center;
3963
+ -ms-flex-align: center;
3964
+ align-items: center;
3965
+ border: 0 solid #dfdfe3;
3966
+ border-left-width: 1px;
3967
+ padding: 0 7px;
3968
+ }
3969
+
3970
+ <div
3971
+ class="emotion-0 emotion-1"
3972
+ >
3973
+ <mock-link
3974
+ class="emotion-2 emotion-3"
3975
+ to=""
3976
+ >
3977
+ <div
3978
+ class="emotion-4 emotion-5"
3979
+ >
3980
+
3981
+ </div>
3982
+ <div>
3983
+ <div
3984
+ class="emotion-6 emotion-7"
3985
+ >
3986
+ editor.editorToolbar.backCollection
3987
+ </div>
3988
+ <div
3989
+ class="emotion-8 emotion-9"
3990
+ >
3991
+ editor.editorToolbar.changesSaved
3992
+ </div>
3993
+ </div>
3994
+ </mock-link>
3995
+ <div
3996
+ class="emotion-10 emotion-11"
3997
+ >
3998
+ <div
3999
+ class="emotion-12 emotion-13"
4000
+ >
4001
+ <button
4002
+ class="emotion-14 emotion-15"
4003
+ disabled=""
4004
+ >
4005
+ editor.editorToolbar.save
4006
+ </button>
4007
+ <button
4008
+ class="emotion-16 emotion-17"
4009
+ >
4010
+ editor.editorToolbar.deleteUnpublishedChanges
4011
+ </button>
4012
+ </div>
4013
+ <div
4014
+ class="emotion-18 emotion-19"
4015
+ />
4016
+ </div>
4017
+ <div
4018
+ class="emotion-20 emotion-21"
4019
+ >
4020
+ <mock-settings-dropdown />
4021
+ </div>
4022
+ </div>
4023
+ </DocumentFragment>
4024
+ `;
4025
+
4026
+ exports[`EditorToolbar should render with workflow controls hasUnpublishedChanges=true,isNewEntry=false,isModification=true,useOpenAuthoring=true 1`] = `
4027
+ <DocumentFragment>
4028
+ .emotion-0 {
4029
+ box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
4030
+ position: absolute;
4031
+ top: 0;
4032
+ left: 0;
4033
+ width: 100%;
4034
+ min-width: 800px;
4035
+ z-index: 300;
4036
+ background-color: #fff;
4037
+ height: 66px;
4038
+ display: -webkit-box;
4039
+ display: -webkit-flex;
4040
+ display: -ms-flexbox;
4041
+ display: flex;
4042
+ -webkit-box-pack: justify;
4043
+ -webkit-justify-content: space-between;
4044
+ justify-content: space-between;
4045
+ }
4046
+
4047
+ .emotion-2 {
4048
+ height: 100%;
4049
+ display: -webkit-box;
4050
+ display: -webkit-flex;
4051
+ display: -ms-flexbox;
4052
+ display: flex;
4053
+ -webkit-align-items: center;
4054
+ -webkit-box-align: center;
4055
+ -ms-flex-align: center;
4056
+ align-items: center;
4057
+ border: 0 solid #dfdfe3;
4058
+ border-right-width: 1px;
4059
+ font-weight: normal;
4060
+ padding: 0 20px;
4061
+ }
4062
+
4063
+ .emotion-2:hover,
4064
+ .emotion-2:focus {
4065
+ background-color: #f1f2f4;
4066
+ }
4067
+
4068
+ .emotion-4 {
4069
+ color: #313d3e;
4070
+ font-size: 21px;
4071
+ font-weight: 600;
4072
+ margin-right: 16px;
4073
+ }
4074
+
4075
+ .emotion-6 {
4076
+ color: #313d3e;
4077
+ font-size: 14px;
4078
+ }
4079
+
4080
+ .emotion-8 {
4081
+ margin-top: 6px;
4082
+ font-size: 13px;
4083
+ line-height: 1;
4084
+ display: inline-block;
4085
+ font-weight: 700;
4086
+ text-transform: uppercase;
4087
+ color: #005614;
4088
+ }
4089
+
4090
+ .emotion-10 {
4091
+ height: 100%;
4092
+ display: -webkit-box;
4093
+ display: -webkit-flex;
4094
+ display: -ms-flexbox;
4095
+ display: flex;
4096
+ -webkit-align-items: center;
4097
+ -webkit-box-align: center;
4098
+ -ms-flex-align: center;
4099
+ align-items: center;
4100
+ border: 0 solid #dfdfe3;
4101
+ -webkit-flex: 10;
4102
+ -ms-flex: 10;
4103
+ flex: 10;
4104
+ display: -webkit-box;
4105
+ display: -webkit-flex;
4106
+ display: -ms-flexbox;
4107
+ display: flex;
4108
+ -webkit-box-pack: justify;
4109
+ -webkit-justify-content: space-between;
4110
+ justify-content: space-between;
4111
+ padding: 0 10px;
4112
+ }
4113
+
4114
+ .emotion-12 {
4115
+ display: -webkit-box;
4116
+ display: -webkit-flex;
4117
+ display: -ms-flexbox;
4118
+ display: flex;
4119
+ -webkit-align-items: center;
4120
+ -webkit-box-align: center;
4121
+ -ms-flex-align: center;
4122
+ align-items: center;
4123
+ }
4124
+
4125
+ .emotion-14 {
4126
+ border: 0;
4127
+ border-radius: 5px;
4128
+ cursor: pointer;
4129
+ height: 36px;
4130
+ line-height: 36px;
4131
+ font-weight: 500;
4132
+ padding: 0 15px;
4133
+ background-color: #798291;
4134
+ color: #fff;
4135
+ margin: 0 10px;
4136
+ overflow: hidden;
4137
+ white-space: nowrap;
4138
+ text-overflow: ellipsis;
4139
+ display: block;
4140
+ background-color: #e8f5fe;
4141
+ color: #3a69c7;
4142
+ }
4143
+
4144
+ @media (max-width: 1200px) {
4145
+ .emotion-14 {
4146
+ padding: 0 10px;
4147
+ }
4148
+ }
4149
+
4150
+ .emotion-14[disabled] {
4151
+ background-color: #eff0f4;
4152
+ color: #798291;
4153
+ cursor: default;
4154
+ }
4155
+
4156
+ .emotion-16 {
4157
+ border: 0;
4158
+ border-radius: 5px;
4159
+ cursor: pointer;
4160
+ height: 36px;
4161
+ line-height: 36px;
4162
+ font-weight: 500;
4163
+ padding: 0 15px;
4164
+ background-color: #798291;
4165
+ color: #fff;
4166
+ margin: 0 10px;
4167
+ overflow: hidden;
4168
+ white-space: nowrap;
4169
+ text-overflow: ellipsis;
4170
+ display: block;
4171
+ background-color: #fcefea;
4172
+ color: #D60032;
4173
+ }
4174
+
4175
+ @media (max-width: 1200px) {
4176
+ .emotion-16 {
4177
+ padding: 0 10px;
4178
+ }
4179
+ }
4180
+
4181
+ .emotion-18 {
4182
+ display: -webkit-box;
4183
+ display: -webkit-flex;
4184
+ display: -ms-flexbox;
4185
+ display: flex;
4186
+ -webkit-align-items: center;
4187
+ -webkit-box-align: center;
4188
+ -ms-flex-align: center;
4189
+ align-items: center;
4190
+ -webkit-box-pack: end;
4191
+ -ms-flex-pack: end;
4192
+ -webkit-justify-content: flex-end;
4193
+ justify-content: flex-end;
4194
+ }
4195
+
4196
+ .emotion-20 {
4197
+ height: 100%;
4198
+ display: -webkit-box;
4199
+ display: -webkit-flex;
4200
+ display: -ms-flexbox;
4201
+ display: flex;
4202
+ -webkit-align-items: center;
4203
+ -webkit-box-align: center;
4204
+ -ms-flex-align: center;
4205
+ align-items: center;
4206
+ border: 0 solid #dfdfe3;
4207
+ border-left-width: 1px;
4208
+ padding: 0 7px;
4209
+ }
4210
+
4211
+ <div
4212
+ class="emotion-0 emotion-1"
4213
+ >
4214
+ <mock-link
4215
+ class="emotion-2 emotion-3"
4216
+ to=""
4217
+ >
4218
+ <div
4219
+ class="emotion-4 emotion-5"
4220
+ >
4221
+
4222
+ </div>
4223
+ <div>
4224
+ <div
4225
+ class="emotion-6 emotion-7"
4226
+ >
4227
+ editor.editorToolbar.backCollection
4228
+ </div>
4229
+ <div
4230
+ class="emotion-8 emotion-9"
4231
+ >
4232
+ editor.editorToolbar.changesSaved
4233
+ </div>
4234
+ </div>
4235
+ </mock-link>
4236
+ <div
4237
+ class="emotion-10 emotion-11"
4238
+ >
4239
+ <div
4240
+ class="emotion-12 emotion-13"
4241
+ >
4242
+ <button
4243
+ class="emotion-14 emotion-15"
4244
+ disabled=""
4245
+ >
4246
+ editor.editorToolbar.save
4247
+ </button>
4248
+ <button
4249
+ class="emotion-16 emotion-17"
4250
+ >
4251
+ editor.editorToolbar.deleteUnpublishedChanges
4252
+ </button>
4253
+ </div>
4254
+ <div
4255
+ class="emotion-18 emotion-19"
4256
+ />
4257
+ </div>
4258
+ <div
4259
+ class="emotion-20 emotion-21"
4260
+ >
4261
+ <mock-settings-dropdown />
4262
+ </div>
4263
+ </div>
4264
+ </DocumentFragment>
4265
+ `;