@instructure/platform-institutional-tagging 4.0.0 → 5.0.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/App.d.ts.map +1 -1
- package/dist/__tests__/useRestoreTag.test.d.ts +2 -0
- package/dist/__tests__/useRestoreTag.test.d.ts.map +1 -0
- package/dist/components/Category/TagArea.d.ts.map +1 -1
- package/dist/components/Layout/Layout.d.ts +6 -1
- package/dist/components/Layout/Layout.d.ts.map +1 -1
- package/dist/constants/i18n.d.ts +5 -0
- package/dist/constants/i18n.d.ts.map +1 -1
- package/dist/hooks/useRestoreTag.d.ts +9 -0
- package/dist/hooks/useRestoreTag.d.ts.map +1 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7707 -8610
- package/dist/modals/RestoreTagModal/RestoreTagModal.d.ts +11 -0
- package/dist/modals/RestoreTagModal/RestoreTagModal.d.ts.map +1 -0
- package/dist/modals/RestoreTagModal/index.d.ts +3 -0
- package/dist/modals/RestoreTagModal/index.d.ts.map +1 -0
- package/dist/modals/RestoreTagModal/styles.d.ts +3 -0
- package/dist/modals/RestoreTagModal/styles.d.ts.map +1 -0
- package/dist/screens/AccountTags/AccountTags.d.ts.map +1 -1
- package/locales/en.json +6 -0
- package/package.json +3 -2
- package/dist/components/Layout/styles.d.ts +0 -2
- package/dist/components/Layout/styles.d.ts.map +0 -1
- package/dist/screens/Home.d.ts +0 -3
- package/dist/screens/Home.d.ts.map +0 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SelectOption } from '../../components/Select';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export type RestoreTagModalProps = {
|
|
4
|
+
associationsCount: number;
|
|
5
|
+
allCategories: SelectOption<string>[];
|
|
6
|
+
validateRef: React.MutableRefObject<(() => boolean) | undefined>;
|
|
7
|
+
selectedCategoryRef: React.MutableRefObject<string | undefined>;
|
|
8
|
+
restoreAssociationsRef: React.MutableRefObject<boolean>;
|
|
9
|
+
};
|
|
10
|
+
export declare const RestoreTagModal: React.FC<RestoreTagModalProps>;
|
|
11
|
+
//# sourceMappingURL=RestoreTagModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RestoreTagModal.d.ts","sourceRoot":"","sources":["../../../src/modals/RestoreTagModal/RestoreTagModal.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAU,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEzD,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,MAAM,MAAM,oBAAoB,GAAG;IACjC,iBAAiB,EAAE,MAAM,CAAA;IACzB,aAAa,EAAE,YAAY,CAAC,MAAM,CAAC,EAAE,CAAA;IACrC,WAAW,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC,MAAM,OAAO,CAAC,GAAG,SAAS,CAAC,CAAA;IAChE,mBAAmB,EAAE,KAAK,CAAC,gBAAgB,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC/D,sBAAsB,EAAE,KAAK,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAA;CACxD,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAiD1D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modals/RestoreTagModal/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const RestoreTagModalContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
export declare const RestoreTagToggleWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/modals/RestoreTagModal/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,wBAAwB,6NAIpC,CAAA;AAED,eAAO,MAAM,uBAAuB,6NAInC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountTags.d.ts","sourceRoot":"","sources":["../../../src/screens/AccountTags/AccountTags.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AccountTags.d.ts","sourceRoot":"","sources":["../../../src/screens/AccountTags/AccountTags.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAsC/B,CAAA"}
|
package/locales/en.json
CHANGED
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
"peopleManagement": "People management",
|
|
15
15
|
"permissions": "Permissions",
|
|
16
16
|
"previousPage": "Previous page",
|
|
17
|
+
"restoreAssociations": "Restore previous account associations",
|
|
18
|
+
"restoreTagDescription": "Once you restore this tag, it will become active immediately. Do you also want to restore previous account associations? This will affect %{count} people.",
|
|
17
19
|
"save": "Save",
|
|
18
20
|
"search": "Search",
|
|
19
21
|
"title": "Institutional Tagging",
|
|
@@ -25,6 +27,8 @@
|
|
|
25
27
|
"categoryNameRequired": "Category name is required.",
|
|
26
28
|
"categoryRequired": "Category is required.",
|
|
27
29
|
"loadCategories": "Failed to load categories: %{errorMessage}",
|
|
30
|
+
"restoreTagCategoryRequired": "Select a category to restore the tag.",
|
|
31
|
+
"restoreTagFailed": "Failed to restore tag.",
|
|
28
32
|
"saveCategoryFailed": "Failed to save category. Please try again.",
|
|
29
33
|
"tagAlreadyExists": "This tag name already exists.",
|
|
30
34
|
"tagMoveConflict": "A tag with this name already exists in the selected category.",
|
|
@@ -35,6 +39,7 @@
|
|
|
35
39
|
"categoryCreated": "Category created",
|
|
36
40
|
"tagArchived": "Tag archived",
|
|
37
41
|
"tagDeleted": "Tag deleted",
|
|
42
|
+
"tagRestored": "Tag restored",
|
|
38
43
|
"tagSaved": "Tag saved",
|
|
39
44
|
"tagUpdated": "Tag changes saved",
|
|
40
45
|
"addTag": "Add tag",
|
|
@@ -46,6 +51,7 @@
|
|
|
46
51
|
"moveTags": "Move tags",
|
|
47
52
|
"newTag": "New tag",
|
|
48
53
|
"restoreTag": "Restore tag",
|
|
54
|
+
"restoreTagConfirmation": "Restoring this tag will make it active and available for use again.",
|
|
49
55
|
"tagActions": "Tag actions",
|
|
50
56
|
"tagDescriptionLabel": "Tag description",
|
|
51
57
|
"tagDescriptionPlaceholder": "Briefly describe this tag",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/platform-institutional-tagging",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"@instructure/ui-alerts": "^10.5.0",
|
|
22
22
|
"@instructure/ui-badge": "^10.5.0",
|
|
23
23
|
"@instructure/ui-buttons": "^10.5.0",
|
|
24
|
+
"@instructure/ui-checkbox": "^10.5.0",
|
|
24
25
|
"@instructure/ui-drilldown": "^10.5.0",
|
|
25
26
|
"@instructure/ui-flex": "^10.5.0",
|
|
26
27
|
"@instructure/ui-form-field": "^10.5.0",
|
|
@@ -41,7 +42,7 @@
|
|
|
41
42
|
"react": "^18.0.0",
|
|
42
43
|
"react-dom": "^18.0.0",
|
|
43
44
|
"react-router-dom": "^6.0.0",
|
|
44
|
-
"@instructure/platform-provider": "0.4.
|
|
45
|
+
"@instructure/platform-provider": "0.4.1"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
48
|
"@instructure/ui-form-field": "^10.30.0",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export declare const LayoutWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
-
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,6NAKzB,CAAA"}
|
package/dist/screens/Home.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Home.d.ts","sourceRoot":"","sources":["../../src/screens/Home.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAQxB,CAAA"}
|