@instructure/platform-widget-dashboard 11.0.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/EducatorContentQualityWidget/ScanningState.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 +3 -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/hooks/useEducatorAccessibilityScan.d.ts +11 -0
- package/dist/hooks/useEducatorAccessibilityScan.d.ts.map +1 -0
- package/dist/index.js +4708 -4711
- package/locales/en.json +1 -7
- package/package.json +37 -37
- 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",
|
|
@@ -102,42 +102,42 @@
|
|
|
102
102
|
"vite": "^6.0.0",
|
|
103
103
|
"vite-plugin-dts": "^4.0.0",
|
|
104
104
|
"vitest": "^4.0.0",
|
|
105
|
-
"@instructure/ui-a11y-content": "11.
|
|
106
|
-
"@instructure/ui-alerts": "11.
|
|
107
|
-
"@instructure/ui-avatar": "11.
|
|
108
|
-
"@instructure/ui-badge": "11.
|
|
109
|
-
"@instructure/ui-buttons": "11.
|
|
110
|
-
"@instructure/ui-checkbox": "11.
|
|
111
|
-
"@instructure/ui-color-picker": "11.
|
|
112
|
-
"@instructure/ui-date-input": "11.
|
|
113
|
-
"@instructure/ui-date-time-input": "11.
|
|
114
|
-
"@instructure/ui-flex": "11.
|
|
115
|
-
"@instructure/ui-grid": "11.
|
|
116
|
-
"@instructure/ui-heading": "11.
|
|
117
|
-
"@instructure/ui-icons": "11.
|
|
118
|
-
"@instructure/ui-link": "11.
|
|
119
|
-
"@instructure/ui-list": "11.
|
|
120
|
-
"@instructure/ui-menu": "11.
|
|
121
|
-
"@instructure/ui-overlays": "11.
|
|
122
|
-
"@instructure/ui-modal": "11.
|
|
123
|
-
"@instructure/ui-pagination": "11.
|
|
124
|
-
"@instructure/ui-pill": "11.
|
|
125
|
-
"@instructure/ui-progress": "11.
|
|
126
|
-
"@instructure/ui-responsive": "11.
|
|
127
|
-
"@instructure/ui-select": "11.
|
|
128
|
-
"@instructure/ui-simple-select": "11.
|
|
129
|
-
"@instructure/ui-spinner": "11.
|
|
130
|
-
"@instructure/ui-tabs": "11.
|
|
131
|
-
"@instructure/ui-tag": "11.
|
|
132
|
-
"@instructure/ui-text": "11.
|
|
133
|
-
"@instructure/ui-toggle-details": "11.
|
|
134
|
-
"@instructure/ui-time-select": "11.
|
|
135
|
-
"@instructure/ui-text-area": "11.
|
|
136
|
-
"@instructure/ui-text-input": "11.
|
|
137
|
-
"@instructure/ui-tooltip": "11.
|
|
138
|
-
"@instructure/ui-truncate-text": "11.
|
|
139
|
-
"@instructure/ui-view": "11.
|
|
140
|
-
"@instructure/platform-mock-canvas-api": "0.5.
|
|
105
|
+
"@instructure/ui-a11y-content": "11.7.4",
|
|
106
|
+
"@instructure/ui-alerts": "11.7.4",
|
|
107
|
+
"@instructure/ui-avatar": "11.7.4",
|
|
108
|
+
"@instructure/ui-badge": "11.7.4",
|
|
109
|
+
"@instructure/ui-buttons": "11.7.4",
|
|
110
|
+
"@instructure/ui-checkbox": "11.7.4",
|
|
111
|
+
"@instructure/ui-color-picker": "11.7.4",
|
|
112
|
+
"@instructure/ui-date-input": "11.7.4",
|
|
113
|
+
"@instructure/ui-date-time-input": "11.7.4",
|
|
114
|
+
"@instructure/ui-flex": "11.7.4",
|
|
115
|
+
"@instructure/ui-grid": "11.7.4",
|
|
116
|
+
"@instructure/ui-heading": "11.7.4",
|
|
117
|
+
"@instructure/ui-icons": "11.7.4",
|
|
118
|
+
"@instructure/ui-link": "11.7.4",
|
|
119
|
+
"@instructure/ui-list": "11.7.4",
|
|
120
|
+
"@instructure/ui-menu": "11.7.4",
|
|
121
|
+
"@instructure/ui-overlays": "11.7.4",
|
|
122
|
+
"@instructure/ui-modal": "11.7.4",
|
|
123
|
+
"@instructure/ui-pagination": "11.7.4",
|
|
124
|
+
"@instructure/ui-pill": "11.7.4",
|
|
125
|
+
"@instructure/ui-progress": "11.7.4",
|
|
126
|
+
"@instructure/ui-responsive": "11.7.4",
|
|
127
|
+
"@instructure/ui-select": "11.7.4",
|
|
128
|
+
"@instructure/ui-simple-select": "11.7.4",
|
|
129
|
+
"@instructure/ui-spinner": "11.7.4",
|
|
130
|
+
"@instructure/ui-tabs": "11.7.4",
|
|
131
|
+
"@instructure/ui-tag": "11.7.4",
|
|
132
|
+
"@instructure/ui-text": "11.7.4",
|
|
133
|
+
"@instructure/ui-toggle-details": "11.7.4",
|
|
134
|
+
"@instructure/ui-time-select": "11.7.4",
|
|
135
|
+
"@instructure/ui-text-area": "11.7.4",
|
|
136
|
+
"@instructure/ui-text-input": "11.7.4",
|
|
137
|
+
"@instructure/ui-tooltip": "11.7.4",
|
|
138
|
+
"@instructure/ui-truncate-text": "11.7.4",
|
|
139
|
+
"@instructure/ui-view": "11.7.4",
|
|
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"}
|