@instructure/platform-modules 1.9.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/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 +1 -1
- package/dist/components/ModuleCard.stories.d.ts.map +1 -1
- package/dist/components/ModuleItemRow.d.ts +2 -0
- package/dist/components/ModuleItemRow.d.ts.map +1 -1
- package/dist/components/ModulesList.d.ts.map +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/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 +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1803 -1752
- package/locales/en.json +4 -2
- package/package.json +4 -2
- package/dist/components/FilterChips.d.ts +0 -8
- package/dist/components/FilterChips.d.ts.map +0 -1
package/locales/en.json
CHANGED
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
"filterScopeHint": "This filter runs on the modules loaded so far — load more to filter the rest of the course.",
|
|
27
27
|
"modulesLoadErrorAlert": "Modules failed to load: %{message}",
|
|
28
28
|
"modulesLoadingSpinnerLabel": "Loading modules",
|
|
29
|
-
"
|
|
29
|
+
"noModulesEmptyStateTitle": "No modules available yet",
|
|
30
|
+
"noModulesEmptyStateDescription": "Modules will appear here once they are published. Check back soon for more information.",
|
|
30
31
|
"filteredEmptyState": {
|
|
31
32
|
"one": "%{count} loaded module does not match this filter.",
|
|
32
33
|
"other": "None of the %{count} loaded modules match this filter."
|
|
@@ -39,7 +40,7 @@
|
|
|
39
40
|
"one": "%{count} module in this course is loaded.",
|
|
40
41
|
"other": "All %{count} modules in this course are loaded."
|
|
41
42
|
},
|
|
42
|
-
"filterGroupLabel": "
|
|
43
|
+
"filterGroupLabel": "Show:",
|
|
43
44
|
"filterAll": "All",
|
|
44
45
|
"filterInProgress": "In progress",
|
|
45
46
|
"filterComplete": "Complete",
|
|
@@ -109,6 +110,7 @@
|
|
|
109
110
|
"dateTimeWithDate": "%{date}, %{time}",
|
|
110
111
|
"timeWithZone": "%{time} (%{zone})",
|
|
111
112
|
"dueByline": "Due %{when}",
|
|
113
|
+
"pastDueByline": "Past due %{when}",
|
|
112
114
|
"unlockByline": "Will unlock on %{when}",
|
|
113
115
|
"unlockedByline": "Unlocked on %{when}",
|
|
114
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",
|
|
@@ -35,12 +35,13 @@
|
|
|
35
35
|
"@instructure/ui-progress": "^11.7.0",
|
|
36
36
|
"@instructure/ui-radio-input": "^11.7.0",
|
|
37
37
|
"@instructure/ui-responsive": "^11.0.0",
|
|
38
|
+
"@instructure/ui-simple-select": "^11.7.0",
|
|
38
39
|
"@instructure/ui-spinner": "^11.7.0",
|
|
39
40
|
"@instructure/ui-text": "^11.7.0",
|
|
40
41
|
"@instructure/ui-text-area": "^11.7.0",
|
|
41
42
|
"@instructure/ui-text-input": "^11.7.0",
|
|
42
43
|
"@instructure/ui-tooltip": "^11.7.0",
|
|
43
|
-
"@instructure/ui-view": "^11.7.
|
|
44
|
+
"@instructure/ui-view": "^11.7.4",
|
|
44
45
|
"@tanstack/react-query": "^5.0.0",
|
|
45
46
|
"graphql": "^16.0.0",
|
|
46
47
|
"react": "^18.0.0",
|
|
@@ -73,6 +74,7 @@
|
|
|
73
74
|
"@instructure/ui-progress": "11.7.4",
|
|
74
75
|
"@instructure/ui-radio-input": "11.7.4",
|
|
75
76
|
"@instructure/ui-responsive": "11.7.4",
|
|
77
|
+
"@instructure/ui-simple-select": "11.7.4",
|
|
76
78
|
"@instructure/ui-spinner": "11.7.4",
|
|
77
79
|
"@instructure/ui-text": "11.7.4",
|
|
78
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"}
|