@instructure/platform-block-content-editor 3.3.1 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -1
- package/dist/editor/BlockContentEditor.d.ts +9 -1
- package/dist/editor/BlockContentEditor.d.ts.map +1 -1
- package/dist/editor/ai/BlockAIMenu.d.ts +16 -5
- package/dist/editor/ai/BlockAIMenu.d.ts.map +1 -1
- package/dist/editor/ai/aiMenuStyles.d.ts +12 -7
- package/dist/editor/ai/aiMenuStyles.d.ts.map +1 -1
- package/dist/editor/canvas/GridItemChild.d.ts.map +1 -1
- package/dist/editor/sidebar/form/fieldRenderers.d.ts.map +1 -1
- package/dist/editor/sidebar/form/uploaders/VideoUploader.d.ts.map +1 -1
- package/dist/editor/sidebar/sidebarTranslations.d.ts +2 -0
- package/dist/editor/sidebar/sidebarTranslations.d.ts.map +1 -1
- package/dist/editor/sidebar/tray/BlockTray.d.ts +6 -1
- package/dist/editor/sidebar/tray/BlockTray.d.ts.map +1 -1
- package/dist/editor/sidebar/tray/SharedTrayComponents.d.ts +19 -6
- package/dist/editor/sidebar/tray/SharedTrayComponents.d.ts.map +1 -1
- package/dist/editor/sidebar/tray/TrayBlockAIButton.d.ts +17 -0
- package/dist/editor/sidebar/tray/TrayBlockAIButton.d.ts.map +1 -0
- package/dist/editor/sidebar/tray/blockDefinitions.d.ts.map +1 -1
- package/dist/editor/sidebar/useDesignerSelectionFocus.d.ts +17 -3
- package/dist/editor/sidebar/useDesignerSelectionFocus.d.ts.map +1 -1
- package/dist/index.js +4517 -4414
- package/locales/en.json +3 -2
- package/package.json +7 -3
package/locales/en.json
CHANGED
|
@@ -145,6 +145,7 @@
|
|
|
145
145
|
"layoutBlocksIntro": "Organize your content into columns.",
|
|
146
146
|
"interactiveBlocksIntro": "Engage learners with interactive non-scored activities.",
|
|
147
147
|
"addBlock": "Add %{name}",
|
|
148
|
+
"generateBlockWithAi": "Generate a %{name} with AI",
|
|
148
149
|
"skipToSelectedComponent": "Skip to selected component",
|
|
149
150
|
"aiAssistFor": "AI assist for %{componentType}",
|
|
150
151
|
"aiActions": "AI Actions",
|
|
@@ -164,9 +165,9 @@
|
|
|
164
165
|
"readingNovice": "Novice reader (635L - 1160L)",
|
|
165
166
|
"readingIntermediate": "Intermediate reader (925L - 1295L)",
|
|
166
167
|
"readingAdvanced": "Advanced reader (1040L - 1440L)",
|
|
167
|
-
"promptPlaceholder": "Describe
|
|
168
|
+
"promptPlaceholder": "Describe what you want",
|
|
168
169
|
"promptCharacterCount": "%{count}/%{max}",
|
|
169
|
-
"previewFirst": "Preview first",
|
|
170
|
+
"previewFirst": "Preview it first",
|
|
170
171
|
"send": "Send",
|
|
171
172
|
"thinking": "Thinking…",
|
|
172
173
|
"stop": "Stop",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/platform-block-content-editor",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"description": "Host-agnostic block content editor for Canvas activities — the blocks, the read-path viewer, and the write-path editor, all on native InstUI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -22,14 +22,15 @@
|
|
|
22
22
|
"access": "public"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@
|
|
25
|
+
"@emotion/react": "^11.14.0",
|
|
26
|
+
"@instructure/emotion": "^11.7.0",
|
|
26
27
|
"@instructure/ui-a11y-content": "^11.0.0",
|
|
27
28
|
"@instructure/ui-alerts": "^11.0.0",
|
|
28
29
|
"@instructure/ui-buttons": "^11.0.0",
|
|
29
30
|
"@instructure/ui-checkbox": "^11.0.0",
|
|
30
31
|
"@instructure/ui-file-drop": "^11.0.0",
|
|
31
32
|
"@instructure/ui-flex": "^11.0.0",
|
|
32
|
-
"@instructure/ui-form-field": "^11.
|
|
33
|
+
"@instructure/ui-form-field": "^11.7.0",
|
|
33
34
|
"@instructure/ui-heading": "^11.0.0",
|
|
34
35
|
"@instructure/ui-icons": "^11.7.0",
|
|
35
36
|
"@instructure/ui-img": "^11.0.0",
|
|
@@ -45,6 +46,7 @@
|
|
|
45
46
|
"@instructure/ui-text": "^11.0.0",
|
|
46
47
|
"@instructure/ui-text-area": "^11.0.0",
|
|
47
48
|
"@instructure/ui-text-input": "^11.0.0",
|
|
49
|
+
"@instructure/ui-themes": "^11.0.0",
|
|
48
50
|
"@instructure/ui-toggle-details": "^11.0.0",
|
|
49
51
|
"@instructure/ui-tooltip": "^11.0.0",
|
|
50
52
|
"@instructure/ui-view": "^11.0.0",
|
|
@@ -61,9 +63,11 @@
|
|
|
61
63
|
"lodash": "^4.17.21",
|
|
62
64
|
"react-hook-form": "^7.68.0",
|
|
63
65
|
"uuid": "^11.1.1",
|
|
66
|
+
"@instructure/platform-components": "^0.1.0",
|
|
64
67
|
"@instructure/platform-sanitize": "^0.7.1"
|
|
65
68
|
},
|
|
66
69
|
"devDependencies": {
|
|
70
|
+
"@emotion/react": "11.14.0",
|
|
67
71
|
"@instructure/emotion": "11.7.4",
|
|
68
72
|
"@types/lodash": "^4.17.24",
|
|
69
73
|
"@instructure/ui-a11y-content": "11.7.4",
|