@instructure/canvas-rce 5.14.2 → 5.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/DEVELOPMENT.md +1 -1
- package/es/bridge/Bridge.js +10 -17
- package/es/canvasFileBrowser/FileBrowser.js +10 -19
- package/es/common/FlashAlert.js +8 -11
- package/es/common/fileUrl.js +6 -10
- package/es/common/incremental-loading/LoadMoreButton.js +3 -4
- package/es/common/incremental-loading/LoadingStatus.js +4 -11
- package/es/common/indicate.js +1 -2
- package/es/defaultTinymceConfig.js +1 -1
- package/es/enhance-user-content/doc_previews.js +10 -10
- package/es/enhance-user-content/enhance_user_content.js +4 -7
- package/es/enhance-user-content/external_links.js +1 -1
- package/es/enhance-user-content/instructure_helper.js +11 -17
- package/es/enhance-user-content/mathml.js +15 -27
- package/es/enhance-user-content/media_comment_thumbnail.js +3 -10
- package/es/format-message.js +2 -2
- package/es/index.js +3 -5
- package/es/rce/AlertMessageArea.js +15 -16
- package/es/rce/KeyboardShortcutModal.js +2 -2
- package/es/rce/RCE.js +6 -8
- package/es/rce/RCEVariants.js +2 -4
- package/es/rce/RCEWrapper.js +397 -289
- package/es/rce/RCEWrapper.utils.js +131 -0
- package/es/rce/RCEWrapperProps.js +2 -3
- package/es/rce/RceHtmlEditor.js +12 -11
- package/es/rce/ResizeHandle.js +1 -2
- package/es/rce/ShowOnFocusButton/index.js +2 -2
- package/es/rce/StatusBar.js +5 -10
- package/es/rce/contentInsertion.js +1 -2
- package/es/rce/contentRendering.js +6 -5
- package/es/rce/editorLanguage.js +1 -1
- package/es/rce/indicatorRegion.js +1 -2
- package/es/rce/normalizeProps.js +4 -4
- package/es/rce/plugins/instructure_color/clickCallback.js +2 -4
- package/es/rce/plugins/instructure_color/components/ColorPicker.js +17 -22
- package/es/rce/plugins/instructure_color/components/ColorPopup.js +7 -8
- package/es/rce/plugins/instructure_condensed_buttons/ui/list-button.js +4 -10
- package/es/rce/plugins/instructure_condensed_buttons/ui/subscript-superscript-button.js +1 -1
- package/es/rce/plugins/instructure_documents/components/Link.js +1 -2
- package/es/rce/plugins/instructure_equation/EquationEditorModal/index.js +5 -8
- package/es/rce/plugins/instructure_equation/EquationEditorModal/latexTextareaUtil.js +3 -3
- package/es/rce/plugins/instructure_equation/EquationEditorModal/parseLatex.js +3 -3
- package/es/rce/plugins/instructure_equation/EquationEditorToolbar/buttons.js +2 -2
- package/es/rce/plugins/instructure_equation/EquationEditorToolbar/index.js +9 -11
- package/es/rce/plugins/instructure_equation/MathIcon/index.js +3 -4
- package/es/rce/plugins/instructure_equation/mathlive/index.js +167 -16
- package/es/rce/plugins/instructure_fullscreen/plugin.js +0 -2
- package/es/rce/plugins/instructure_icon_maker/clickCallback.js +3 -4
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ColorSection.js +46 -49
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/CreateIconMakerForm.js +9 -10
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/Footer.js +10 -11
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/Group.js +5 -6
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/Header.js +7 -8
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/Course.js +7 -9
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/ImageOptions.js +19 -26
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/ImageSection.js +8 -12
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/ModeSelect.js +6 -7
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/MultiColor/index.js +5 -6
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/SVGList.js +6 -7
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/SVGThumbnail.js +8 -10
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/SingleColor/index.js +5 -6
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/SingleColor/svg.js +32 -80
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/Upload.js +7 -8
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/utils.js +4 -5
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/Preview.js +3 -4
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ShapeSection.js +4 -5
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/TextSection.js +4 -5
- package/es/rce/plugins/instructure_icon_maker/components/IconMakerTray.js +22 -29
- package/es/rce/plugins/instructure_icon_maker/registerEditToolbar.js +1 -1
- package/es/rce/plugins/instructure_icon_maker/svg/image.js +5 -7
- package/es/rce/plugins/instructure_icon_maker/svg/index.js +6 -9
- package/es/rce/plugins/instructure_icon_maker/svg/settings.js +17 -20
- package/es/rce/plugins/instructure_icon_maker/svg/shape.js +4 -5
- package/es/rce/plugins/instructure_icon_maker/svg/text.js +28 -32
- package/es/rce/plugins/instructure_icon_maker/svg/utils.js +2 -4
- package/es/rce/plugins/instructure_icon_maker/utils/IconMakerClose.js +2 -3
- package/es/rce/plugins/instructure_icon_maker/utils/iconValidation.js +1 -2
- package/es/rce/plugins/instructure_image/ImageEmbedOptions.js +3 -7
- package/es/rce/plugins/instructure_image/ImageList/Image.js +7 -8
- package/es/rce/plugins/instructure_image/ImageList/index.js +7 -8
- package/es/rce/plugins/instructure_image/ImageOptionsTray/TrayController.js +2 -4
- package/es/rce/plugins/instructure_image/ImageOptionsTray/index.js +3 -3
- package/es/rce/plugins/instructure_image/plugin.js +1 -2
- package/es/rce/plugins/instructure_links/components/AccordionSection.js +7 -8
- package/es/rce/plugins/instructure_links/components/Link.js +61 -65
- package/es/rce/plugins/instructure_links/components/LinkOptionsDialog/LinkOptionsDialogController.js +1 -2
- package/es/rce/plugins/instructure_links/components/LinkOptionsDialog/index.js +2 -2
- package/es/rce/plugins/instructure_links/components/LinkOptionsTray/index.js +2 -2
- package/es/rce/plugins/instructure_links/components/LinkSet.js +28 -37
- package/es/rce/plugins/instructure_links/components/LinksPanel.js +21 -8
- package/es/rce/plugins/instructure_links/components/NoResults.js +6 -7
- package/es/rce/plugins/instructure_links/plugin.js +6 -9
- package/es/rce/plugins/instructure_media_embed/clickCallback.js +3 -4
- package/es/rce/plugins/instructure_media_embed/components/Embed.js +6 -7
- package/es/rce/plugins/instructure_paste/plugin.js +5 -7
- package/es/rce/plugins/instructure_rce_external_tools/ExternalToolsEnv.js +24 -33
- package/es/rce/plugins/instructure_rce_external_tools/RceToolWrapper.js +7 -38
- package/es/rce/plugins/instructure_rce_external_tools/components/ExternalToolDialog/ExternalToolDialog.js +30 -29
- package/es/rce/plugins/instructure_rce_external_tools/components/ExternalToolSelectionDialog/ExternalToolSelectionDialog.js +3 -4
- package/es/rce/plugins/instructure_rce_external_tools/dialog-helper.js +1 -2
- package/es/rce/plugins/instructure_rce_external_tools/jquery/jquery.dropdownList.js +3 -4
- package/es/rce/plugins/instructure_rce_external_tools/lti11-content-items/RceLti11ContentItem.js +17 -24
- package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/RceLti13ContentItem.js +2 -2
- package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/models/BaseLinkContentItem.js +4 -5
- package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/processEditorContentItems.js +8 -9
- package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/rceLti13ContentItemFromJson.js +0 -1
- package/es/rce/plugins/instructure_rce_external_tools/plugin.js +4 -4
- package/es/rce/plugins/instructure_rce_external_tools/util/externalToolsForToolbar.js +42 -0
- package/es/rce/plugins/instructure_record/AudioOptionsTray/TrayController.js +5 -10
- package/es/rce/plugins/instructure_record/AudioOptionsTray/index.js +12 -13
- package/es/rce/plugins/instructure_record/VideoOptionsTray/TrayController.js +8 -15
- package/es/rce/plugins/instructure_record/VideoOptionsTray/index.js +19 -20
- package/es/rce/plugins/instructure_record/clickCallback.js +26 -30
- package/es/rce/plugins/instructure_search_and_replace/clickCallback.js +2 -3
- package/es/rce/plugins/instructure_search_and_replace/components/FindReplaceTray.js +14 -16
- package/es/rce/plugins/instructure_search_and_replace/components/FindReplaceTrayController.js +9 -12
- package/es/rce/plugins/instructure_search_and_replace/plugin.js +1 -2
- package/es/rce/plugins/instructure_wordcount/clickCallback.js +3 -4
- package/es/rce/plugins/instructure_wordcount/components/WordCountModal.js +26 -33
- package/es/rce/plugins/instructure_wordcount/utils/countContent.js +3 -3
- package/es/rce/plugins/instructure_wordcount/utils/tableContent.js +5 -8
- package/es/rce/plugins/shared/CanvasContentTray.js +9 -16
- package/es/rce/plugins/shared/ColorInput.js +22 -25
- package/es/rce/plugins/shared/ConditionalTooltip.js +5 -6
- package/es/rce/plugins/shared/ContentSelection.js +12 -20
- package/es/rce/plugins/shared/DimensionUtils.js +2 -4
- package/es/rce/plugins/shared/EventUtils.js +1 -1
- package/es/rce/plugins/shared/FixedContentTray.js +13 -14
- package/es/rce/plugins/shared/ImageCropper/DirectionRegion.js +3 -4
- package/es/rce/plugins/shared/ImageCropper/Modal.js +12 -13
- package/es/rce/plugins/shared/ImageCropper/Preview.js +11 -13
- package/es/rce/plugins/shared/ImageCropper/controls/CustomNumberInput.js +8 -9
- package/es/rce/plugins/shared/ImageCropper/controls/ResetControls.js +3 -4
- package/es/rce/plugins/shared/ImageCropper/controls/RotationControls.js +4 -5
- package/es/rce/plugins/shared/ImageCropper/controls/ShapeControls.js +7 -11
- package/es/rce/plugins/shared/ImageCropper/controls/ZoomControls.js +4 -5
- package/es/rce/plugins/shared/ImageCropper/controls/index.js +4 -5
- package/es/rce/plugins/shared/ImageCropper/controls/useDebouncedNumericValue.js +13 -15
- package/es/rce/plugins/shared/ImageCropper/imageCropUtils.js +18 -21
- package/es/rce/plugins/shared/ImageCropper/svg/shape.js +4 -5
- package/es/rce/plugins/shared/ImageCropper/svg/utils.js +2 -4
- package/es/rce/plugins/shared/ImageCropper/useKeyMouseEvents.js +1 -4
- package/es/rce/plugins/shared/ImageOptionsForm.js +17 -18
- package/es/rce/plugins/shared/LinkDisplay.js +8 -9
- package/es/rce/plugins/shared/PreviewIcon.js +8 -9
- package/es/rce/plugins/shared/RceFileBrowser.js +2 -3
- package/es/rce/plugins/shared/StoreContext.js +8 -10
- package/es/rce/plugins/shared/StudioLtiSupportUtils.js +5 -6
- package/es/rce/plugins/shared/Upload/CanvasContentPanel.js +6 -7
- package/es/rce/plugins/shared/Upload/CategoryProcessor.js +1 -2
- package/es/rce/plugins/shared/Upload/ComputerPanel.js +11 -14
- package/es/rce/plugins/shared/Upload/PanelFilter.js +7 -8
- package/es/rce/plugins/shared/Upload/UploadFile.js +19 -22
- package/es/rce/plugins/shared/Upload/UploadFileModal.js +28 -34
- package/es/rce/plugins/shared/Upload/UrlPanel.js +4 -5
- package/es/rce/plugins/shared/Upload/UsageRightsSelectBox.js +18 -24
- package/es/rce/plugins/shared/Upload/doFileUpload.js +6 -7
- package/es/rce/plugins/shared/ai_tools/AIResponseModal.js +7 -8
- package/es/rce/plugins/shared/ai_tools/AIToolsTray.js +14 -17
- package/es/rce/plugins/shared/ai_tools/aiicons.js +2 -2
- package/es/rce/plugins/shared/canvasContentUtils.js +1 -2
- package/es/rce/plugins/shared/compressionUtils.js +17 -20
- package/es/rce/plugins/shared/do-fetch-api-effect/doFetchApi.js +12 -15
- package/es/rce/plugins/shared/do-fetch-api-effect/get-cookie.js +1 -1
- package/es/rce/plugins/shared/fileTypeUtils.js +3 -6
- package/es/rce/plugins/shared/round.js +1 -2
- package/es/rce/plugins/shared/trayUtils.js +3 -0
- package/es/rce/plugins/shared/useDataUrl.js +4 -5
- package/es/rce/plugins/tinymce-a11y-checker/components/ColorField.js +2 -2
- package/es/rce/plugins/tinymce-a11y-checker/components/checker.js +8 -10
- package/es/rce/plugins/tinymce-a11y-checker/node-checker.js +1 -3
- package/es/rce/plugins/tinymce-a11y-checker/plugin.js +14 -17
- package/es/rce/plugins/tinymce-a11y-checker/rules/headings-start-at-h2.js +1 -2
- package/es/rce/plugins/tinymce-a11y-checker/rules/large-text-contrast.js +1 -2
- package/es/rce/plugins/tinymce-a11y-checker/rules/small-text-contrast.js +1 -2
- package/es/rce/plugins/tinymce-a11y-checker/utils/dom.js +2 -4
- package/es/rce/plugins/tinymce-a11y-checker/utils/indicate.js +2 -3
- package/es/rce/plugins/tinymce-a11y-checker/utils/rgb-hex.js +1 -4
- package/es/rce/root.js +9 -9
- package/es/rce/tinyRCE.js +1 -0
- package/es/rce/transformContent.js +1 -1
- package/es/rcs/api.js +39 -55
- package/es/rcs/buildError.js +3 -3
- package/es/rcs/fake.js +5 -7
- package/es/sidebar/actions/documents.js +10 -12
- package/es/sidebar/actions/files.js +18 -22
- package/es/sidebar/actions/filter.js +4 -5
- package/es/sidebar/actions/images.js +20 -26
- package/es/sidebar/actions/media.js +15 -18
- package/es/sidebar/actions/session.js +1 -2
- package/es/sidebar/actions/upload.js +26 -37
- package/es/sidebar/containers/sidebarHandlers.js +6 -12
- package/es/sidebar/dragHtml.js +6 -2
- package/es/sidebar/reducers/all_files.js +1 -3
- package/es/sidebar/reducers/collection.js +1 -3
- package/es/sidebar/reducers/collections.js +1 -3
- package/es/sidebar/reducers/documents.js +1 -3
- package/es/sidebar/reducers/files.js +1 -3
- package/es/sidebar/reducers/filter.js +7 -15
- package/es/sidebar/reducers/flickr.js +1 -3
- package/es/sidebar/reducers/folder.js +1 -3
- package/es/sidebar/reducers/folders.js +1 -3
- package/es/sidebar/reducers/images.js +1 -3
- package/es/sidebar/reducers/media.js +1 -3
- package/es/sidebar/reducers/newPageLinkExpanded.js +1 -3
- package/es/sidebar/reducers/noop.js +1 -2
- package/es/sidebar/reducers/rootFolderId.js +1 -3
- package/es/sidebar/reducers/session.js +1 -3
- package/es/sidebar/reducers/ui.js +3 -9
- package/es/sidebar/reducers/upload.js +8 -24
- package/es/sidebar/store/initialState.js +1 -2
- package/es/translations/locales/ar.js +6 -0
- package/es/translations/locales/ca.js +6 -0
- package/es/translations/locales/cy.js +6 -0
- package/es/translations/locales/da-x-k12.js +6 -0
- package/es/translations/locales/da.js +6 -0
- package/es/translations/locales/de.js +6 -0
- package/es/translations/locales/en-AU-x-unimelb.js +6 -0
- package/es/translations/locales/en-GB-x-ukhe.js +6 -0
- package/es/translations/locales/en_AU.js +6 -0
- package/es/translations/locales/en_CA.js +6 -0
- package/es/translations/locales/en_CY.js +6 -0
- package/es/translations/locales/en_GB.js +6 -0
- package/es/translations/locales/es.js +6 -0
- package/es/translations/locales/es_ES.js +6 -0
- package/es/translations/locales/fi.js +6 -0
- package/es/translations/locales/fr.js +6 -0
- package/es/translations/locales/fr_CA.js +6 -0
- package/es/translations/locales/hi.js +6 -0
- package/es/translations/locales/ht.js +6 -0
- package/es/translations/locales/id.js +6 -0
- package/es/translations/locales/is.js +6 -0
- package/es/translations/locales/it.js +6 -0
- package/es/translations/locales/ja.js +6 -0
- package/es/translations/locales/mi.js +6 -0
- package/es/translations/locales/ms.js +6 -0
- package/es/translations/locales/nb-x-k12.js +6 -0
- package/es/translations/locales/nb.js +6 -0
- package/es/translations/locales/nl.js +6 -0
- package/es/translations/locales/pl.js +6 -0
- package/es/translations/locales/pt.js +6 -0
- package/es/translations/locales/pt_BR.js +6 -0
- package/es/translations/locales/ru.js +6 -0
- package/es/translations/locales/sl.js +6 -0
- package/es/translations/locales/sv-x-k12.js +6 -0
- package/es/translations/locales/sv.js +6 -0
- package/es/translations/locales/th.js +6 -0
- package/es/translations/locales/vi.js +6 -0
- package/es/translations/locales/zh-Hans.js +6 -0
- package/es/translations/locales/zh-Hant.js +6 -0
- package/es/translations/locales/zh.js +6 -0
- package/es/translations/locales/zh_HK.js +6 -0
- package/es/util/elem-util.js +1 -1
- package/es/util/file-url-util.js +1 -1
- package/es/util/fullscreenHelpers.js +6 -9
- package/es/util/loadingPlaceholder.js +2 -3
- package/es/util/simpleCache.js +1 -2
- package/es/util/url-util.js +5 -5
- package/eslint.config.js +15 -4
- package/locales/en.json +190 -10
- package/package.json +56 -55
- package/scripts/installTranslations.js +7 -8
- package/tsconfig.json +1 -1
- package/types/format-message-generate-id.d.ts +22 -0
- package/types/js-beautify.d.ts +21 -0
package/locales/en.json
CHANGED
|
@@ -35,6 +35,12 @@
|
|
|
35
35
|
"adjacent_links_with_the_same_url_should_be_a_singl_7a1f7f6c": {
|
|
36
36
|
"message": "Adjacent links with the same URL should be a single link."
|
|
37
37
|
},
|
|
38
|
+
"ai_response_9624e8e8": {
|
|
39
|
+
"message": "AI Response"
|
|
40
|
+
},
|
|
41
|
+
"ai_tools_fda01177": {
|
|
42
|
+
"message": "AI Tools"
|
|
43
|
+
},
|
|
38
44
|
"aleph_f4ffd155": {
|
|
39
45
|
"message": "Aleph"
|
|
40
46
|
},
|
|
@@ -71,6 +77,9 @@
|
|
|
71
77
|
"an_error_occurred_making_a_network_request_d1bda348": {
|
|
72
78
|
"message": "An error occurred making a network request"
|
|
73
79
|
},
|
|
80
|
+
"an_error_occurred_processing_your_request_a3a38d84": {
|
|
81
|
+
"message": "An error occurred processing your request"
|
|
82
|
+
},
|
|
74
83
|
"an_error_occurred_uploading_your_media_71f1444d": {
|
|
75
84
|
"message": "An error occurred uploading your media."
|
|
76
85
|
},
|
|
@@ -146,6 +155,9 @@
|
|
|
146
155
|
"available_folders_694d0436": {
|
|
147
156
|
"message": "Available folders"
|
|
148
157
|
},
|
|
158
|
+
"background_1bc88842": {
|
|
159
|
+
"message": "Background"
|
|
160
|
+
},
|
|
149
161
|
"backslash_b2d5442d": {
|
|
150
162
|
"message": "Backslash"
|
|
151
163
|
},
|
|
@@ -176,6 +188,9 @@
|
|
|
176
188
|
"blue_daf8fea9": {
|
|
177
189
|
"message": "Blue"
|
|
178
190
|
},
|
|
191
|
+
"border_5b08b06d": {
|
|
192
|
+
"message": "Border"
|
|
193
|
+
},
|
|
179
194
|
"bottom_15a2a9be": {
|
|
180
195
|
"message": "Bottom"
|
|
181
196
|
},
|
|
@@ -299,12 +314,24 @@
|
|
|
299
314
|
"collapse_to_hide_types_1ab46d2e": {
|
|
300
315
|
"message": "Collapse to hide { types }"
|
|
301
316
|
},
|
|
317
|
+
"color_a363e1b0": {
|
|
318
|
+
"message": "Color"
|
|
319
|
+
},
|
|
320
|
+
"color_contrast_4c418add": {
|
|
321
|
+
"message": "Color Contrast"
|
|
322
|
+
},
|
|
323
|
+
"color_contrast_ratio_687782f0": {
|
|
324
|
+
"message": "Color Contrast Ratio"
|
|
325
|
+
},
|
|
302
326
|
"color_picker_6b359edf": {
|
|
303
327
|
"message": "Color Picker"
|
|
304
328
|
},
|
|
305
329
|
"color_picker_colorname_selected_ad4cf400": {
|
|
306
330
|
"message": "Color Picker ({ colorName } selected)"
|
|
307
331
|
},
|
|
332
|
+
"color_popup_af39810f": {
|
|
333
|
+
"message": "Color popup"
|
|
334
|
+
},
|
|
308
335
|
"column_e1ae5c64": {
|
|
309
336
|
"message": "Column"
|
|
310
337
|
},
|
|
@@ -314,6 +341,9 @@
|
|
|
314
341
|
"complex_numbers_a543d004": {
|
|
315
342
|
"message": "Complex Numbers"
|
|
316
343
|
},
|
|
344
|
+
"compose_44c904f4": {
|
|
345
|
+
"message": "Compose"
|
|
346
|
+
},
|
|
317
347
|
"computer_1d7dfa6f": {
|
|
318
348
|
"message": "Computer"
|
|
319
349
|
},
|
|
@@ -326,6 +356,9 @@
|
|
|
326
356
|
"content_1440204b": {
|
|
327
357
|
"message": "Content"
|
|
328
358
|
},
|
|
359
|
+
"content_in_the_editor_will_be_changed_press_cancel_d5bf3357": {
|
|
360
|
+
"message": "Content in the editor will be changed. Press Cancel to keep the original content."
|
|
361
|
+
},
|
|
329
362
|
"content_is_still_being_uploaded_if_you_continue_it_8f06d0cb": {
|
|
330
363
|
"message": "Content is still being uploaded, if you continue it will not be embedded properly."
|
|
331
364
|
},
|
|
@@ -338,6 +371,9 @@
|
|
|
338
371
|
"coproduct_e7838082": {
|
|
339
372
|
"message": "Coproduct"
|
|
340
373
|
},
|
|
374
|
+
"copy_9748f9f": {
|
|
375
|
+
"message": "Copy"
|
|
376
|
+
},
|
|
341
377
|
"copyright_holder_66ee111": {
|
|
342
378
|
"message": "Copyright Holder:"
|
|
343
379
|
},
|
|
@@ -434,6 +470,9 @@
|
|
|
434
470
|
"deep_purple_bb3e2907": {
|
|
435
471
|
"message": "Deep Purple"
|
|
436
472
|
},
|
|
473
|
+
"default_9db103d": {
|
|
474
|
+
"message": "Default"
|
|
475
|
+
},
|
|
437
476
|
"default_bulleted_unordered_list_47079da8": {
|
|
438
477
|
"message": "default bulleted unordered list"
|
|
439
478
|
},
|
|
@@ -506,6 +545,9 @@
|
|
|
506
545
|
"disjoint_union_e74351a8": {
|
|
507
546
|
"message": "Disjoint Union"
|
|
508
547
|
},
|
|
548
|
+
"dislike_14befc48": {
|
|
549
|
+
"message": "Dislike"
|
|
550
|
+
},
|
|
509
551
|
"display_options_315aba85": {
|
|
510
552
|
"message": "Display Options"
|
|
511
553
|
},
|
|
@@ -581,8 +623,8 @@
|
|
|
581
623
|
"edit_link_7f53bebb": {
|
|
582
624
|
"message": "Edit Link"
|
|
583
625
|
},
|
|
584
|
-
"
|
|
585
|
-
"message": "Editor
|
|
626
|
+
"editor_status_bar_653f44ee": {
|
|
627
|
+
"message": "Editor Status Bar"
|
|
586
628
|
},
|
|
587
629
|
"element_starting_with_start_91bf4c3b": {
|
|
588
630
|
"message": "Element starting with { start }"
|
|
@@ -629,6 +671,15 @@
|
|
|
629
671
|
"enter_at_least_3_characters_to_search_4f037ee0": {
|
|
630
672
|
"message": "Enter at least 3 characters to search"
|
|
631
673
|
},
|
|
674
|
+
"enter_replacement_text_17631bbc": {
|
|
675
|
+
"message": "enter replacement text"
|
|
676
|
+
},
|
|
677
|
+
"enter_search_text_26cb4459": {
|
|
678
|
+
"message": "enter search text"
|
|
679
|
+
},
|
|
680
|
+
"enter_text_8b35c65b": {
|
|
681
|
+
"message": "Enter text"
|
|
682
|
+
},
|
|
632
683
|
"epsilon_54bb8afa": {
|
|
633
684
|
"message": "Epsilon"
|
|
634
685
|
},
|
|
@@ -689,9 +740,15 @@
|
|
|
689
740
|
"f_function_fe422d65": {
|
|
690
741
|
"message": "F (function)"
|
|
691
742
|
},
|
|
743
|
+
"fail_544e5dde": {
|
|
744
|
+
"message": "FAIL"
|
|
745
|
+
},
|
|
692
746
|
"failed_getting_file_contents_e9ea19f4": {
|
|
693
747
|
"message": "Failed getting file contents"
|
|
694
748
|
},
|
|
749
|
+
"failed_to_copy_response_d3def551": {
|
|
750
|
+
"message": "Failed to copy response"
|
|
751
|
+
},
|
|
695
752
|
"failed_to_retrieve_content_from_external_tool_5899c213": {
|
|
696
753
|
"message": "Failed to retrieve content from external tool"
|
|
697
754
|
},
|
|
@@ -719,6 +776,12 @@
|
|
|
719
776
|
"files_index_af7c662b": {
|
|
720
777
|
"message": "Files Index"
|
|
721
778
|
},
|
|
779
|
+
"find_8d605019": {
|
|
780
|
+
"message": "Find"
|
|
781
|
+
},
|
|
782
|
+
"find_and_replace_6e345933": {
|
|
783
|
+
"message": "Find and Replace"
|
|
784
|
+
},
|
|
722
785
|
"finish_bc343002": {
|
|
723
786
|
"message": "Finish"
|
|
724
787
|
},
|
|
@@ -779,6 +842,9 @@
|
|
|
779
842
|
"grades_a61eba0a": {
|
|
780
843
|
"message": "Grades"
|
|
781
844
|
},
|
|
845
|
+
"graphics_text_bc9568bc": {
|
|
846
|
+
"message": "Graphics text"
|
|
847
|
+
},
|
|
782
848
|
"greater_than_e98af662": {
|
|
783
849
|
"message": "Greater Than"
|
|
784
850
|
},
|
|
@@ -863,6 +929,12 @@
|
|
|
863
929
|
"height_69b03e15": {
|
|
864
930
|
"message": "Height"
|
|
865
931
|
},
|
|
932
|
+
"hello_please_describe_the_modifications_you_would__49b19837": {
|
|
933
|
+
"message": "Hello. Please describe the modifications you would like to make to your composition."
|
|
934
|
+
},
|
|
935
|
+
"hello_please_describe_the_modifications_you_would__600dbbf0": {
|
|
936
|
+
"message": "Hello. Please describe the modifications you would like to make to your selection."
|
|
937
|
+
},
|
|
866
938
|
"hexagon_d8468e0d": {
|
|
867
939
|
"message": "Hexagon"
|
|
868
940
|
},
|
|
@@ -890,6 +962,9 @@
|
|
|
890
962
|
"i_hold_the_copyright_71ee91b1": {
|
|
891
963
|
"message": "I hold the copyright"
|
|
892
964
|
},
|
|
965
|
+
"i_m_sorry_but_i_cannot_find_the_ai_s_answer_67569d19": {
|
|
966
|
+
"message": "I''m sorry, but I cannot find the AI''s answer"
|
|
967
|
+
},
|
|
893
968
|
"icon_215a1dc6": {
|
|
894
969
|
"message": "Icon"
|
|
895
970
|
},
|
|
@@ -965,6 +1040,9 @@
|
|
|
965
1040
|
"indefinite_integral_6623307e": {
|
|
966
1041
|
"message": "Indefinite Integral"
|
|
967
1042
|
},
|
|
1043
|
+
"index_of_max_80dcf7a5": {
|
|
1044
|
+
"message": "{ index } of { max }"
|
|
1045
|
+
},
|
|
968
1046
|
"indigo_2035fc55": {
|
|
969
1047
|
"message": "Indigo"
|
|
970
1048
|
},
|
|
@@ -974,6 +1052,18 @@
|
|
|
974
1052
|
"infinity_7a10f206": {
|
|
975
1053
|
"message": "Infinity"
|
|
976
1054
|
},
|
|
1055
|
+
"input_field_for_alpha_678265fd": {
|
|
1056
|
+
"message": "Input field for alpha"
|
|
1057
|
+
},
|
|
1058
|
+
"input_field_for_blue_561e020a": {
|
|
1059
|
+
"message": "Input field for blue"
|
|
1060
|
+
},
|
|
1061
|
+
"input_field_for_green_67f8b2b6": {
|
|
1062
|
+
"message": "Input field for green"
|
|
1063
|
+
},
|
|
1064
|
+
"input_field_for_red_86a84615": {
|
|
1065
|
+
"message": "Input field for red"
|
|
1066
|
+
},
|
|
977
1067
|
"insert_593145ef": {
|
|
978
1068
|
"message": "Insert"
|
|
979
1069
|
},
|
|
@@ -1032,6 +1122,9 @@
|
|
|
1032
1122
|
"large_9c5e80e7": {
|
|
1033
1123
|
"message": "Large"
|
|
1034
1124
|
},
|
|
1125
|
+
"large_text_e7ba08cd": {
|
|
1126
|
+
"message": "Large text"
|
|
1127
|
+
},
|
|
1035
1128
|
"learn_more_about_adjacent_links_2cb9762c": {
|
|
1036
1129
|
"message": "Learn more about adjacent links"
|
|
1037
1130
|
},
|
|
@@ -1134,6 +1227,9 @@
|
|
|
1134
1227
|
"links_to_an_external_site_de74145d": {
|
|
1135
1228
|
"message": "Links to an external site."
|
|
1136
1229
|
},
|
|
1230
|
+
"lists_cd1336fc": {
|
|
1231
|
+
"message": "Lists"
|
|
1232
|
+
},
|
|
1137
1233
|
"lists_should_be_formatted_as_lists_f862de8d": {
|
|
1138
1234
|
"message": "Lists should be formatted as lists."
|
|
1139
1235
|
},
|
|
@@ -1239,6 +1335,9 @@
|
|
|
1239
1335
|
"miscellaneous_e9818229": {
|
|
1240
1336
|
"message": "Miscellaneous"
|
|
1241
1337
|
},
|
|
1338
|
+
"modify_6b0b13e3": {
|
|
1339
|
+
"message": "Modify"
|
|
1340
|
+
},
|
|
1242
1341
|
"module_90d9fd32": {
|
|
1243
1342
|
"message": "Module"
|
|
1244
1343
|
},
|
|
@@ -1260,12 +1359,6 @@
|
|
|
1260
1359
|
"music_icon_4db5c972": {
|
|
1261
1360
|
"message": "Music Icon"
|
|
1262
1361
|
},
|
|
1263
|
-
"must_be_at_least_percentage_22e373b6": {
|
|
1264
|
-
"message": "Must be at least { percentage }%"
|
|
1265
|
-
},
|
|
1266
|
-
"must_be_at_least_width_x_height_px_41dc825e": {
|
|
1267
|
-
"message": "Must be at least { width } x { height }px"
|
|
1268
|
-
},
|
|
1269
1362
|
"my_files_2f621040": {
|
|
1270
1363
|
"message": "My files"
|
|
1271
1364
|
},
|
|
@@ -1305,6 +1398,9 @@
|
|
|
1305
1398
|
"next_40e12421": {
|
|
1306
1399
|
"message": "Next"
|
|
1307
1400
|
},
|
|
1401
|
+
"next_findtext_9d69f0fe": {
|
|
1402
|
+
"message": "Next { findText }"
|
|
1403
|
+
},
|
|
1308
1404
|
"no_accessibility_issues_were_detected_f8d3c875": {
|
|
1309
1405
|
"message": "No accessibility issues were detected."
|
|
1310
1406
|
},
|
|
@@ -1362,6 +1458,9 @@
|
|
|
1362
1458
|
"no_results_940393cf": {
|
|
1363
1459
|
"message": "No results."
|
|
1364
1460
|
},
|
|
1461
|
+
"no_results_found_58717065": {
|
|
1462
|
+
"message": "No results found"
|
|
1463
|
+
},
|
|
1365
1464
|
"no_results_found_for_filterterm_ad1b04c8": {
|
|
1366
1465
|
"message": "No results found for { filterTerm }"
|
|
1367
1466
|
},
|
|
@@ -1374,6 +1473,9 @@
|
|
|
1374
1473
|
"none_selected_b93d56d2": {
|
|
1375
1474
|
"message": "None Selected"
|
|
1376
1475
|
},
|
|
1476
|
+
"normal_text_7b03da48": {
|
|
1477
|
+
"message": "Normal text"
|
|
1478
|
+
},
|
|
1377
1479
|
"not_equal_6e2980e6": {
|
|
1378
1480
|
"message": "Not Equal"
|
|
1379
1481
|
},
|
|
@@ -1443,8 +1545,8 @@
|
|
|
1443
1545
|
"outline_size_a6059a21": {
|
|
1444
1546
|
"message": "Outline Size"
|
|
1445
1547
|
},
|
|
1446
|
-
"
|
|
1447
|
-
"message": "{ p } is not a valid protocol
|
|
1548
|
+
"p_is_not_a_valid_protocol_b1c4efaa": {
|
|
1549
|
+
"message": "{ p } is not a valid protocol."
|
|
1448
1550
|
},
|
|
1449
1551
|
"page_50c4823d": {
|
|
1450
1552
|
"message": "Page"
|
|
@@ -1464,6 +1566,9 @@
|
|
|
1464
1566
|
"partial_derivative_4a9159df": {
|
|
1465
1567
|
"message": "Partial (Derivative)"
|
|
1466
1568
|
},
|
|
1569
|
+
"pass_1c19a2b3": {
|
|
1570
|
+
"message": "PASS"
|
|
1571
|
+
},
|
|
1467
1572
|
"paste_5963d1c1": {
|
|
1468
1573
|
"message": "Paste"
|
|
1469
1574
|
},
|
|
@@ -1482,6 +1587,9 @@
|
|
|
1482
1587
|
"percentage_must_be_a_number_8033c341": {
|
|
1483
1588
|
"message": "Percentage must be a number"
|
|
1484
1589
|
},
|
|
1590
|
+
"percentage_must_be_at_least_percentage_a98ca8fc": {
|
|
1591
|
+
"message": "Percentage must be at least { percentage }%"
|
|
1592
|
+
},
|
|
1485
1593
|
"performing_arts_icon_f3497486": {
|
|
1486
1594
|
"message": "Performing Arts Icon"
|
|
1487
1595
|
},
|
|
@@ -1503,12 +1611,18 @@
|
|
|
1503
1611
|
"pi_variant_10f5f520": {
|
|
1504
1612
|
"message": "Pi (Variant)"
|
|
1505
1613
|
},
|
|
1614
|
+
"pick_a_color_557abfb0": {
|
|
1615
|
+
"message": "Pick a color"
|
|
1616
|
+
},
|
|
1506
1617
|
"pink_68ad45cb": {
|
|
1507
1618
|
"message": "Pink"
|
|
1508
1619
|
},
|
|
1509
1620
|
"pixels_52ece7d1": {
|
|
1510
1621
|
"message": "Pixels"
|
|
1511
1622
|
},
|
|
1623
|
+
"pixels_must_be_at_least_width_x_height_px_e965edd5": {
|
|
1624
|
+
"message": "Pixels must be at least { width } x { height }px"
|
|
1625
|
+
},
|
|
1512
1626
|
"play_1a47eaa7": {
|
|
1513
1627
|
"message": "Play"
|
|
1514
1628
|
},
|
|
@@ -1521,6 +1635,9 @@
|
|
|
1521
1635
|
"please_allow_canvas_to_access_your_microphone_and__dc2c3079": {
|
|
1522
1636
|
"message": "Please allow Canvas to access your microphone and webcam."
|
|
1523
1637
|
},
|
|
1638
|
+
"please_decribe_what_you_would_like_to_compose_27a51be5": {
|
|
1639
|
+
"message": "Please decribe what you would like to compose."
|
|
1640
|
+
},
|
|
1524
1641
|
"plus_d43cd4ec": {
|
|
1525
1642
|
"message": "Plus"
|
|
1526
1643
|
},
|
|
@@ -1542,6 +1659,9 @@
|
|
|
1542
1659
|
"preformatted_d0670862": {
|
|
1543
1660
|
"message": "Preformatted"
|
|
1544
1661
|
},
|
|
1662
|
+
"prepend_findtext_append_8e0e769a": {
|
|
1663
|
+
"message": "{ prepend }{ findText }{ append }"
|
|
1664
|
+
},
|
|
1545
1665
|
"prev_f82cbc48": {
|
|
1546
1666
|
"message": "Prev"
|
|
1547
1667
|
},
|
|
@@ -1557,6 +1677,15 @@
|
|
|
1557
1677
|
"preview_inline_9787330": {
|
|
1558
1678
|
"message": "Preview inline"
|
|
1559
1679
|
},
|
|
1680
|
+
"previous_bd2ac015": {
|
|
1681
|
+
"message": "Previous"
|
|
1682
|
+
},
|
|
1683
|
+
"previous_findtext_8dfbfd30": {
|
|
1684
|
+
"message": "Previous { findText }"
|
|
1685
|
+
},
|
|
1686
|
+
"previously_chosen_colors_f1338315": {
|
|
1687
|
+
"message": "Previously chosen colors"
|
|
1688
|
+
},
|
|
1560
1689
|
"prime_917ea60e": {
|
|
1561
1690
|
"message": "Prime"
|
|
1562
1691
|
},
|
|
@@ -1629,18 +1758,45 @@
|
|
|
1629
1758
|
"remove_link_d1f2f4d0": {
|
|
1630
1759
|
"message": "Remove Link"
|
|
1631
1760
|
},
|
|
1761
|
+
"replace_all_d3d68b3": {
|
|
1762
|
+
"message": "Replace All"
|
|
1763
|
+
},
|
|
1764
|
+
"replace_all_findtext_with_replacetext_da574b32": {
|
|
1765
|
+
"message": "Replace all { findText } with { replaceText }"
|
|
1766
|
+
},
|
|
1632
1767
|
"replace_e61834a7": {
|
|
1633
1768
|
"message": "Replace"
|
|
1634
1769
|
},
|
|
1770
|
+
"replace_findtext_with_replacetext_7b5c7fb3": {
|
|
1771
|
+
"message": "Replace { findText } with { replaceText }"
|
|
1772
|
+
},
|
|
1773
|
+
"replace_with_eeff01ad": {
|
|
1774
|
+
"message": "Replace with"
|
|
1775
|
+
},
|
|
1776
|
+
"replaced_alertfindtext_with_alertreplacetext_de5c1795": {
|
|
1777
|
+
"message": "Replaced { alertFindText } with { alertReplaceText }"
|
|
1778
|
+
},
|
|
1779
|
+
"replaced_all_alertfindtext_with_alertreplacetext_83fdfe59": {
|
|
1780
|
+
"message": "Replaced all { alertFindText } with { alertReplaceText }"
|
|
1781
|
+
},
|
|
1635
1782
|
"reset_95a81614": {
|
|
1636
1783
|
"message": "Reset"
|
|
1637
1784
|
},
|
|
1638
1785
|
"resize_ec83d538": {
|
|
1639
1786
|
"message": "Resize"
|
|
1640
1787
|
},
|
|
1788
|
+
"response_copied_to_clipboard_130d66cd": {
|
|
1789
|
+
"message": "Response copied to clipboard"
|
|
1790
|
+
},
|
|
1641
1791
|
"restore_auto_save_deccd84b": {
|
|
1642
1792
|
"message": "Restore auto-save?"
|
|
1643
1793
|
},
|
|
1794
|
+
"result_index_of_max_7db5ad8b": {
|
|
1795
|
+
"message": "Result { index } of { max }."
|
|
1796
|
+
},
|
|
1797
|
+
"retry_ebd5f8ba": {
|
|
1798
|
+
"message": "Retry"
|
|
1799
|
+
},
|
|
1644
1800
|
"reverse_turnstile_does_not_yield_7558be06": {
|
|
1645
1801
|
"message": "Reverse Turnstile (Does Not Yield)"
|
|
1646
1802
|
},
|
|
@@ -1791,6 +1947,9 @@
|
|
|
1791
1947
|
"shortcut_911d6255": {
|
|
1792
1948
|
"message": "Shortcut"
|
|
1793
1949
|
},
|
|
1950
|
+
"show_all_967a90f0": {
|
|
1951
|
+
"message": "Show all"
|
|
1952
|
+
},
|
|
1794
1953
|
"show_audio_options_b489926b": {
|
|
1795
1954
|
"message": "Show audio options"
|
|
1796
1955
|
},
|
|
@@ -1914,6 +2073,9 @@
|
|
|
1914
2073
|
"submit_a3cc6859": {
|
|
1915
2074
|
"message": "Submit"
|
|
1916
2075
|
},
|
|
2076
|
+
"submitting_b90fac62": {
|
|
2077
|
+
"message": "Submitting..."
|
|
2078
|
+
},
|
|
1917
2079
|
"subscript_59744f96": {
|
|
1918
2080
|
"message": "Subscript"
|
|
1919
2081
|
},
|
|
@@ -2313,6 +2475,9 @@
|
|
|
2313
2475
|
"view_word_and_character_counts_a743dd0c": {
|
|
2314
2476
|
"message": "View word and character counts"
|
|
2315
2477
|
},
|
|
2478
|
+
"waiting_for_response_1efd0c50": {
|
|
2479
|
+
"message": "Waiting for response"
|
|
2480
|
+
},
|
|
2316
2481
|
"we_couldn_t_detect_a_working_microphone_connected__ceb71c40": {
|
|
2317
2482
|
"message": "We couldn’t detect a working microphone connected to your device."
|
|
2318
2483
|
},
|
|
@@ -2331,6 +2496,9 @@
|
|
|
2331
2496
|
"webpages_should_only_have_a_single_h1_which_is_aut_dc99189e": {
|
|
2332
2497
|
"message": "Webpages should only have a single H1, which is automatically used by the page''s Title. The first heading in your content should be an H2."
|
|
2333
2498
|
},
|
|
2499
|
+
"what_would_you_like_to_do_6dc0d541": {
|
|
2500
|
+
"message": "What would you like to do?"
|
|
2501
|
+
},
|
|
2334
2502
|
"when_markup_is_used_that_visually_formats_items_as_f941fc1b": {
|
|
2335
2503
|
"message": "When markup is used that visually formats items as a list but does not indicate the list relationship, users may have difficulty in navigating the information."
|
|
2336
2504
|
},
|
|
@@ -2361,12 +2529,24 @@
|
|
|
2361
2529
|
"wreath_product_200b38ef": {
|
|
2362
2530
|
"message": "Wreath Product"
|
|
2363
2531
|
},
|
|
2532
|
+
"writing_assistant_a30ac16a": {
|
|
2533
|
+
"message": "Writing Assistant"
|
|
2534
|
+
},
|
|
2364
2535
|
"xi_149681d0": {
|
|
2365
2536
|
"message": "Xi"
|
|
2366
2537
|
},
|
|
2367
2538
|
"yes_dde87d5": {
|
|
2368
2539
|
"message": "Yes"
|
|
2369
2540
|
},
|
|
2541
|
+
"you_are_on_a_color_palette_to_navigate_on_the_pale_227fc3a6": {
|
|
2542
|
+
"message": "You are on a color palette. To navigate on the palette up, left, down or right, use the ''W'', ''A'', ''S'' and ''D'' buttons respectively"
|
|
2543
|
+
},
|
|
2544
|
+
"you_are_on_a_color_slider_to_navigate_the_slider_l_e800f68a": {
|
|
2545
|
+
"message": "You are on a color slider. To navigate the slider left or right, use the ''A'' and ''D'' buttons respectively"
|
|
2546
|
+
},
|
|
2547
|
+
"you_are_on_an_alpha_slider_to_navigate_the_slider__3a014dc5": {
|
|
2548
|
+
"message": "You are on an alpha slider. To navigate the slider left or right, use the ''A'' and ''D'' buttons respectively"
|
|
2549
|
+
},
|
|
2370
2550
|
"you_have_unsaved_changes_in_the_icon_maker_tray_do_e8cf5f1b": {
|
|
2371
2551
|
"message": "You have unsaved changes in the Icon Maker tray. Do you want to continue without saving these changes?"
|
|
2372
2552
|
},
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/canvas-rce",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.15.1",
|
|
4
4
|
"description": "A component wrapping Canvas's usage of Tinymce",
|
|
5
5
|
"main": "es/index.js",
|
|
6
6
|
"types": "es/index.d.ts",
|
|
7
7
|
"owner": "LF",
|
|
8
8
|
"scripts": {
|
|
9
|
-
"i18n:extract": "format-message extract \"
|
|
9
|
+
"i18n:extract": "format-message extract \"es/**/*.js\" -g underscored_crc32 -o locales/en.json",
|
|
10
10
|
"integration-test": "nightwatch --env integration",
|
|
11
11
|
"lint": "eslint --quiet",
|
|
12
12
|
"lint:fix": "eslint --quiet --fix",
|
|
13
|
-
"test": "yarn
|
|
13
|
+
"test": "yarn jest",
|
|
14
14
|
"test:parallel": "yarn test:jest",
|
|
15
15
|
"test:serial": "yarn test:jest",
|
|
16
|
-
"test:jest": "jest --color
|
|
16
|
+
"test:jest": "jest --color",
|
|
17
17
|
"test:cafe": "yarn build:cafe && yarn test:cafe:only",
|
|
18
18
|
"test:cafe:ui": "yarn build:cafe && yarn test:cafe:only:ui",
|
|
19
19
|
"test:cafe:only": "testcafe ${TESTCAFE_PROVIDER:-chrome:headless} testcafe/**/*.test.js",
|
|
@@ -72,62 +72,61 @@
|
|
|
72
72
|
"instrument": false
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@instructure/canvas-theme": "9.10.
|
|
75
|
+
"@instructure/canvas-theme": "9.10.1",
|
|
76
76
|
"@instructure/canvas-media": "*",
|
|
77
|
-
"@instructure/debounce": "9.10.
|
|
78
|
-
"@instructure/emotion": "9.10.
|
|
77
|
+
"@instructure/debounce": "9.10.1",
|
|
78
|
+
"@instructure/emotion": "9.10.1",
|
|
79
79
|
"@instructure/k5uploader": "*",
|
|
80
80
|
"@instructure/media-capture": "^9.0.0",
|
|
81
|
-
"@instructure/theme-registry": "9.10.
|
|
82
|
-
"@instructure/ui-a11y-content": "9.10.
|
|
83
|
-
"@instructure/ui-a11y-utils": "9.10.
|
|
84
|
-
"@instructure/ui-alerts": "9.10.
|
|
85
|
-
"@instructure/ui-avatar": "9.10.
|
|
86
|
-
"@instructure/ui-badge": "9.10.
|
|
87
|
-
"@instructure/ui-billboard": "9.10.
|
|
88
|
-
"@instructure/ui-buttons": "9.10.
|
|
89
|
-
"@instructure/ui-checkbox": "9.10.
|
|
90
|
-
"@instructure/ui-source-code-editor": "9.10.
|
|
81
|
+
"@instructure/theme-registry": "9.10.1",
|
|
82
|
+
"@instructure/ui-a11y-content": "9.10.1",
|
|
83
|
+
"@instructure/ui-a11y-utils": "9.10.1",
|
|
84
|
+
"@instructure/ui-alerts": "9.10.1",
|
|
85
|
+
"@instructure/ui-avatar": "9.10.1",
|
|
86
|
+
"@instructure/ui-badge": "9.10.1",
|
|
87
|
+
"@instructure/ui-billboard": "9.10.1",
|
|
88
|
+
"@instructure/ui-buttons": "9.10.1",
|
|
89
|
+
"@instructure/ui-checkbox": "9.10.1",
|
|
90
|
+
"@instructure/ui-source-code-editor": "9.10.1",
|
|
91
91
|
"@instructure/ui-color-picker": "8.56.4",
|
|
92
|
-
"@instructure/ui-color-utils": "9.10.
|
|
93
|
-
"@instructure/ui-file-drop": "9.10.
|
|
94
|
-
"@instructure/ui-flex": "9.10.
|
|
95
|
-
"@instructure/ui-focusable": "9.10.
|
|
96
|
-
"@instructure/ui-form-field": "9.10.
|
|
97
|
-
"@instructure/ui-grid": "9.10.
|
|
98
|
-
"@instructure/ui-heading": "9.10.
|
|
99
|
-
"@instructure/ui-icons": "9.10.
|
|
100
|
-
"@instructure/ui-img": "9.10.
|
|
101
|
-
"@instructure/ui-link": "9.10.
|
|
102
|
-
"@instructure/ui-list": "9.10.
|
|
92
|
+
"@instructure/ui-color-utils": "9.10.1",
|
|
93
|
+
"@instructure/ui-file-drop": "9.10.1",
|
|
94
|
+
"@instructure/ui-flex": "9.10.1",
|
|
95
|
+
"@instructure/ui-focusable": "9.10.1",
|
|
96
|
+
"@instructure/ui-form-field": "9.10.1",
|
|
97
|
+
"@instructure/ui-grid": "9.10.1",
|
|
98
|
+
"@instructure/ui-heading": "9.10.1",
|
|
99
|
+
"@instructure/ui-icons": "9.10.1",
|
|
100
|
+
"@instructure/ui-img": "9.10.1",
|
|
101
|
+
"@instructure/ui-link": "9.10.1",
|
|
102
|
+
"@instructure/ui-list": "9.10.1",
|
|
103
103
|
"@instructure/ui-media-player": "^9.0.0",
|
|
104
|
-
"@instructure/ui-menu": "9.10.
|
|
105
|
-
"@instructure/ui-modal": "9.10.
|
|
106
|
-
"@instructure/ui-motion": "9.10.
|
|
107
|
-
"@instructure/ui-number-input": "9.10.
|
|
108
|
-
"@instructure/ui-overlays": "9.10.
|
|
109
|
-
"@instructure/ui-pagination": "9.10.
|
|
110
|
-
"@instructure/ui-pill": "9.10.
|
|
111
|
-
"@instructure/ui-popover": "9.10.
|
|
112
|
-
"@instructure/ui-radio-input": "9.10.
|
|
113
|
-
"@instructure/ui-
|
|
114
|
-
"@instructure/ui-
|
|
115
|
-
"@instructure/ui-
|
|
116
|
-
"@instructure/ui-
|
|
117
|
-
"@instructure/ui-
|
|
118
|
-
"@instructure/ui-
|
|
119
|
-
"@instructure/ui-text-
|
|
120
|
-
"@instructure/ui-text
|
|
121
|
-
"@instructure/ui-
|
|
122
|
-
"@instructure/ui-
|
|
123
|
-
"@instructure/ui-
|
|
124
|
-
"@instructure/ui-
|
|
125
|
-
"@instructure/ui-
|
|
126
|
-
"@instructure/ui-
|
|
127
|
-
"@instructure/ui-
|
|
128
|
-
"@instructure/ui-
|
|
129
|
-
"@instructure/
|
|
130
|
-
"@instructure/uid": "9.10.0",
|
|
104
|
+
"@instructure/ui-menu": "9.10.1",
|
|
105
|
+
"@instructure/ui-modal": "9.10.1",
|
|
106
|
+
"@instructure/ui-motion": "9.10.1",
|
|
107
|
+
"@instructure/ui-number-input": "9.10.1",
|
|
108
|
+
"@instructure/ui-overlays": "9.10.1",
|
|
109
|
+
"@instructure/ui-pagination": "9.10.1",
|
|
110
|
+
"@instructure/ui-pill": "9.10.1",
|
|
111
|
+
"@instructure/ui-popover": "9.10.1",
|
|
112
|
+
"@instructure/ui-radio-input": "9.10.1",
|
|
113
|
+
"@instructure/ui-simple-select": "9.10.1",
|
|
114
|
+
"@instructure/ui-spinner": "9.10.1",
|
|
115
|
+
"@instructure/ui-svg-images": "9.10.1",
|
|
116
|
+
"@instructure/ui-table": "9.10.1",
|
|
117
|
+
"@instructure/ui-tabs": "9.10.1",
|
|
118
|
+
"@instructure/ui-text-area": "9.10.1",
|
|
119
|
+
"@instructure/ui-text-input": "9.10.1",
|
|
120
|
+
"@instructure/ui-text": "9.10.1",
|
|
121
|
+
"@instructure/ui-themes": "9.10.1",
|
|
122
|
+
"@instructure/ui-toggle-details": "9.10.1",
|
|
123
|
+
"@instructure/ui-tooltip": "9.10.1",
|
|
124
|
+
"@instructure/ui-tray": "9.10.1",
|
|
125
|
+
"@instructure/ui-tree-browser": "9.10.1",
|
|
126
|
+
"@instructure/ui-truncate-text": "9.10.1",
|
|
127
|
+
"@instructure/ui-utils": "9.10.1",
|
|
128
|
+
"@instructure/ui-view": "9.10.1",
|
|
129
|
+
"@instructure/uid": "9.10.1",
|
|
131
130
|
"@sheerun/mutationobserver-shim": "^0.3.2",
|
|
132
131
|
"@types/tinycolor2": "^1.4.6",
|
|
133
132
|
"@tinymce/tinymce-react": "~3.8.4",
|
|
@@ -179,6 +178,8 @@
|
|
|
179
178
|
"@testing-library/react-hooks": "^5",
|
|
180
179
|
"@testing-library/react": "^12",
|
|
181
180
|
"@testing-library/user-event": "^14",
|
|
181
|
+
"@types/react": "^18",
|
|
182
|
+
"@types/react-dom": "^18",
|
|
182
183
|
"@types/testing-library__jest-dom": "^5.0.0",
|
|
183
184
|
"axe-testcafe": "^3",
|
|
184
185
|
"babel-loader": "^9.1.3",
|
|
@@ -48,12 +48,10 @@
|
|
|
48
48
|
* check the mapping in src/rce/editorLanguages.js to be sure it's still complete.
|
|
49
49
|
*/
|
|
50
50
|
|
|
51
|
-
const shell = require('shelljs')
|
|
52
51
|
const fs = require('fs')
|
|
53
52
|
const path = require('path')
|
|
54
|
-
const getTranslationList = require('@instructure/translations
|
|
55
|
-
const
|
|
56
|
-
const editorLanguage = require('../src/rce/editorLanguage')
|
|
53
|
+
const {getTranslationList, readTranslationFile} = require('@instructure/translations')
|
|
54
|
+
const {editorLanguage} = require('../src/rce/editorLanguage.js')
|
|
57
55
|
|
|
58
56
|
// Here we go.
|
|
59
57
|
installTranslations()
|
|
@@ -97,7 +95,7 @@ function generateCombinedImporters(canvasLocaleFileBasenames, tinyLocales) {
|
|
|
97
95
|
for (const basename of canvasLocaleFileBasenames) {
|
|
98
96
|
const filepath = path.resolve(
|
|
99
97
|
__dirname,
|
|
100
|
-
path.join('../src/translations/locales', `${basename}.js`)
|
|
98
|
+
path.join('../src/translations/locales', `${basename}.js`),
|
|
101
99
|
)
|
|
102
100
|
const content = localeFileContent(basename, tinyLocales[basename])
|
|
103
101
|
fs.writeFileSync(filepath, content, {flag: 'w'})
|
|
@@ -108,10 +106,11 @@ function generateCombinedImporters(canvasLocaleFileBasenames, tinyLocales) {
|
|
|
108
106
|
// for locales no longer in the new list, remove them
|
|
109
107
|
function removeStaleTranslationFiles(locales) {
|
|
110
108
|
const newLocalesFiles = locales.map(l => `${l}.js`)
|
|
111
|
-
const
|
|
109
|
+
const localesDir = path.resolve(__dirname, '../src/translations/locales')
|
|
110
|
+
const curLocalesFiles = fs.readdirSync(localesDir)
|
|
112
111
|
const staleFiles = curLocalesFiles.filter(f => !newLocalesFiles.includes(f))
|
|
113
|
-
for (f of staleFiles) {
|
|
114
|
-
fs.rmSync(path.resolve(
|
|
112
|
+
for (const f of staleFiles) {
|
|
113
|
+
fs.rmSync(path.resolve(localesDir, f))
|
|
115
114
|
}
|
|
116
115
|
}
|
|
117
116
|
|