@instructure/platform-widget-dashboard 10.1.0 → 10.3.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 (30) hide show
  1. package/dist/components/WidgetGrid.d.ts +7 -0
  2. package/dist/components/WidgetGrid.d.ts.map +1 -1
  3. package/dist/components/shared/MultiCourseSelect.d.ts +2 -1
  4. package/dist/components/shared/MultiCourseSelect.d.ts.map +1 -1
  5. package/dist/components/widgets/educator/EducatorTodoListWidget/EducatorTodoItem.d.ts.map +1 -1
  6. package/dist/components/widgets/educator/EducatorTodoListWidget/EducatorTodoListWidget.d.ts.map +1 -1
  7. package/dist/components/widgets/educator/EducatorTodoListWidget/SubmissionTag.d.ts.map +1 -1
  8. package/dist/components/widgets/educator/educatorColors.d.ts +18 -3
  9. package/dist/components/widgets/educator/educatorColors.d.ts.map +1 -1
  10. package/dist/components/widgets/educator/educatorTheme.d.ts +4 -0
  11. package/dist/components/widgets/educator/educatorTheme.d.ts.map +1 -1
  12. package/dist/constants.d.ts +1 -0
  13. package/dist/constants.d.ts.map +1 -1
  14. package/dist/contexts/TranslationsContext.d.ts +1 -6
  15. package/dist/contexts/TranslationsContext.d.ts.map +1 -1
  16. package/dist/hooks/useCourseSearch.d.ts +15 -0
  17. package/dist/hooks/useCourseSearch.d.ts.map +1 -0
  18. package/dist/hooks/useDebouncedValue.d.ts +7 -0
  19. package/dist/hooks/useDebouncedValue.d.ts.map +1 -0
  20. package/dist/hooks/useEducatorCourses.d.ts +14 -2
  21. package/dist/hooks/useEducatorCourses.d.ts.map +1 -1
  22. package/dist/index.js +6732 -6763
  23. package/locales/en.json +3 -1
  24. package/package.json +2 -2
  25. package/dist/components/widgets/educator/EducatorTodoListWidget/ViewAllAssignmentsModal.d.ts +0 -7
  26. package/dist/components/widgets/educator/EducatorTodoListWidget/ViewAllAssignmentsModal.d.ts.map +0 -1
  27. package/dist/components/widgets/educator/EducatorTodoListWidget/ViewAllButton.d.ts +0 -3
  28. package/dist/components/widgets/educator/EducatorTodoListWidget/ViewAllButton.d.ts.map +0 -1
  29. package/dist/hooks/useVirtualPagination.d.ts +0 -10
  30. package/dist/hooks/useVirtualPagination.d.ts.map +0 -1
package/locales/en.json CHANGED
@@ -186,5 +186,7 @@
186
186
  "moveDirectionToRightTop": "to right top",
187
187
  "widget": "Widget",
188
188
 
189
- "removeCourse": "Remove %{name}"
189
+ "removeCourse": "Remove %{name}",
190
+
191
+ "courseIdLabel": "Course ID: %{courseId}"
190
192
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/platform-widget-dashboard",
3
- "version": "10.1.0",
3
+ "version": "10.3.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -79,9 +79,9 @@
79
79
  "zod": "^3.23.8",
80
80
  "@instructure/platform-alerts": "1.0.1",
81
81
  "@instructure/platform-canvas-fetch": "0.1.3",
82
- "@instructure/platform-datetime": "0.2.0",
83
82
  "@instructure/platform-grades": "0.2.5",
84
83
  "@instructure/platform-graphql-types": "0.1.4",
84
+ "@instructure/platform-datetime": "0.2.0",
85
85
  "@instructure/platform-query": "0.2.2",
86
86
  "@instructure/platform-sanitize": "0.5.3"
87
87
  },
@@ -1,7 +0,0 @@
1
- import { default as React } from 'react';
2
- interface ViewAllAssignmentsModalProps {
3
- onDismiss: () => void;
4
- }
5
- declare const ViewAllAssignmentsModal: React.FC<ViewAllAssignmentsModalProps>;
6
- export { ViewAllAssignmentsModal };
7
- //# sourceMappingURL=ViewAllAssignmentsModal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ViewAllAssignmentsModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/widgets/educator/EducatorTodoListWidget/ViewAllAssignmentsModal.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAkB,MAAM,OAAO,CAAA;AAUtC,UAAU,4BAA4B;IACpC,SAAS,EAAE,MAAM,IAAI,CAAA;CACtB;AAED,QAAA,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAyEnE,CAAA;AAED,OAAO,EAAE,uBAAuB,EAAE,CAAA"}
@@ -1,3 +0,0 @@
1
- declare const ViewAllButton: React.FC;
2
- export { ViewAllButton };
3
- //# sourceMappingURL=ViewAllButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ViewAllButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/widgets/educator/EducatorTodoListWidget/ViewAllButton.tsx"],"names":[],"mappings":"AAuBA,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAyB1B,CAAA;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -1,10 +0,0 @@
1
- export declare function useVirtualPagination<T>({ items, pageSize }: {
2
- items: T[];
3
- pageSize: number;
4
- }): {
5
- data: T[];
6
- current: number;
7
- total: number;
8
- setPage: (newPage: number) => void;
9
- };
10
- //# sourceMappingURL=useVirtualPagination.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useVirtualPagination.d.ts","sourceRoot":"","sources":["../../src/hooks/useVirtualPagination.ts"],"names":[],"mappings":"AAoBA,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE;IAAE,KAAK,EAAE,CAAC,EAAE,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE;;;;uBAW/E,MAAM;EAYnB"}