@instructure/platform-block-content-editor 3.4.0 → 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/README.md +19 -1
  2. package/dist/components/blocks/Banner/bannerPropsSchema.d.ts.map +1 -1
  3. package/dist/contexts/NutritionFactsContext.d.ts +19 -0
  4. package/dist/contexts/NutritionFactsContext.d.ts.map +1 -0
  5. package/dist/editor/BlockContentEditor.d.ts +16 -1
  6. package/dist/editor/BlockContentEditor.d.ts.map +1 -1
  7. package/dist/editor/ai/BlockAIMenuContent.d.ts.map +1 -1
  8. package/dist/editor/ai/NutritionFactsDisclosure.d.ts +23 -0
  9. package/dist/editor/ai/NutritionFactsDisclosure.d.ts.map +1 -0
  10. package/dist/editor/ai/aiMenuStyles.d.ts +1 -0
  11. package/dist/editor/ai/aiMenuStyles.d.ts.map +1 -1
  12. package/dist/editor/ai/aiTranslations.d.ts +2 -0
  13. package/dist/editor/ai/aiTranslations.d.ts.map +1 -1
  14. package/dist/editor/canvas/GridItemChild.d.ts +2 -6
  15. package/dist/editor/canvas/GridItemChild.d.ts.map +1 -1
  16. package/dist/editor/canvas/GridItemContainer.d.ts.map +1 -1
  17. package/dist/editor/sidebar/form/fieldRenderers.d.ts.map +1 -1
  18. package/dist/editor/sidebar/form/renderers/AltTextFieldRenderer.d.ts.map +1 -1
  19. package/dist/editor/sidebar/form/uploaders/VideoUploader.d.ts.map +1 -1
  20. package/dist/editor/sidebar/panel/DesignerSideBar.d.ts.map +1 -1
  21. package/dist/editor/sidebar/panel/ToolBody.d.ts +2 -1
  22. package/dist/editor/sidebar/panel/ToolBody.d.ts.map +1 -1
  23. package/dist/editor/sidebar/panel/ToolContentContainer.d.ts +3 -1
  24. package/dist/editor/sidebar/panel/ToolContentContainer.d.ts.map +1 -1
  25. package/dist/editor/sidebar/panel/types.d.ts +4 -1
  26. package/dist/editor/sidebar/panel/types.d.ts.map +1 -1
  27. package/dist/editor/sidebar/useDesignerSelectionFocus.d.ts +17 -3
  28. package/dist/editor/sidebar/useDesignerSelectionFocus.d.ts.map +1 -1
  29. package/dist/index.d.ts +1 -0
  30. package/dist/index.d.ts.map +1 -1
  31. package/dist/index.js +5732 -5645
  32. package/locales/en.json +2 -1
  33. package/package.json +10 -3
package/locales/en.json CHANGED
@@ -186,5 +186,6 @@
186
186
  "generating": "Generating...",
187
187
  "failedToLoadImage": "Failed to load image",
188
188
  "failedToGenerate": "Failed to generate alt text",
189
- "noDescription": "No description was returned"
189
+ "noDescription": "No description was returned",
190
+ "aiNutritionFacts": "AI Nutrition Facts"
190
191
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/platform-block-content-editor",
3
- "version": "3.4.0",
3
+ "version": "3.6.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,17 +22,19 @@
22
22
  "access": "public"
23
23
  },
24
24
  "peerDependencies": {
25
- "@instructure/emotion": "^11.0.0",
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.0.0",
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",
37
+ "@instructure/ui-instructure": "^11.0.0",
36
38
  "@instructure/ui-modal": "^11.0.0",
37
39
  "@instructure/ui-number-input": "^11.0.0",
38
40
  "@instructure/ui-popover": "^11.0.0",
@@ -45,6 +47,7 @@
45
47
  "@instructure/ui-text": "^11.0.0",
46
48
  "@instructure/ui-text-area": "^11.0.0",
47
49
  "@instructure/ui-text-input": "^11.0.0",
50
+ "@instructure/ui-themes": "^11.0.0",
48
51
  "@instructure/ui-toggle-details": "^11.0.0",
49
52
  "@instructure/ui-tooltip": "^11.0.0",
50
53
  "@instructure/ui-view": "^11.0.0",
@@ -61,9 +64,12 @@
61
64
  "lodash": "^4.17.21",
62
65
  "react-hook-form": "^7.68.0",
63
66
  "uuid": "^11.1.1",
67
+ "@instructure/platform-components": "^0.1.0",
68
+ "@instructure/platform-nutrition-facts": "^0.4.0",
64
69
  "@instructure/platform-sanitize": "^0.7.1"
65
70
  },
66
71
  "devDependencies": {
72
+ "@emotion/react": "11.14.0",
67
73
  "@instructure/emotion": "11.7.4",
68
74
  "@types/lodash": "^4.17.24",
69
75
  "@instructure/ui-a11y-content": "11.7.4",
@@ -76,6 +82,7 @@
76
82
  "@instructure/ui-heading": "11.7.4",
77
83
  "@instructure/ui-icons": "11.7.4",
78
84
  "@instructure/ui-img": "11.7.4",
85
+ "@instructure/ui-instructure": "11.7.4",
79
86
  "@instructure/ui-modal": "11.7.4",
80
87
  "@instructure/ui-number-input": "11.7.4",
81
88
  "@instructure/ui-popover": "11.7.4",