@instructure/platform-modules 1.8.0 → 1.10.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/adapters/canvasGraphql/index.d.ts +4 -3
- package/dist/adapters/canvasGraphql/index.d.ts.map +1 -1
- package/dist/adapters/canvasGraphql/normalize.d.ts +7 -1
- package/dist/adapters/canvasGraphql/normalize.d.ts.map +1 -1
- package/dist/components/FilterSelect.d.ts +8 -0
- package/dist/components/FilterSelect.d.ts.map +1 -0
- package/dist/components/ModuleCard.d.ts.map +1 -1
- package/dist/components/ModuleCard.stories.d.ts +2 -1
- package/dist/components/ModuleCard.stories.d.ts.map +1 -1
- package/dist/components/ModuleItemRow.d.ts +10 -3
- package/dist/components/ModuleItemRow.d.ts.map +1 -1
- package/dist/components/ModulesList.d.ts +0 -1
- package/dist/components/ModulesList.d.ts.map +1 -1
- package/dist/components/ModulesList.stories.d.ts +1 -1
- package/dist/components/ModulesList.stories.d.ts.map +1 -1
- package/dist/components/StatusPill.d.ts +10 -2
- package/dist/components/StatusPill.d.ts.map +1 -1
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/labels.d.ts +2 -0
- package/dist/components/labels.d.ts.map +1 -1
- package/dist/config/itemMeta.d.ts.map +1 -1
- package/dist/config/itemTypes.d.ts +4 -0
- package/dist/config/itemTypes.d.ts.map +1 -1
- package/dist/config/schemas.d.ts +2 -0
- package/dist/config/schemas.d.ts.map +1 -1
- package/dist/config/types.d.ts +2 -0
- package/dist/config/types.d.ts.map +1 -1
- package/dist/config/useFormatters.d.ts +1 -0
- package/dist/config/useFormatters.d.ts.map +1 -1
- package/dist/fixtures/scenarios.d.ts.map +1 -1
- package/dist/hooks/useModulesPageData.d.ts +2 -0
- package/dist/hooks/useModulesPageData.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1927 -1826
- package/locales/en.json +8 -2
- package/package.json +6 -2
- package/dist/components/FilterChips.d.ts +0 -8
- package/dist/components/FilterChips.d.ts.map +0 -1
package/locales/en.json
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"pageTitle": "Course modules",
|
|
3
|
+
"pageHeading": "%{courseName} Modules",
|
|
4
|
+
"breadcrumbLabel": "Breadcrumb",
|
|
5
|
+
"breadcrumbCourses": "Courses",
|
|
6
|
+
"breadcrumbModules": "Modules",
|
|
3
7
|
"modulesLoadedAnnouncement": {
|
|
4
8
|
"one": "%{count} module loaded",
|
|
5
9
|
"other": "%{count} modules loaded"
|
|
@@ -22,7 +26,8 @@
|
|
|
22
26
|
"filterScopeHint": "This filter runs on the modules loaded so far — load more to filter the rest of the course.",
|
|
23
27
|
"modulesLoadErrorAlert": "Modules failed to load: %{message}",
|
|
24
28
|
"modulesLoadingSpinnerLabel": "Loading modules",
|
|
25
|
-
"
|
|
29
|
+
"noModulesEmptyStateTitle": "No modules available yet",
|
|
30
|
+
"noModulesEmptyStateDescription": "Modules will appear here once they are published. Check back soon for more information.",
|
|
26
31
|
"filteredEmptyState": {
|
|
27
32
|
"one": "%{count} loaded module does not match this filter.",
|
|
28
33
|
"other": "None of the %{count} loaded modules match this filter."
|
|
@@ -35,7 +40,7 @@
|
|
|
35
40
|
"one": "%{count} module in this course is loaded.",
|
|
36
41
|
"other": "All %{count} modules in this course are loaded."
|
|
37
42
|
},
|
|
38
|
-
"filterGroupLabel": "
|
|
43
|
+
"filterGroupLabel": "Show:",
|
|
39
44
|
"filterAll": "All",
|
|
40
45
|
"filterInProgress": "In progress",
|
|
41
46
|
"filterComplete": "Complete",
|
|
@@ -105,6 +110,7 @@
|
|
|
105
110
|
"dateTimeWithDate": "%{date}, %{time}",
|
|
106
111
|
"timeWithZone": "%{time} (%{zone})",
|
|
107
112
|
"dueByline": "Due %{when}",
|
|
113
|
+
"pastDueByline": "Past due %{when}",
|
|
108
114
|
"unlockByline": "Will unlock on %{when}",
|
|
109
115
|
"unlockedByline": "Unlocked on %{when}",
|
|
110
116
|
"estimatedDurationByline": "%{duration} to complete",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/platform-modules",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"@instructure/emotion": "^11.0.0",
|
|
21
21
|
"@instructure/ui-a11y-content": "^11.0.0",
|
|
22
22
|
"@instructure/ui-alerts": "^11.7.0",
|
|
23
|
+
"@instructure/ui-breadcrumb": "^11.7.0",
|
|
23
24
|
"@instructure/ui-buttons": "^11.7.0",
|
|
24
25
|
"@instructure/ui-checkbox": "^11.7.0",
|
|
25
26
|
"@instructure/ui-color-utils": "^11.7.0",
|
|
@@ -34,12 +35,13 @@
|
|
|
34
35
|
"@instructure/ui-progress": "^11.7.0",
|
|
35
36
|
"@instructure/ui-radio-input": "^11.7.0",
|
|
36
37
|
"@instructure/ui-responsive": "^11.0.0",
|
|
38
|
+
"@instructure/ui-simple-select": "^11.7.0",
|
|
37
39
|
"@instructure/ui-spinner": "^11.7.0",
|
|
38
40
|
"@instructure/ui-text": "^11.7.0",
|
|
39
41
|
"@instructure/ui-text-area": "^11.7.0",
|
|
40
42
|
"@instructure/ui-text-input": "^11.7.0",
|
|
41
43
|
"@instructure/ui-tooltip": "^11.7.0",
|
|
42
|
-
"@instructure/ui-view": "^11.7.
|
|
44
|
+
"@instructure/ui-view": "^11.7.4",
|
|
43
45
|
"@tanstack/react-query": "^5.0.0",
|
|
44
46
|
"graphql": "^16.0.0",
|
|
45
47
|
"react": "^18.0.0",
|
|
@@ -57,6 +59,7 @@
|
|
|
57
59
|
"@instructure/emotion": "11.7.4",
|
|
58
60
|
"@instructure/ui-a11y-content": "11.7.4",
|
|
59
61
|
"@instructure/ui-alerts": "11.7.4",
|
|
62
|
+
"@instructure/ui-breadcrumb": "11.7.4",
|
|
60
63
|
"@instructure/ui-buttons": "11.7.4",
|
|
61
64
|
"@instructure/ui-checkbox": "11.7.4",
|
|
62
65
|
"@instructure/ui-color-utils": "11.7.4",
|
|
@@ -71,6 +74,7 @@
|
|
|
71
74
|
"@instructure/ui-progress": "11.7.4",
|
|
72
75
|
"@instructure/ui-radio-input": "11.7.4",
|
|
73
76
|
"@instructure/ui-responsive": "11.7.4",
|
|
77
|
+
"@instructure/ui-simple-select": "11.7.4",
|
|
74
78
|
"@instructure/ui-spinner": "11.7.4",
|
|
75
79
|
"@instructure/ui-text": "11.7.4",
|
|
76
80
|
"@instructure/ui-text-area": "11.7.4",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
export interface FilterChipsProps {
|
|
3
|
-
value: string;
|
|
4
|
-
onChange: (filter: string) => void;
|
|
5
|
-
describedBy?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare function FilterChips({ value, onChange, describedBy, }: FilterChipsProps): ReactElement | null;
|
|
8
|
-
//# sourceMappingURL=FilterChips.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FilterChips.d.ts","sourceRoot":"","sources":["../../src/components/FilterChips.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAkB,MAAM,OAAO,CAAA;AAIzD,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,QAAQ,EACR,WAAW,GACZ,EAAE,gBAAgB,GAAG,YAAY,GAAG,IAAI,CA8CxC"}
|