@instructure/platform-widget-dashboard 11.1.0 → 11.2.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/ProgressOverviewWidget/CourseProgressBar.d.ts +1 -0
- package/dist/components/widgets/ProgressOverviewWidget/CourseProgressBar.d.ts.map +1 -1
- package/dist/components/widgets/ProgressOverviewWidget/ProgressLegend.d.ts +1 -1
- package/dist/components/widgets/educator/EducatorContentQualityWidget/CourseTable.d.ts +2 -1
- package/dist/components/widgets/educator/EducatorContentQualityWidget/CourseTable.d.ts.map +1 -1
- package/dist/components/widgets/educator/EducatorContentQualityWidget/EducatorContentQualityWidget.d.ts.map +1 -1
- package/dist/components/widgets/educator/EducatorTodoListWidget/EducatorTodoListWidget.d.ts.map +1 -1
- package/dist/constants/pagination.d.ts +9 -0
- package/dist/constants/pagination.d.ts.map +1 -1
- package/dist/contexts/TranslationsContext.d.ts +1 -4
- package/dist/contexts/TranslationsContext.d.ts.map +1 -1
- package/dist/hooks/useClientPagedList.d.ts +27 -0
- package/dist/hooks/useClientPagedList.d.ts.map +1 -0
- package/dist/index.js +2775 -2851
- package/locales/en.json +1 -7
- package/package.json +2 -2
- package/dist/components/shared/CaretPagination.d.ts +0 -13
- package/dist/components/shared/CaretPagination.d.ts.map +0 -1
- package/dist/hooks/useCursorPageBuffer.d.ts +0 -19
- package/dist/hooks/useCursorPageBuffer.d.ts.map +0 -1
package/locales/en.json
CHANGED
|
@@ -200,11 +200,5 @@
|
|
|
200
200
|
"searchMultiSelectItemSelected": "%{name} selected",
|
|
201
201
|
"searchMultiSelectItemRemoved": "%{name} removed",
|
|
202
202
|
"searchMultiSelectRemoveItem": "Remove %{name}",
|
|
203
|
-
"searchMultiSelectMaxSelectionsReached": "Maximum of %{count} items selected"
|
|
204
|
-
|
|
205
|
-
"educatorTodoListPagination": "To grade pagination",
|
|
206
|
-
"educatorTodoListFailedToLoadMoreItems": "Failed to load more items",
|
|
207
|
-
|
|
208
|
-
"previousPage": "Previous page",
|
|
209
|
-
"nextPage": "Next page"
|
|
203
|
+
"searchMultiSelectMaxSelectionsReached": "Maximum of %{count} items selected"
|
|
210
204
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/platform-widget-dashboard",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"@instructure/ui-tooltip": "11.7.4",
|
|
138
138
|
"@instructure/ui-truncate-text": "11.7.4",
|
|
139
139
|
"@instructure/ui-view": "11.7.4",
|
|
140
|
-
"@instructure/platform-mock-canvas-api": "0.5.
|
|
140
|
+
"@instructure/platform-mock-canvas-api": "0.5.1"
|
|
141
141
|
},
|
|
142
142
|
"owner": "LX",
|
|
143
143
|
"scripts": {
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface CaretPaginationProps {
|
|
3
|
-
hasPrevious: boolean;
|
|
4
|
-
hasNext: boolean;
|
|
5
|
-
onPrevious: () => void;
|
|
6
|
-
onNext: () => void;
|
|
7
|
-
isAwaitingPage?: boolean;
|
|
8
|
-
/** Labels the navigation landmark, e.g. translations.educatorA11yPagination */
|
|
9
|
-
screenReaderLabel: string;
|
|
10
|
-
'data-testid'?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const CaretPagination: React.FC<CaretPaginationProps>;
|
|
13
|
-
//# sourceMappingURL=CaretPagination.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CaretPagination.d.ts","sourceRoot":"","sources":["../../../src/components/shared/CaretPagination.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,OAAO,CAAA;IACpB,OAAO,EAAE,OAAO,CAAA;IAChB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,+EAA+E;IAC/E,iBAAiB,EAAE,MAAM,CAAA;IACzB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAyE1D,CAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export interface UseCursorPageBufferParams<T> {
|
|
2
|
-
items: T[];
|
|
3
|
-
pageSize: number;
|
|
4
|
-
hasNextPage: boolean;
|
|
5
|
-
isFetchingNextPage: boolean;
|
|
6
|
-
hasFetchError: boolean;
|
|
7
|
-
fetchNextPage: () => unknown;
|
|
8
|
-
resetKey: string;
|
|
9
|
-
}
|
|
10
|
-
export interface UseCursorPageBufferResult<T> {
|
|
11
|
-
pageItems: T[];
|
|
12
|
-
hasPrevious: boolean;
|
|
13
|
-
hasNext: boolean;
|
|
14
|
-
isAwaitingPage: boolean;
|
|
15
|
-
goPrevious: () => void;
|
|
16
|
-
goNext: () => void;
|
|
17
|
-
}
|
|
18
|
-
export declare function useCursorPageBuffer<T>({ items, pageSize, hasNextPage, isFetchingNextPage, hasFetchError, fetchNextPage, resetKey, }: UseCursorPageBufferParams<T>): UseCursorPageBufferResult<T>;
|
|
19
|
-
//# sourceMappingURL=useCursorPageBuffer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCursorPageBuffer.d.ts","sourceRoot":"","sources":["../../src/hooks/useCursorPageBuffer.ts"],"names":[],"mappings":"AAoBA,MAAM,WAAW,yBAAyB,CAAC,CAAC;IAC1C,KAAK,EAAE,CAAC,EAAE,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,OAAO,CAAA;IACpB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,MAAM,OAAO,CAAA;IAC5B,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,yBAAyB,CAAC,CAAC;IAC1C,SAAS,EAAE,CAAC,EAAE,CAAA;IACd,WAAW,EAAE,OAAO,CAAA;IACpB,OAAO,EAAE,OAAO,CAAA;IAChB,cAAc,EAAE,OAAO,CAAA;IACvB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,EACrC,KAAK,EACL,QAAQ,EACR,WAAW,EACX,kBAAkB,EAClB,aAAa,EACb,aAAa,EACb,QAAQ,GACT,EAAE,yBAAyB,CAAC,CAAC,CAAC,GAAG,yBAAyB,CAAC,CAAC,CAAC,CAoC7D"}
|