@pranaysahith/decap-cms-core 3.9.1

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