@instructure/platform-institutional-tagging 6.4.0 → 6.6.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/README.md +0 -12
- package/dist/components/Alert/AriaLiveContainer.d.ts.map +1 -1
- package/dist/components/Alert/styles.d.ts +1 -0
- package/dist/components/Alert/styles.d.ts.map +1 -1
- package/dist/components/Category/Category.d.ts.map +1 -1
- package/dist/components/Category/CategoryList.d.ts.map +1 -1
- package/dist/components/Category/CategoryListItem.d.ts.map +1 -1
- package/dist/components/Category/DragOverlayTag.d.ts +6 -0
- package/dist/components/Category/DragOverlayTag.d.ts.map +1 -0
- package/dist/components/Category/TagArea.d.ts.map +1 -1
- package/dist/components/Category/styles.d.ts +7 -1
- package/dist/components/Category/styles.d.ts.map +1 -1
- package/dist/components/Category/types.d.ts +2 -2
- package/dist/components/Category/types.d.ts.map +1 -1
- package/dist/components/SearchAndFilterSection/SearchAndFilterSection.d.ts +2 -8
- package/dist/components/SearchAndFilterSection/SearchAndFilterSection.d.ts.map +1 -1
- package/dist/components/Tag/Tag.d.ts +3 -0
- package/dist/components/Tag/Tag.d.ts.map +1 -1
- package/dist/components/Tag/styles.d.ts +6 -1
- package/dist/components/Tag/styles.d.ts.map +1 -1
- package/dist/constants/i18n.d.ts +27 -1
- package/dist/constants/i18n.d.ts.map +1 -1
- package/dist/contexts/DragContext.d.ts +15 -0
- package/dist/contexts/DragContext.d.ts.map +1 -0
- package/dist/contexts/ViewContext.d.ts +19 -0
- package/dist/contexts/ViewContext.d.ts.map +1 -0
- package/dist/graphql/queries.d.ts +2 -0
- package/dist/graphql/queries.d.ts.map +1 -1
- package/dist/hooks/useAccountTagsScreen.d.ts +0 -6
- package/dist/hooks/useAccountTagsScreen.d.ts.map +1 -1
- package/dist/hooks/useAllActiveTags.d.ts +5 -0
- package/dist/hooks/useAllActiveTags.d.ts.map +1 -0
- package/dist/hooks/useArchiveTag.d.ts.map +1 -1
- package/dist/hooks/useAssignTagsToUser.d.ts +5 -0
- package/dist/hooks/useAssignTagsToUser.d.ts.map +1 -0
- package/dist/hooks/useDragAndDrop.d.ts +17 -0
- package/dist/hooks/useDragAndDrop.d.ts.map +1 -0
- package/dist/hooks/useFetchTagsForCategory.d.ts +2 -1
- package/dist/hooks/useFetchTagsForCategory.d.ts.map +1 -1
- package/dist/hooks/useFetchUserTags.d.ts +7 -0
- package/dist/hooks/useFetchUserTags.d.ts.map +1 -0
- package/dist/hooks/useMoveTag.d.ts +1 -0
- package/dist/hooks/useMoveTag.d.ts.map +1 -1
- package/dist/hooks/usePagination.d.ts.map +1 -1
- package/dist/hooks/useRemoveUserTag.d.ts +4 -0
- package/dist/hooks/useRemoveUserTag.d.ts.map +1 -0
- package/dist/hooks/useRestoreTag.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13277 -13888
- package/dist/modals/AssignTagsModal/AssignTagsModal.d.ts +9 -0
- package/dist/modals/AssignTagsModal/AssignTagsModal.d.ts.map +1 -0
- package/dist/modals/AssignTagsModal/index.d.ts +2 -0
- package/dist/modals/AssignTagsModal/index.d.ts.map +1 -0
- package/dist/modals/AssignTagsModal/styles.d.ts +3 -0
- package/dist/modals/AssignTagsModal/styles.d.ts.map +1 -0
- package/dist/screens/AccountTags/AccountTags.d.ts.map +1 -1
- package/dist/screens/UserProfileTags/UserProfileTags.d.ts +7 -0
- package/dist/screens/UserProfileTags/UserProfileTags.d.ts.map +1 -0
- package/dist/screens/UserProfileTags/index.d.ts +2 -0
- package/dist/screens/UserProfileTags/index.d.ts.map +1 -0
- package/dist/screens/UserProfileTags/styles.d.ts +6 -0
- package/dist/screens/UserProfileTags/styles.d.ts.map +1 -0
- package/dist/skeletons/CategorySkeleton.d.ts.map +1 -1
- package/dist/skeletons/UserProfileTagsSkeleton.d.ts +3 -0
- package/dist/skeletons/UserProfileTagsSkeleton.d.ts.map +1 -0
- package/dist/skeletons/styles.d.ts +4 -0
- package/dist/skeletons/styles.d.ts.map +1 -1
- package/dist/types/category.d.ts +2 -2
- package/dist/types/category.d.ts.map +1 -1
- package/dist/types/state.d.ts +1 -0
- package/dist/types/state.d.ts.map +1 -1
- package/dist/types/tag.d.ts +2 -2
- package/dist/types/tag.d.ts.map +1 -1
- package/dist/utils/gqlMappers.d.ts +4 -1
- package/dist/utils/gqlMappers.d.ts.map +1 -1
- package/locales/en.json +27 -1
- package/package.json +50 -35
- package/dist/App.d.ts +0 -3
- package/dist/App.d.ts.map +0 -1
- package/dist/__tests__/CategoryActionButtons.test.d.ts +0 -2
- package/dist/__tests__/CategoryActionButtons.test.d.ts.map +0 -1
- package/dist/__tests__/CategoryInfoPills.test.d.ts +0 -2
- package/dist/__tests__/CategoryInfoPills.test.d.ts.map +0 -1
- package/dist/__tests__/FeatureFlagsContext.test.d.ts +0 -2
- package/dist/__tests__/FeatureFlagsContext.test.d.ts.map +0 -1
- package/dist/__tests__/SearchAndFilterSection.test.d.ts +0 -2
- package/dist/__tests__/SearchAndFilterSection.test.d.ts.map +0 -1
- package/dist/__tests__/Tag.test.d.ts +0 -2
- package/dist/__tests__/Tag.test.d.ts.map +0 -1
- package/dist/__tests__/TagDetailHeader.test.d.ts +0 -2
- package/dist/__tests__/TagDetailHeader.test.d.ts.map +0 -1
- package/dist/__tests__/TagDetailsFields.test.d.ts +0 -2
- package/dist/__tests__/TagDetailsFields.test.d.ts.map +0 -1
- package/dist/__tests__/helpers.d.ts +0 -15
- package/dist/__tests__/helpers.d.ts.map +0 -1
- package/dist/__tests__/i18n.test.d.ts +0 -2
- package/dist/__tests__/i18n.test.d.ts.map +0 -1
- package/dist/__tests__/layout.test.d.ts +0 -2
- package/dist/__tests__/layout.test.d.ts.map +0 -1
- package/dist/__tests__/server.d.ts +0 -10
- package/dist/__tests__/server.d.ts.map +0 -1
- package/dist/__tests__/setup.d.ts +0 -1
- package/dist/__tests__/setup.d.ts.map +0 -1
- package/dist/__tests__/useAddPeople.test.d.ts +0 -2
- package/dist/__tests__/useAddPeople.test.d.ts.map +0 -1
- package/dist/__tests__/useAllCategories.test.d.ts +0 -2
- package/dist/__tests__/useAllCategories.test.d.ts.map +0 -1
- package/dist/__tests__/useAllTagNames.test.d.ts +0 -2
- package/dist/__tests__/useAllTagNames.test.d.ts.map +0 -1
- package/dist/__tests__/useArchiveCategory.test.d.ts +0 -2
- package/dist/__tests__/useArchiveCategory.test.d.ts.map +0 -1
- package/dist/__tests__/useArchiveTag.test.d.ts +0 -2
- package/dist/__tests__/useArchiveTag.test.d.ts.map +0 -1
- package/dist/__tests__/useCategoryFormFields.test.d.ts +0 -2
- package/dist/__tests__/useCategoryFormFields.test.d.ts.map +0 -1
- package/dist/__tests__/useCreateTagForm.test.d.ts +0 -2
- package/dist/__tests__/useCreateTagForm.test.d.ts.map +0 -1
- package/dist/__tests__/useEditCategoryForm.test.d.ts +0 -2
- package/dist/__tests__/useEditCategoryForm.test.d.ts.map +0 -1
- package/dist/__tests__/useEditTagForm.test.d.ts +0 -2
- package/dist/__tests__/useEditTagForm.test.d.ts.map +0 -1
- package/dist/__tests__/useFetchTagUsers.test.d.ts +0 -2
- package/dist/__tests__/useFetchTagUsers.test.d.ts.map +0 -1
- package/dist/__tests__/useMoveTag.test.d.ts +0 -2
- package/dist/__tests__/useMoveTag.test.d.ts.map +0 -1
- package/dist/__tests__/useNewCategoryPopover.test.d.ts +0 -2
- package/dist/__tests__/useNewCategoryPopover.test.d.ts.map +0 -1
- package/dist/__tests__/usePagination.test.d.ts +0 -2
- package/dist/__tests__/usePagination.test.d.ts.map +0 -1
- package/dist/__tests__/useRemoveTagUser.test.d.ts +0 -2
- package/dist/__tests__/useRemoveTagUser.test.d.ts.map +0 -1
- package/dist/__tests__/useRestoreTag.test.d.ts +0 -2
- package/dist/__tests__/useRestoreTag.test.d.ts.map +0 -1
- package/dist/__tests__/useSkeletons.test.d.ts +0 -2
- package/dist/__tests__/useSkeletons.test.d.ts.map +0 -1
- package/dist/__tests__/useTagFormFields.test.d.ts +0 -2
- package/dist/__tests__/useTagFormFields.test.d.ts.map +0 -1
- package/dist/__tests__/utils.test.d.ts +0 -2
- package/dist/__tests__/utils.test.d.ts.map +0 -1
- package/dist/main.d.ts +0 -2
- package/dist/main.d.ts.map +0 -1
- package/dist/stories/Category.stories.d.ts +0 -16
- package/dist/stories/Category.stories.d.ts.map +0 -1
- package/dist/stories/Tag.stories.d.ts +0 -14
- package/dist/stories/Tag.stories.d.ts.map +0 -1
- package/dist/stories/UserTagList.stories.d.ts +0 -11
- package/dist/stories/UserTagList.stories.d.ts.map +0 -1
- package/dist/stories/mocks/application.d.ts +0 -3
- package/dist/stories/mocks/application.d.ts.map +0 -1
- package/dist/stories/mocks/category.d.ts +0 -3
- package/dist/stories/mocks/category.d.ts.map +0 -1
- package/dist/stories/mocks/tag.d.ts +0 -4
- package/dist/stories/mocks/tag.d.ts.map +0 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface AssignTagsModalProps {
|
|
3
|
+
userId: string;
|
|
4
|
+
existingTagIds: Set<string>;
|
|
5
|
+
submitRef: React.MutableRefObject<(() => void) | undefined>;
|
|
6
|
+
}
|
|
7
|
+
export declare const AssignTagsModal: React.FC<AssignTagsModalProps>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=AssignTagsModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AssignTagsModal.d.ts","sourceRoot":"","sources":["../../../src/modals/AssignTagsModal/AssignTagsModal.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,UAAU,oBAAoB;IAC5B,MAAM,EAAE,MAAM,CAAA;IACd,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC3B,SAAS,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC,CAAA;CAC5D;AAQD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAsJ1D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modals/AssignTagsModal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const AssignTagsContainer: 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 SelectedTagsWrapper: 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/AssignTagsModal/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB,6NAK/B,CAAA;AAED,eAAO,MAAM,mBAAmB,6NAI/B,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":"AAOA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,UAAU,gBAAgB;IACxB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;CAC7C;AA6CD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAsBlD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserProfileTags.d.ts","sourceRoot":"","sources":["../../../src/screens/UserProfileTags/UserProfileTags.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,MAAM,OAAO,CAAA;AASzB,UAAU,oBAAoB;IAC5B,MAAM,EAAE,MAAM,CAAA;CACf;AAsGD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAI1D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/screens/UserProfileTags/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const UserProfileTagsContainer: 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 UserProfileTagsRow: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export declare const TagsArea: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
+
export declare const TagsList: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
|
|
5
|
+
export declare const TagsItem: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>> & string;
|
|
6
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/screens/UserProfileTags/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,wBAAwB,6NAEpC,CAAA;AAED,eAAO,MAAM,kBAAkB,6NAI9B,CAAA;AAED,eAAO,MAAM,QAAQ,6NAEpB,CAAA;AAED,eAAO,MAAM,QAAQ,iOAOpB,CAAA;AAED,eAAO,MAAM,QAAQ,6NAEpB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategorySkeleton.d.ts","sourceRoot":"","sources":["../../src/skeletons/CategorySkeleton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CategorySkeleton.d.ts","sourceRoot":"","sources":["../../src/skeletons/CategorySkeleton.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAA;AAczB,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAgEpC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserProfileTagsSkeleton.d.ts","sourceRoot":"","sources":["../../src/skeletons/UserProfileTagsSkeleton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAWzB,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAgB3C,CAAA"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export declare const CategorySkeletonWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>> & string;
|
|
2
2
|
export declare const CategorySkeletonHeader: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
3
|
export declare const CategorySkeletonContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
+
export declare const CategorySkeletonTopSectionContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
|
+
export declare const CategorySkeletonTextContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
|
+
export declare const CategorySkeletonActionWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
7
|
export declare const CategorySkeletonPills: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
8
|
export declare const CategorySkeletonTagArea: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
9
|
export declare const TagSkeletonInner: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -13,6 +16,7 @@ export declare const TagDetailSkeletonActions: import('styled-components/dist/ty
|
|
|
13
16
|
export declare const TagDetailSkeletonActionsBar: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
14
17
|
export declare const TagDetailSkeletonRows: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
15
18
|
export declare const TagDetailSkeletonRow: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
19
|
+
export declare const UserProfileTagsSkeletonList: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
|
|
16
20
|
export declare const UserSearchSkeletonContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
17
21
|
export declare const UserSearchSkeletonDetails: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
18
22
|
interface SkeletonBlockProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/skeletons/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,uBAAuB,6NAQnC,CAAA;AACD,eAAO,MAAM,sBAAsB,6NAQlC,CAAA;AACD,eAAO,MAAM,uBAAuB,6NAMnC,CAAA;AACD,eAAO,MAAM,qBAAqB,6NAIjC,CAAA;AACD,eAAO,MAAM,uBAAuB,6NAKnC,CAAA;AACD,eAAO,MAAM,gBAAgB,6NAO5B,CAAA;AACD,eAAO,MAAM,kBAAkB,6NAU9B,CAAA;AACD,eAAO,MAAM,eAAe,6NAM3B,CAAA;AAED,eAAO,MAAM,uBAAuB,6NAOnC,CAAA;AACD,eAAO,MAAM,yBAAyB,6NAMrC,CAAA;AACD,eAAO,MAAM,0BAA0B,6NAKtC,CAAA;AACD,eAAO,MAAM,wBAAwB,6NAIpC,CAAA;AACD,eAAO,MAAM,2BAA2B,6NAKvC,CAAA;AACD,eAAO,MAAM,qBAAqB,6NAIjC,CAAA;AACD,eAAO,MAAM,oBAAoB,6NAMhC,CAAA;AAED,eAAO,MAAM,yBAAyB,+NAIrC,CAAA;AACD,eAAO,MAAM,yBAAyB,+NAIrC,CAAA;AAOD,UAAU,kBAAkB;IAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAED,eAAO,MAAM,aAAa,uPAYzB,CAAA"}
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/skeletons/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,uBAAuB,6NAQnC,CAAA;AACD,eAAO,MAAM,sBAAsB,6NAQlC,CAAA;AACD,eAAO,MAAM,uBAAuB,6NAMnC,CAAA;AACD,eAAO,MAAM,mCAAmC,6NAK/C,CAAA;AACD,eAAO,MAAM,6BAA6B,6NAMzC,CAAA;AACD,eAAO,MAAM,6BAA6B,6NAMzC,CAAA;AACD,eAAO,MAAM,qBAAqB,6NAIjC,CAAA;AACD,eAAO,MAAM,uBAAuB,6NAKnC,CAAA;AACD,eAAO,MAAM,gBAAgB,6NAO5B,CAAA;AACD,eAAO,MAAM,kBAAkB,6NAU9B,CAAA;AACD,eAAO,MAAM,eAAe,6NAM3B,CAAA;AAED,eAAO,MAAM,uBAAuB,6NAOnC,CAAA;AACD,eAAO,MAAM,yBAAyB,6NAMrC,CAAA;AACD,eAAO,MAAM,0BAA0B,6NAKtC,CAAA;AACD,eAAO,MAAM,wBAAwB,6NAIpC,CAAA;AACD,eAAO,MAAM,2BAA2B,6NAKvC,CAAA;AACD,eAAO,MAAM,qBAAqB,6NAIjC,CAAA;AACD,eAAO,MAAM,oBAAoB,6NAMhC,CAAA;AAED,eAAO,MAAM,2BAA2B,iOAOvC,CAAA;AAED,eAAO,MAAM,yBAAyB,+NAIrC,CAAA;AACD,eAAO,MAAM,yBAAyB,+NAIrC,CAAA;AAOD,UAAU,kBAAkB;IAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAED,eAAO,MAAM,aAAa,uPAYzB,CAAA"}
|
package/dist/types/category.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InstitutionalTagWorkflowState } from '@instructure/platform-graphql-types';
|
|
2
2
|
export interface CategoryType {
|
|
3
3
|
_id: string;
|
|
4
4
|
name: string;
|
|
5
5
|
description?: string | null;
|
|
6
|
-
workflowState:
|
|
6
|
+
workflowState: InstitutionalTagWorkflowState;
|
|
7
7
|
createdAt?: string;
|
|
8
8
|
updatedAt?: string;
|
|
9
9
|
tagsCount?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../src/types/category.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../src/types/category.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAA;AAExF,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,aAAa,EAAE,6BAA6B,CAAA;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B"}
|
package/dist/types/state.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../src/types/state.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAED,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAED,oBAAY,SAAS;IACnB,GAAG,QAAQ;IACX,IAAI,SAAS;CACd"}
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../src/types/state.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAED,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,OAAO,YAAY;CACpB;AAED,oBAAY,SAAS;IACnB,GAAG,QAAQ;IACX,IAAI,SAAS;CACd"}
|
package/dist/types/tag.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { InstitutionalTagWorkflowState } from '@instructure/platform-graphql-types';
|
|
1
2
|
import { CategoryType } from './category';
|
|
2
|
-
import { WorkflowState } from './state';
|
|
3
3
|
export interface TagType {
|
|
4
4
|
_id: string;
|
|
5
5
|
name: string;
|
|
6
6
|
description: string;
|
|
7
|
-
workflowState:
|
|
7
|
+
workflowState: InstitutionalTagWorkflowState;
|
|
8
8
|
associationsCount?: number;
|
|
9
9
|
category: Pick<CategoryType, '_id' | 'name'>;
|
|
10
10
|
createdAt?: string;
|
package/dist/types/tag.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../src/types/tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../src/types/tag.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAA;AACxF,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAEzC,MAAM,WAAW,OAAO;IACtB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,6BAA6B,CAAA;IAC5C,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,QAAQ,EAAE,IAAI,CAAC,YAAY,EAAE,KAAK,GAAG,MAAM,CAAC,CAAA;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,OAAO,EAAE,CAAA;IACf,QAAQ,EAAE;QACR,WAAW,EAAE,OAAO,CAAA;QACpB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QACzB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAC3B,CAAA;CACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetInstitutionalTagCategoriesQuery, GetInstitutionalTagQuery, GetInstitutionalTagsForCategoryQuery } from '@instructure/platform-graphql-types';
|
|
1
|
+
import { GetInstitutionalTagCategoriesQuery, GetInstitutionalTagQuery, GetInstitutionalTagsForCategoryQuery, GetUserInstitutionalTagsQuery } from '@instructure/platform-graphql-types';
|
|
2
2
|
import { CategoryType } from '../types/category';
|
|
3
3
|
import { InitialTagsData, TagType } from '../types/tag';
|
|
4
4
|
import { TagUserType } from '../types/user';
|
|
@@ -13,6 +13,9 @@ export declare const mapTagDetail: (data: GqlTagDetail) => TagType;
|
|
|
13
13
|
type GqlUsersConnection = NonNullable<NonNullable<GetInstitutionalTagQuery['institutionalTag']>['usersConnection']>;
|
|
14
14
|
export type GqlTagUser = NonNullable<NonNullable<GqlUsersConnection['nodes']>[number]>;
|
|
15
15
|
export declare const mapTagUser: (user: GqlTagUser) => TagUserType;
|
|
16
|
+
type GqlUserTagConnection = NonNullable<NonNullable<GetUserInstitutionalTagsQuery['user']>['institutionalTagsConnection']>;
|
|
17
|
+
export type GqlUserTag = NonNullable<NonNullable<GqlUserTagConnection['nodes']>[number]>;
|
|
18
|
+
export declare const mapUserTagNode: (node: GqlUserTag) => Pick<TagType, "_id" | "name" | "category">;
|
|
16
19
|
export declare const mapCategoryTagsData: (node: CategoryNode) => InitialTagsData;
|
|
17
20
|
export {};
|
|
18
21
|
//# sourceMappingURL=gqlMappers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gqlMappers.d.ts","sourceRoot":"","sources":["../../src/utils/gqlMappers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kCAAkC,EAClC,wBAAwB,EACxB,oCAAoC,
|
|
1
|
+
{"version":3,"file":"gqlMappers.d.ts","sourceRoot":"","sources":["../../src/utils/gqlMappers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kCAAkC,EAClC,wBAAwB,EACxB,oCAAoC,EACpC,6BAA6B,EAE9B,MAAM,qCAAqC,CAAA;AAC5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,KAAK,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAG9C,KAAK,kBAAkB,GAAG,WAAW,CACnC,WAAW,CAAC,kCAAkC,CAAC,SAAS,CAAC,CAAC,CAAC,sCAAsC,CAAC,CACnG,CAAA;AACD,MAAM,MAAM,YAAY,GAAG,WAAW,CAAC,WAAW,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAA;AAExF,KAAK,aAAa,GAAG,WAAW,CAC9B,WAAW,CAAC,oCAAoC,CAAC,SAAS,CAAC,CAAC,CAAC,6BAA6B,CAAC,CAC5F,CAAA;AACD,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC,WAAW,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAA;AAEjF,eAAO,MAAM,UAAU,GACrB,KAAK,UAAU,EACf,mBAAmB,IAAI,CAAC,YAAY,EAAE,KAAK,GAAG,MAAM,CAAC,KACpD,OASD,CAAA;AAEF,eAAO,MAAM,eAAe,GAAI,MAAM,YAAY,KAAG,YAOnD,CAAA;AAEF,MAAM,MAAM,YAAY,GAAG,WAAW,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,CAAC,CAAA;AAEpF,eAAO,MAAM,YAAY,GAAI,MAAM,YAAY,KAAG,OAShD,CAAA;AAEF,KAAK,kBAAkB,GAAG,WAAW,CACnC,WAAW,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAC7E,CAAA;AACD,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC,WAAW,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAA;AAEtF,eAAO,MAAM,UAAU,GAAI,MAAM,UAAU,KAAG,WAO5C,CAAA;AAEF,KAAK,oBAAoB,GAAG,WAAW,CACrC,WAAW,CAAC,6BAA6B,CAAC,MAAM,CAAC,CAAC,CAAC,6BAA6B,CAAC,CAClF,CAAA;AACD,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC,WAAW,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAA;AAExF,eAAO,MAAM,cAAc,GAAI,MAAM,UAAU,KAAG,IAAI,CAAC,OAAO,EAAE,KAAK,GAAG,MAAM,GAAG,UAAU,CAIzF,CAAA;AAEF,eAAO,MAAM,mBAAmB,GAAI,MAAM,YAAY,KAAG,eASvD,CAAA"}
|
package/locales/en.json
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"createdAt": "Created: %{date}",
|
|
9
9
|
"edit": "Edit",
|
|
10
10
|
"id": "ID",
|
|
11
|
+
"institutionalTags": "Institutional Tags",
|
|
11
12
|
"loadingData": "Loading data",
|
|
12
13
|
"moreOptions": "More options",
|
|
13
14
|
"move": "Move",
|
|
@@ -17,6 +18,7 @@
|
|
|
17
18
|
"peopleManagement": "People management",
|
|
18
19
|
"permissions": "Permissions",
|
|
19
20
|
"previousPage": "Previous page",
|
|
21
|
+
"remove": "Remove %{userName}",
|
|
20
22
|
"restoreAssociations": "Restore previous account associations",
|
|
21
23
|
"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.",
|
|
22
24
|
"save": "Save",
|
|
@@ -33,10 +35,14 @@
|
|
|
33
35
|
"archiveTagFailed": "Failed to archive tag.",
|
|
34
36
|
"archiveTagNotFound": "Tag not found or already archived.",
|
|
35
37
|
"archiveTagUnprocessable": "This tag cannot be archived in its current state.",
|
|
38
|
+
"assignTagsFailed": "Failed to assign tags.",
|
|
39
|
+
"assignTagsRequired": "Select at least one tag.",
|
|
36
40
|
"categoryNameAlreadyExists": "A category with this name already exists.",
|
|
37
41
|
"categoryNameRequired": "Category name is required.",
|
|
38
42
|
"categoryRequired": "Category is required.",
|
|
39
43
|
"loadCategories": "Failed to load categories: %{errorMessage}",
|
|
44
|
+
"loadTagsFailed": "Failed to load tags.",
|
|
45
|
+
"removeTagFromUserFailed": "Failed to remove tag from user.",
|
|
40
46
|
"removeUserFromTagFailed": "Failed to remove user from tag.",
|
|
41
47
|
"restoreTagCategoryRequired": "Select a category to restore the tag.",
|
|
42
48
|
"restoreTagFailed": "Failed to restore tag.",
|
|
@@ -54,6 +60,7 @@
|
|
|
54
60
|
"tagArchived": "Tag archived",
|
|
55
61
|
"tagDeleted": "Tag deleted",
|
|
56
62
|
"tagMoved": "Tag moved to %{categoryName}",
|
|
63
|
+
"tagRemovedFromUser": "Tag removed from user",
|
|
57
64
|
"tagRestored": "Tag restored",
|
|
58
65
|
"tagSaved": "Tag saved",
|
|
59
66
|
"tagUpdated": "Tag changes saved",
|
|
@@ -65,14 +72,29 @@
|
|
|
65
72
|
"archiveTag": "Archive tag",
|
|
66
73
|
"archiveTagConfirmation": "Archiving this tag means it will no longer be active or available for use. You can restore it later if needed.",
|
|
67
74
|
"assignTag": "Assign people to tag",
|
|
75
|
+
"assignTagsToUser": "Assign tags",
|
|
76
|
+
"confirmRemoveTagBody": "This will remove the tag from the user. You can reassign it later if needed.",
|
|
77
|
+
"confirmRemoveTagTitle": "Remove tag?",
|
|
78
|
+
"dragCancelled": "Dragging %{tagName} was cancelled. Tag remains in %{categoryName}.",
|
|
79
|
+
"dragDropped": "%{tagName} moved to %{categoryName}.",
|
|
80
|
+
"dragDroppedSameCategory": "%{tagName} dropped back in its original category. No change.",
|
|
81
|
+
"dragHandleLabel": "Drag handle for %{tagName} tag",
|
|
82
|
+
"dragInstructions": "Press Space or Enter to pick up a tag. Use arrow keys to navigate between categories. Press Space or Enter to drop, or press Escape to cancel.",
|
|
83
|
+
"dragOverCategory": "Moving %{tagName} over %{categoryName}.",
|
|
84
|
+
"dragPickedUp": "Picked up %{tagName} from %{categoryName}.",
|
|
85
|
+
"dropToMoveHere": "Drop to move here",
|
|
68
86
|
"editTag": "Edit tag",
|
|
69
87
|
"moveTags": "Move tags",
|
|
70
88
|
"moveTo": "Move to",
|
|
71
89
|
"newTag": "New tag",
|
|
72
90
|
"noResultsFound": "No results found",
|
|
73
|
-
"
|
|
91
|
+
"noTagsAssigned": "No tags assigned",
|
|
92
|
+
"removeSelectedTag": "Remove %{tagName}",
|
|
93
|
+
"removeTagFromUser": "Remove tag from user",
|
|
94
|
+
"removeTagFromUserLabel": "Remove %{tagName} from user",
|
|
74
95
|
"removeUserFromTag": "Remove user from tag",
|
|
75
96
|
"restoreTag": "Restore tag",
|
|
97
|
+
"searchOrSelectTags": "Search or select tags",
|
|
76
98
|
"sortPeople": "Sort people",
|
|
77
99
|
"tagActions": "Actions for %{tagName} tag",
|
|
78
100
|
"tagDescriptionLabel": "Tag description",
|
|
@@ -115,6 +137,10 @@
|
|
|
115
137
|
"one": "%{count} person added to %{tagName}",
|
|
116
138
|
"other": "%{count} people added to %{tagName}"
|
|
117
139
|
},
|
|
140
|
+
"assignTagsSuccess": {
|
|
141
|
+
"one": "%{count} tag assigned",
|
|
142
|
+
"other": "%{count} tags assigned"
|
|
143
|
+
},
|
|
118
144
|
"nMoreTags": {
|
|
119
145
|
"one": "and %{count} more tag",
|
|
120
146
|
"other": "and %{count} more tags"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/platform-institutional-tagging",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -17,39 +17,37 @@
|
|
|
17
17
|
"locales"
|
|
18
18
|
],
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@instructure/emotion": "^
|
|
21
|
-
"@instructure/ui-alerts": "^
|
|
22
|
-
"@instructure/ui-avatar": "^
|
|
23
|
-
"@instructure/ui-badge": "^
|
|
24
|
-
"@instructure/ui-buttons": "^
|
|
25
|
-
"@instructure/ui-checkbox": "^
|
|
26
|
-
"@instructure/ui-drilldown": "^
|
|
27
|
-
"@instructure/ui-flex": "^
|
|
28
|
-
"@instructure/ui-form-field": "^
|
|
29
|
-
"@instructure/ui-heading": "^
|
|
30
|
-
"@instructure/ui-icons": "^
|
|
31
|
-
"@instructure/ui-menu": "^
|
|
32
|
-
"@instructure/ui-modal": "^
|
|
33
|
-
"@instructure/ui-pagination": "^
|
|
34
|
-
"@instructure/ui-pill": "^
|
|
35
|
-
"@instructure/ui-popover": "^
|
|
36
|
-
"@instructure/ui-select": "^
|
|
37
|
-
"@instructure/ui-simple-select": "^
|
|
38
|
-
"@instructure/ui-tag": "^
|
|
39
|
-
"@instructure/ui-table": "^
|
|
40
|
-
"@instructure/ui-text": "^
|
|
41
|
-
"@instructure/ui-text-area": "^
|
|
42
|
-
"@instructure/ui-text-input": "^
|
|
43
|
-
"@instructure/ui-themes": "^
|
|
44
|
-
"@instructure/ui-truncate-text": "^
|
|
20
|
+
"@instructure/emotion": "^11.0.0",
|
|
21
|
+
"@instructure/ui-alerts": "^11.0.0",
|
|
22
|
+
"@instructure/ui-avatar": "^11.0.0",
|
|
23
|
+
"@instructure/ui-badge": "^11.0.0",
|
|
24
|
+
"@instructure/ui-buttons": "^11.0.0",
|
|
25
|
+
"@instructure/ui-checkbox": "^11.0.0",
|
|
26
|
+
"@instructure/ui-drilldown": "^11.0.0",
|
|
27
|
+
"@instructure/ui-flex": "^11.0.0",
|
|
28
|
+
"@instructure/ui-form-field": "^11.0.0",
|
|
29
|
+
"@instructure/ui-heading": "^11.0.0",
|
|
30
|
+
"@instructure/ui-icons": "^11.0.0",
|
|
31
|
+
"@instructure/ui-menu": "^11.0.0",
|
|
32
|
+
"@instructure/ui-modal": "^11.0.0",
|
|
33
|
+
"@instructure/ui-pagination": "^11.0.0",
|
|
34
|
+
"@instructure/ui-pill": "^11.0.0",
|
|
35
|
+
"@instructure/ui-popover": "^11.0.0",
|
|
36
|
+
"@instructure/ui-select": "^11.0.0",
|
|
37
|
+
"@instructure/ui-simple-select": "^11.0.0",
|
|
38
|
+
"@instructure/ui-tag": "^11.0.0",
|
|
39
|
+
"@instructure/ui-table": "^11.0.0",
|
|
40
|
+
"@instructure/ui-text": "^11.0.0",
|
|
41
|
+
"@instructure/ui-text-area": "^11.0.0",
|
|
42
|
+
"@instructure/ui-text-input": "^11.0.0",
|
|
43
|
+
"@instructure/ui-themes": "^11.0.0",
|
|
44
|
+
"@instructure/ui-truncate-text": "^11.0.0",
|
|
45
45
|
"@tanstack/react-query": "^5.0.0",
|
|
46
46
|
"react": "^18.0.0",
|
|
47
47
|
"react-dom": "^18.0.0",
|
|
48
|
-
"
|
|
49
|
-
"@instructure/platform-provider": "0.5.0"
|
|
48
|
+
"@instructure/platform-provider": "0.5.2"
|
|
50
49
|
},
|
|
51
50
|
"devDependencies": {
|
|
52
|
-
"@instructure/ui-form-field": "^10.30.0",
|
|
53
51
|
"@storybook/react": "^10.0.8",
|
|
54
52
|
"@stylelint/postcss-css-in-js": "^0.38.0",
|
|
55
53
|
"@testing-library/jest-dom": "^6.9.1",
|
|
@@ -62,10 +60,8 @@
|
|
|
62
60
|
"@types/react-dom": "^18.3.0",
|
|
63
61
|
"@vitejs/plugin-react": "^4.2.0",
|
|
64
62
|
"@vitest/coverage-istanbul": "4.0.17",
|
|
65
|
-
"concurrently": "^9.2.1",
|
|
66
63
|
"graphql": "^16.9.0",
|
|
67
64
|
"jsdom": "^25.0.0",
|
|
68
|
-
"json-schema-faker": "^0.6.0",
|
|
69
65
|
"msw": "^2.0.0",
|
|
70
66
|
"nodemon": "^3.1.14",
|
|
71
67
|
"stylelint": "^15.11.0",
|
|
@@ -74,17 +70,37 @@
|
|
|
74
70
|
"typescript": "^5.3.0",
|
|
75
71
|
"vite": "^6.0.0",
|
|
76
72
|
"vite-plugin-dts": "^4.0.0",
|
|
77
|
-
"@instructure/
|
|
73
|
+
"@instructure/emotion": "11.6.0",
|
|
74
|
+
"@instructure/ui-alerts": "11.6.0",
|
|
75
|
+
"@instructure/ui-badge": "11.6.0",
|
|
76
|
+
"@instructure/ui-buttons": "11.6.0",
|
|
77
|
+
"@instructure/ui-checkbox": "11.6.0",
|
|
78
|
+
"@instructure/ui-drilldown": "11.6.0",
|
|
79
|
+
"@instructure/ui-flex": "11.6.0",
|
|
80
|
+
"@instructure/ui-form-field": "11.6.0",
|
|
81
|
+
"@instructure/ui-heading": "11.6.0",
|
|
82
|
+
"@instructure/ui-icons": "11.6.0",
|
|
83
|
+
"@instructure/ui-menu": "11.6.0",
|
|
84
|
+
"@instructure/ui-modal": "11.6.0",
|
|
85
|
+
"@instructure/ui-pagination": "11.6.0",
|
|
86
|
+
"@instructure/ui-pill": "11.6.0",
|
|
87
|
+
"@instructure/ui-popover": "11.6.0",
|
|
88
|
+
"@instructure/ui-simple-select": "11.6.0",
|
|
89
|
+
"@instructure/ui-text": "11.6.0",
|
|
90
|
+
"@instructure/ui-text-area": "11.6.0",
|
|
91
|
+
"@instructure/ui-text-input": "11.6.0",
|
|
92
|
+
"@instructure/ui-themes": "11.6.0",
|
|
93
|
+
"@instructure/ui-truncate-text": "11.6.0",
|
|
94
|
+
"@instructure/platform-graphql-types": "0.1.3"
|
|
78
95
|
},
|
|
79
96
|
"dependencies": {
|
|
97
|
+
"@dnd-kit/core": "^6.3.1",
|
|
80
98
|
"lodash": "^4.17.23",
|
|
81
99
|
"luxon": "^3.7.2",
|
|
82
100
|
"styled-components": "^6.3.11"
|
|
83
101
|
},
|
|
84
102
|
"scripts": {
|
|
85
103
|
"build": "vite build",
|
|
86
|
-
"dev": "vite",
|
|
87
|
-
"dev:mock": "concurrently --names \"web-app,mock-server,locales\" \"pnpm dev\" \"pnpm mock-server\" \"pnpm locales:watch\"",
|
|
88
104
|
"dev:build": "vite build --watch",
|
|
89
105
|
"lint": "biome check . && ast-grep scan . --report-style=short && stylelint 'src/**/*.ts'",
|
|
90
106
|
"lint:fix": "biome check --write . && stylelint --fix 'src/**/*.ts'",
|
|
@@ -96,7 +112,6 @@
|
|
|
96
112
|
"locales:sort": "node scripts/sort-locales.mjs",
|
|
97
113
|
"aliases:validate": "node scripts/validate-aliases.mjs",
|
|
98
114
|
"locales:validate": "node scripts/validate-locales.mjs",
|
|
99
|
-
"mock-server": "nodemon scripts/mock-server.mjs",
|
|
100
115
|
"test": "vitest run",
|
|
101
116
|
"test:coverage": "vitest run --coverage"
|
|
102
117
|
}
|
package/dist/App.d.ts
DELETED
package/dist/App.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAczB,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAMvB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryActionButtons.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/CategoryActionButtons.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryInfoPills.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/CategoryInfoPills.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureFlagsContext.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/FeatureFlagsContext.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchAndFilterSection.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/SearchAndFilterSection.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/Tag.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TagDetailHeader.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/TagDetailHeader.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TagDetailsFields.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/TagDetailsFields.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { QueryClient } from '@tanstack/react-query';
|
|
2
|
-
import { AlertConfig } from '../contexts/AlertContext';
|
|
3
|
-
import { FeatureFlags } from '../contexts/FeatureFlagsContext';
|
|
4
|
-
import { default as React } from 'react';
|
|
5
|
-
export declare const createGqlHandler: (operationName: string, mockData: unknown) => import('msw').HttpHandler;
|
|
6
|
-
export declare const createGqlDispatcher: (handlers: Record<string, unknown>) => import('msw').HttpHandler;
|
|
7
|
-
interface CreateWrapperOptions {
|
|
8
|
-
showAlert?: (config: AlertConfig) => void;
|
|
9
|
-
featureFlags?: Partial<FeatureFlags>;
|
|
10
|
-
}
|
|
11
|
-
export declare const createWrapper: (queryClient: QueryClient, showAlertOrOptions?: ((config: AlertConfig) => void) | CreateWrapperOptions) => ({ children }: {
|
|
12
|
-
children: React.ReactNode;
|
|
13
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/__tests__/helpers.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAEnD,OAAO,EAAE,WAAW,EAAgB,MAAM,wBAAwB,CAAA;AAClE,OAAO,EAAE,YAAY,EAAwB,MAAM,+BAA+B,CAAA;AAKlF,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,eAAO,MAAM,gBAAgB,GAAI,eAAe,MAAM,EAAE,UAAU,OAAO,8BAKrE,CAAA;AAEJ,eAAO,MAAM,mBAAmB,GAAI,UAAU,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,8BAKjE,CAAA;AAgBJ,UAAU,oBAAoB;IAC5B,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAA;IACzC,YAAY,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAA;CACrC;AAED,eAAO,MAAM,aAAa,GACxB,aAAa,WAAW,EACxB,qBAAqB,CAAC,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC,GAAG,oBAAoB,MAQnE,cAAc;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,4CAcpD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/i18n.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"layout.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/layout.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared MSW server instance. Import this in tests to add per-test handlers:
|
|
3
|
-
*
|
|
4
|
-
* import { server } from '_tests_/server'
|
|
5
|
-
* server.use(http.get('/api/...', () => HttpResponse.json({...})))
|
|
6
|
-
*
|
|
7
|
-
* The server lifecycle (listen/resetHandlers/close) is managed in setup.ts.
|
|
8
|
-
*/
|
|
9
|
-
export declare const server: import('msw/node').SetupServerApi;
|
|
10
|
-
//# sourceMappingURL=server.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/__tests__/server.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,mCAAgB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=setup.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/__tests__/setup.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useAddPeople.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/useAddPeople.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useAllCategories.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/useAllCategories.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useAllTagNames.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/useAllTagNames.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useArchiveCategory.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/useArchiveCategory.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useArchiveTag.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/useArchiveTag.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCategoryFormFields.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/useCategoryFormFields.test.ts"],"names":[],"mappings":""}
|