@instructure/platform-widget-dashboard 0.3.0 → 0.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/dist/components/widgets/educator/EducatorAnnouncementCreationWidget/EducatorAnnouncementCreationWidget.d.ts +6 -0
- package/dist/components/widgets/educator/EducatorAnnouncementCreationWidget/EducatorAnnouncementCreationWidget.d.ts.map +1 -0
- package/dist/components/widgets/educator/EducatorContentQualityWidget/EducatorContentQualityWidget.d.ts +6 -0
- package/dist/components/widgets/educator/EducatorContentQualityWidget/EducatorContentQualityWidget.d.ts.map +1 -0
- package/dist/components/widgets/educator/EducatorTodoListWidget/EducatorTodoListWidget.d.ts +6 -0
- package/dist/components/widgets/educator/EducatorTodoListWidget/EducatorTodoListWidget.d.ts.map +1 -0
- package/dist/components/widgets/educator/index.d.ts +4 -0
- package/dist/components/widgets/educator/index.d.ts.map +1 -0
- package/dist/constants/index.d.ts +3 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants.d.ts +3 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1023 -998
- package/dist/types/env.d.ts +1 -0
- package/dist/types/env.d.ts.map +1 -1
- package/dist/types/widget.d.ts +1 -0
- package/dist/types/widget.d.ts.map +1 -1
- package/dist/widgetRegistry.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { BaseWidgetProps } from '../../../../types';
|
|
3
|
+
|
|
4
|
+
declare const EducatorAnnouncementCreationWidget: React.FC<BaseWidgetProps>;
|
|
5
|
+
export { EducatorAnnouncementCreationWidget };
|
|
6
|
+
//# sourceMappingURL=EducatorAnnouncementCreationWidget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EducatorAnnouncementCreationWidget.d.ts","sourceRoot":"","sources":["../../../../../src/components/widgets/educator/EducatorAnnouncementCreationWidget/EducatorAnnouncementCreationWidget.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAGxD,QAAA,MAAM,kCAAkC,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAMjE,CAAA;AAED,OAAO,EAAE,kCAAkC,EAAE,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { BaseWidgetProps } from '../../../../types';
|
|
3
|
+
|
|
4
|
+
declare const EducatorContentQualityWidget: React.FC<BaseWidgetProps>;
|
|
5
|
+
export { EducatorContentQualityWidget };
|
|
6
|
+
//# sourceMappingURL=EducatorContentQualityWidget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EducatorContentQualityWidget.d.ts","sourceRoot":"","sources":["../../../../../src/components/widgets/educator/EducatorContentQualityWidget/EducatorContentQualityWidget.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAGxD,QAAA,MAAM,4BAA4B,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAM3D,CAAA;AAED,OAAO,EAAE,4BAA4B,EAAE,CAAA"}
|
package/dist/components/widgets/educator/EducatorTodoListWidget/EducatorTodoListWidget.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EducatorTodoListWidget.d.ts","sourceRoot":"","sources":["../../../../../src/components/widgets/educator/EducatorTodoListWidget/EducatorTodoListWidget.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAGxD,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAMrD,CAAA;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { EducatorAnnouncementCreationWidget } from './EducatorAnnouncementCreationWidget/EducatorAnnouncementCreationWidget';
|
|
2
|
+
export { EducatorContentQualityWidget } from './EducatorContentQualityWidget/EducatorContentQualityWidget';
|
|
3
|
+
export { EducatorTodoListWidget } from './EducatorTodoListWidget/EducatorTodoListWidget';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/widgets/educator/index.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,kCAAkC,EAAE,MAAM,yEAAyE,CAAA;AAC5H,OAAO,EAAE,4BAA4B,EAAE,MAAM,6DAA6D,CAAA;AAC1G,OAAO,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAA"}
|
|
@@ -17,6 +17,9 @@ export declare const WIDGET_TYPES: {
|
|
|
17
17
|
readonly RECENT_GRADES: "recent_grades";
|
|
18
18
|
readonly PROGRESS_OVERVIEW: "progress_overview";
|
|
19
19
|
readonly INBOX: "inbox";
|
|
20
|
+
readonly EDUCATOR_ANNOUNCEMENT_CREATION: "educator_announcement_creation";
|
|
21
|
+
readonly EDUCATOR_TODO_LIST: "educator_todo_list";
|
|
22
|
+
readonly EDUCATOR_CONTENT_QUALITY: "educator_content_quality";
|
|
20
23
|
};
|
|
21
24
|
export type WidgetType = (typeof WIDGET_TYPES)[keyof typeof WIDGET_TYPES];
|
|
22
25
|
export declare const LEFT_COLUMN = 1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C,OAAO,KAAK,EAAE,YAAY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;AAED,eAAO,MAAM,4BAA4B,EAAE,YAY1C,CAAA;AAED,eAAO,MAAM,sCAAsC,EAAE,YASpD,CAAA;AAED,eAAO,MAAM,8BAA8B,EAAE,YAU5C,CAAA;AAED,eAAO,MAAM,8BAA8B,EAAE,YAS5C,CAAA"}
|
package/dist/constants.d.ts
CHANGED
|
@@ -17,6 +17,9 @@ export declare const WIDGET_TYPES: {
|
|
|
17
17
|
readonly RECENT_GRADES: "recent_grades";
|
|
18
18
|
readonly PROGRESS_OVERVIEW: "progress_overview";
|
|
19
19
|
readonly INBOX: "inbox";
|
|
20
|
+
readonly EDUCATOR_ANNOUNCEMENT_CREATION: "educator_announcement_creation";
|
|
21
|
+
readonly EDUCATOR_TODO_LIST: "educator_todo_list";
|
|
22
|
+
readonly EDUCATOR_CONTENT_QUALITY: "educator_content_quality";
|
|
20
23
|
};
|
|
21
24
|
export type WidgetType = (typeof WIDGET_TYPES)[keyof typeof WIDGET_TYPES];
|
|
22
25
|
export declare const LEFT_COLUMN = 1;
|
package/dist/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,OAAO;;;CAGV,CAAA;AAEV,MAAM,MAAM,KAAK,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,OAAO,OAAO,CAAC,CAAA;AAE1D,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,OAAO;;;CAGV,CAAA;AAEV,MAAM,MAAM,KAAK,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,OAAO,OAAO,CAAC,CAAA;AAE1D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;CAcf,CAAA;AAEV,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAA;AAEzE,eAAO,MAAM,WAAW,IAAI,CAAA;AAC5B,eAAO,MAAM,YAAY,IAAI,CAAA;AAE7B,eAAO,MAAM,qBAAqB,EAAE,YAkCnC,CAAA;AAGD,eAAO,MAAM,oBAAoB;;;;;;;;;;CAWvB,CAAA;AAGV,eAAO,MAAM,YAAY;;;;;;;;;;;CAWf,CAAA;AAGV,eAAO,MAAM,2BAA2B,2BAA2B,CAAA;AACnE,eAAO,MAAM,2BAA2B,2BAA2B,CAAA;AACnE,eAAO,MAAM,eAAe,eAAe,CAAA;AAC3C,eAAO,MAAM,qBAAqB,qBAAqB,CAAA;AACvD,eAAO,MAAM,gCAAgC,+BAA+B,CAAA;AAC5E,eAAO,MAAM,qBAAqB,qBAAqB,CAAA;AACvD,eAAO,MAAM,kBAAkB,kBAAkB,CAAA;AAGjD,eAAO,MAAM,YAAY;;;CAGf,CAAA;AAGV,eAAO,MAAM,4BAA4B,EAAE,YAgB1C,CAAA;AAED,eAAO,MAAM,4BAA4B,EAAE,YAY1C,CAAA;AAED,eAAO,MAAM,sCAAsC,EAAE,YASpD,CAAA;AAED,eAAO,MAAM,8BAA8B,EAAE,YAU5C,CAAA;AAED,eAAO,MAAM,8BAA8B,EAAE,YAS5C,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { default as WidgetDashboard, default as WidgetDashboardContainer, } from './components/WidgetDashboardContainer';
|
|
2
|
+
export { EducatorAnnouncementCreationWidget, EducatorContentQualityWidget, EducatorTodoListWidget, } from './components/widgets/educator';
|
|
3
|
+
export { ProgressOverviewWidget } from './components/widgets/ProgressOverviewWidget';
|
|
2
4
|
export type { LoadingOverlayProps, PaginationProps, TemplateWidgetProps, } from './components/widgets/TemplateWidget';
|
|
3
5
|
export { TemplateWidget } from './components/widgets/TemplateWidget';
|
|
4
6
|
export { type TranslateFunction, TranslationsProvider, type TranslationsProviderProps, useTranslations, type WidgetDashboardContext, type WidgetDashboardTranslations, } from './contexts/TranslationsContext';
|
|
@@ -9,5 +11,5 @@ export { useWidgetDashboardEdit, WidgetDashboardEditProvider, } from './hooks/us
|
|
|
9
11
|
export type { MoveAction } from './hooks/useWidgetLayout';
|
|
10
12
|
export { getMoveActionDescription, useWidgetLayout, WidgetLayoutProvider, } from './hooks/useWidgetLayout';
|
|
11
13
|
export type { CurrentUser, DashboardFeatures, DashboardPreferences, ObservedUser, } from './types/env';
|
|
12
|
-
export type { Widget, WidgetConfig, WidgetPosition, WidgetSize, } from './types/widget';
|
|
14
|
+
export type { BaseWidgetProps, Widget, WidgetConfig, WidgetPosition, WidgetSize, } from './types/widget';
|
|
13
15
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAmBA,OAAO,EACL,OAAO,IAAI,eAAe,EAC1B,OAAO,IAAI,wBAAwB,GACpC,MAAM,uCAAuC,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAmBA,OAAO,EACL,OAAO,IAAI,eAAe,EAC1B,OAAO,IAAI,wBAAwB,GACpC,MAAM,uCAAuC,CAAA;AAE9C,OAAO,EACL,kCAAkC,EAClC,4BAA4B,EAC5B,sBAAsB,GACvB,MAAM,+BAA+B,CAAA;AAEtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAA;AACpF,YAAY,EACV,mBAAmB,EACnB,eAAe,EACf,mBAAmB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