@instructure/platform-institutional-tagging 9.0.0 → 9.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/AppContainer/GenericStoryWrapper.d.ts.map +1 -1
- package/dist/components/Category/BottomSection.d.ts.map +1 -1
- package/dist/components/Category/Category.d.ts.map +1 -1
- package/dist/components/Category/TagArea.d.ts.map +1 -1
- package/dist/components/Category/hooks/index.d.ts +2 -0
- package/dist/components/Category/hooks/index.d.ts.map +1 -0
- package/dist/components/Category/hooks/useMultiSelectToolbar.d.ts +15 -0
- package/dist/components/Category/hooks/useMultiSelectToolbar.d.ts.map +1 -0
- package/dist/components/Category/styles.d.ts +7 -1
- package/dist/components/Category/styles.d.ts.map +1 -1
- package/dist/components/Tag/Tag.d.ts +4 -0
- package/dist/components/Tag/Tag.d.ts.map +1 -1
- package/dist/components/Tag/styles.d.ts +1 -0
- package/dist/components/Tag/styles.d.ts.map +1 -1
- package/dist/constants/i18n.d.ts +32 -0
- package/dist/constants/i18n.d.ts.map +1 -1
- package/dist/constants/selection.d.ts +2 -0
- package/dist/constants/selection.d.ts.map +1 -0
- package/dist/contexts/CategoryContext.d.ts +1 -0
- package/dist/contexts/CategoryContext.d.ts.map +1 -1
- package/dist/contexts/FeatureFlagsContext.d.ts +1 -0
- package/dist/contexts/FeatureFlagsContext.d.ts.map +1 -1
- package/dist/graphql/mutations.d.ts +2 -0
- package/dist/graphql/mutations.d.ts.map +1 -1
- package/dist/hooks/useBulkArchiveModal.d.ts +6 -0
- package/dist/hooks/useBulkArchiveModal.d.ts.map +1 -0
- package/dist/hooks/useBulkArchiveTags.d.ts +6 -0
- package/dist/hooks/useBulkArchiveTags.d.ts.map +1 -0
- package/dist/hooks/useBulkMoveTags.d.ts +6 -0
- package/dist/hooks/useBulkMoveTags.d.ts.map +1 -0
- package/dist/hooks/useBulkMoveTagsModal.d.ts +6 -0
- package/dist/hooks/useBulkMoveTagsModal.d.ts.map +1 -0
- package/dist/hooks/useFetchAccountUsers.d.ts +1 -1
- package/dist/hooks/useFetchAccountUsers.d.ts.map +1 -1
- package/dist/hooks/useSelectedUsers.d.ts +7 -0
- package/dist/hooks/useSelectedUsers.d.ts.map +1 -0
- package/dist/index.js +4896 -4518
- package/dist/modals/AddPeopleModal/AddPeopleModal.d.ts.map +1 -1
- package/dist/modals/AddPeopleModal/ManualUserSearch.d.ts +2 -1
- package/dist/modals/AddPeopleModal/ManualUserSearch.d.ts.map +1 -1
- package/dist/modals/GenericModal/GenericModal.d.ts.map +1 -1
- package/dist/modals/MoveTagModal/MoveTagModal.d.ts +1 -0
- package/dist/modals/MoveTagModal/MoveTagModal.d.ts.map +1 -1
- package/dist/modals/TagModal/EditTagModal.d.ts +1 -0
- package/dist/modals/TagModal/EditTagModal.d.ts.map +1 -1
- package/dist/modals/TagModal/hooks/useEditTagForm.d.ts +2 -1
- package/dist/modals/TagModal/hooks/useEditTagForm.d.ts.map +1 -1
- package/dist/query/events.d.ts +8 -0
- package/dist/query/events.d.ts.map +1 -1
- package/dist/query/map.d.ts.map +1 -1
- package/dist/screens/AccountTags/AccountTags.d.ts +4 -5
- package/dist/screens/AccountTags/AccountTags.d.ts.map +1 -1
- package/locales/en.json +32 -0
- package/package.json +3 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenericStoryWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/AppContainer/GenericStoryWrapper.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GenericStoryWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/AppContainer/GenericStoryWrapper.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,UAAU,wBAAwB;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACtC;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAyBlE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomSection.d.ts","sourceRoot":"","sources":["../../../src/components/Category/BottomSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"BottomSection.d.ts","sourceRoot":"","sources":["../../../src/components/Category/BottomSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AASzB,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAExC,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAsDlD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Category.d.ts","sourceRoot":"","sources":["../../../src/components/Category/Category.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,MAAM,OAAO,CAAA;AAYzB,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"Category.d.ts","sourceRoot":"","sources":["../../../src/components/Category/Category.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,MAAM,OAAO,CAAA;AAYzB,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AA+FvC,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAmB5C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagArea.d.ts","sourceRoot":"","sources":["../../../src/components/Category/TagArea.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAQzB,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"TagArea.d.ts","sourceRoot":"","sources":["../../../src/components/Category/TagArea.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAQzB,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAGtC,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAgT1C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Category/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CategoryType } from '../../../types/category';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
interface UseMultiSelectToolbarReturn {
|
|
4
|
+
showToggle: boolean;
|
|
5
|
+
toggleButton: React.ReactNode;
|
|
6
|
+
countText: React.ReactNode;
|
|
7
|
+
selectedText: React.ReactNode;
|
|
8
|
+
srOnlySelectedCount: React.ReactNode;
|
|
9
|
+
clearSelectionLink: React.ReactNode;
|
|
10
|
+
actionsMenu: React.ReactNode;
|
|
11
|
+
capMessage: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export declare const useMultiSelectToolbar: (category: CategoryType, isExpanded: boolean, isMobile: boolean) => UseMultiSelectToolbarReturn;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=useMultiSelectToolbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMultiSelectToolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/Category/hooks/useMultiSelectToolbar.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAQ9C,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,UAAU,2BAA2B;IACnC,UAAU,EAAE,OAAO,CAAA;IACnB,YAAY,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,YAAY,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,mBAAmB,EAAE,KAAK,CAAC,SAAS,CAAA;IACpC,kBAAkB,EAAE,KAAK,CAAC,SAAS,CAAA;IACnC,WAAW,EAAE,KAAK,CAAC,SAAS,CAAA;IAC5B,UAAU,EAAE,KAAK,CAAC,SAAS,CAAA;CAC5B;AAED,eAAO,MAAM,qBAAqB,GAChC,UAAU,YAAY,EACtB,YAAY,OAAO,EACnB,UAAU,OAAO,KAChB,2BAmIF,CAAA"}
|
|
@@ -21,7 +21,12 @@ export declare const CategoryTextWrapper: import('styled-components/dist/types')
|
|
|
21
21
|
export declare const CategoryNameWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
22
22
|
export declare const CategoryDescriptionWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
23
23
|
export declare const CategoryTopBarActionsWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
24
|
-
|
|
24
|
+
interface CategoryBottomBarWrapperProps {
|
|
25
|
+
$isMobile?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export declare const CategoryBottomBarWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$isMobile"> & CategoryBottomBarWrapperProps, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$isMobile"> & CategoryBottomBarWrapperProps, never>>> & string;
|
|
28
|
+
export declare const CategoryBottomBarCapMessageWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
29
|
+
export declare const CategoryBottomBarMobileToggleRow: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
25
30
|
interface CategoryBottomBarInfoWrapperProps {
|
|
26
31
|
$withInlineSpacing?: boolean;
|
|
27
32
|
}
|
|
@@ -34,5 +39,6 @@ interface TagListItemWrapperProps {
|
|
|
34
39
|
export declare const TagListItemWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "$columns"> & TagListItemWrapperProps, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "$columns"> & TagListItemWrapperProps, never>>> & string;
|
|
35
40
|
export declare const TagListItem: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>>> & string;
|
|
36
41
|
export declare const TagAreaEmptyStateWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
42
|
+
export declare const MultiSelectInfoRowWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
37
43
|
export {};
|
|
38
44
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Category/styles.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,qBAAqB,uVAMjC,CAAA;AAID,eAAO,MAAM,mBAAmB,uVAE/B,CAAA;AAID,eAAO,MAAM,mBAAmB,2VAsB/B,CAAA;AAED,eAAO,MAAM,qBAAqB,+VAOjC,CAAA;AAED,UAAU,oBAAoB;IAC5B,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,eAAO,MAAM,eAAe,mfAe3B,CAAA;AAID,eAAO,MAAM,iBAAiB,uVAO7B,CAAA;AAED,eAAO,MAAM,iBAAiB,uVAU7B,CAAA;AAID,eAAO,MAAM,2BAA2B,uVAGvC,CAAA;AAED,UAAU,wBAAwB;IAChC,WAAW,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,mBAAmB,ufAM/B,CAAA;AACD,UAAU,0BAA0B;IAClC,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,eAAO,MAAM,qBAAqB,ufAMjC,CAAA;AACD,eAAO,MAAM,mBAAmB,uVAS/B,CAAA;AAED,eAAO,MAAM,mBAAmB,uVAK/B,CAAA;AACD,eAAO,MAAM,0BAA0B,uVAKtC,CAAA;AACD,eAAO,MAAM,4BAA4B,uVAIxC,CAAA;AACD,eAAO,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Category/styles.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,qBAAqB,uVAMjC,CAAA;AAID,eAAO,MAAM,mBAAmB,uVAE/B,CAAA;AAID,eAAO,MAAM,mBAAmB,2VAsB/B,CAAA;AAED,eAAO,MAAM,qBAAqB,+VAOjC,CAAA;AAED,UAAU,oBAAoB;IAC5B,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,eAAO,MAAM,eAAe,mfAe3B,CAAA;AAID,eAAO,MAAM,iBAAiB,uVAO7B,CAAA;AAED,eAAO,MAAM,iBAAiB,uVAU7B,CAAA;AAID,eAAO,MAAM,2BAA2B,uVAGvC,CAAA;AAED,UAAU,wBAAwB;IAChC,WAAW,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,mBAAmB,ufAM/B,CAAA;AACD,UAAU,0BAA0B;IAClC,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,eAAO,MAAM,qBAAqB,ufAMjC,CAAA;AACD,eAAO,MAAM,mBAAmB,uVAS/B,CAAA;AAED,eAAO,MAAM,mBAAmB,uVAK/B,CAAA;AACD,eAAO,MAAM,0BAA0B,uVAKtC,CAAA;AACD,eAAO,MAAM,4BAA4B,uVAIxC,CAAA;AACD,UAAU,6BAA6B;IACrC,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,eAAO,MAAM,wBAAwB,6fAQpC,CAAA;AAED,eAAO,MAAM,kCAAkC,uVAE9C,CAAA;AAED,eAAO,MAAM,gCAAgC,uVAO5C,CAAA;AACD,UAAU,iCAAiC;IACzC,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B;AAED,eAAO,MAAM,4BAA4B,uhBAQxC,CAAA;AACD,eAAO,MAAM,gBAAgB,uVAE5B,CAAA;AACD,eAAO,MAAM,cAAc,uVAK1B,CAAA;AACD,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,eAAO,MAAM,kBAAkB,ufAO9B,CAAA;AACD,eAAO,MAAM,WAAW,uVAIvB,CAAA;AACD,eAAO,MAAM,wBAAwB,uVAKpC,CAAA;AAED,eAAO,MAAM,yBAAyB,uVAMrC,CAAA"}
|
|
@@ -10,6 +10,10 @@ export interface TagProps {
|
|
|
10
10
|
moveToHandler: () => void;
|
|
11
11
|
moreButtonRef?: (el: HTMLElement | null) => void;
|
|
12
12
|
dragHandleRef?: (el: HTMLElement | null) => void;
|
|
13
|
+
isSelectable?: boolean;
|
|
14
|
+
isSelected?: boolean;
|
|
15
|
+
isSelectionDisabled?: boolean;
|
|
16
|
+
onToggleSelect?: () => void;
|
|
13
17
|
}
|
|
14
18
|
export declare const Tag: React.FC<TagProps>;
|
|
15
19
|
export declare const OverlayTag: React.FC<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAOpC,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAOpC,OAAO,KAAK,MAAM,OAAO,CAAA;AAmBzB,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,OAAO,CAAA;IACZ,WAAW,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAA;IACnC,0BAA0B,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACnD,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,aAAa,CAAC,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;IAChD,aAAa,CAAC,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;IAChD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;CAC5B;AA6PD,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAKlC,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,GAAG,EAAE,OAAO,CAAA;CAAE,CAEjD,CAAA"}
|
|
@@ -4,6 +4,7 @@ interface WrapperArgs {
|
|
|
4
4
|
$isDragging?: boolean;
|
|
5
5
|
}
|
|
6
6
|
export declare const TagWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof WrapperArgs> & WrapperArgs, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof WrapperArgs> & WrapperArgs, never>>> & string;
|
|
7
|
+
export declare const TagSelectButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>>> & string;
|
|
7
8
|
export declare const TagTextWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
8
9
|
export declare const TagNameWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
9
10
|
interface TagDragHandleWrapperProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/styles.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY,uVAUxB,CAAA;AAED,UAAU,WAAW;IACnB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/styles.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY,uVAUxB,CAAA;AAED,UAAU,WAAW;IACnB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,eAAO,MAAM,UAAU,qeA2BtB,CAAA;AAED,eAAO,MAAM,eAAe,+WAW3B,CAAA;AAED,eAAO,MAAM,cAAc,uVAW1B,CAAA;AAED,eAAO,MAAM,cAAc,uVAE1B,CAAA;AAED,UAAU,yBAAyB;IACjC,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAID,eAAO,MAAM,oBAAoB,6hBAShC,CAAA;AAED,eAAO,MAAM,cAAc,uVAI1B,CAAA;AAED,UAAU,0BAA0B;IAClC,WAAW,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,qBAAqB,2fAQjC,CAAA"}
|
package/dist/constants/i18n.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export declare const i18nKeys: {
|
|
|
23
23
|
readonly one: "%{count} tag in %{categoryName} category";
|
|
24
24
|
readonly other: "%{count} tags in %{categoryName} category";
|
|
25
25
|
};
|
|
26
|
+
readonly categoryTagsSelected: "%{count} of %{total} tags selected in %{categoryName} category";
|
|
26
27
|
readonly collapseAll: "Collapse all";
|
|
27
28
|
readonly collapseCategory: "Collapse %{categoryName} category";
|
|
28
29
|
readonly createNewCategoryOption: "Create new category";
|
|
@@ -46,8 +47,16 @@ export declare const i18nKeys: {
|
|
|
46
47
|
readonly addTags: "Add tags";
|
|
47
48
|
readonly archiveTag: "Archive tag";
|
|
48
49
|
readonly archiveTagConfirmation: "Archiving this tag means it will no longer be active or available for use. You can restore it later if needed.";
|
|
50
|
+
readonly archiveTags: {
|
|
51
|
+
readonly one: "Archive tag";
|
|
52
|
+
readonly other: "Archive tags";
|
|
53
|
+
};
|
|
49
54
|
readonly assignedUsers: "Assigned users";
|
|
50
55
|
readonly assignTagsToUser: "Assign tags";
|
|
56
|
+
readonly bulkArchiveTagsConfirmation: {
|
|
57
|
+
readonly one: "Archiving this tag means it will no longer be active or available for use. You can restore it later if needed.";
|
|
58
|
+
readonly other: "Archiving these tags means they will no longer be active or available for use. You can restore them later if needed.";
|
|
59
|
+
};
|
|
51
60
|
readonly confirmRemoveTagBody: "This will remove the tag from the user. You can reassign it later if needed.";
|
|
52
61
|
readonly confirmRemoveTagTitle: "Remove tag?";
|
|
53
62
|
readonly confirmRemoveUserBody: "This will remove the user from the tag.";
|
|
@@ -88,6 +97,10 @@ export declare const i18nKeys: {
|
|
|
88
97
|
readonly one: "Warning: %{count} associated user with tag: %{tagName}";
|
|
89
98
|
readonly other: "Warning: %{count} associated users with tag: %{tagName}";
|
|
90
99
|
};
|
|
100
|
+
readonly tagCount: {
|
|
101
|
+
readonly one: "%{count} tag";
|
|
102
|
+
readonly other: "%{count} tags";
|
|
103
|
+
};
|
|
91
104
|
readonly tagDescriptionLabel: "Tag description";
|
|
92
105
|
readonly tagDescriptionPlaceholder: "Briefly describe this tag";
|
|
93
106
|
readonly tagFieldGroupLabel: "Tag details";
|
|
@@ -110,6 +123,14 @@ export declare const i18nKeys: {
|
|
|
110
123
|
readonly one: "%{count} tag assigned";
|
|
111
124
|
readonly other: "%{count} tags assigned";
|
|
112
125
|
};
|
|
126
|
+
readonly bulkArchiveTagsSuccess: {
|
|
127
|
+
readonly one: "%{count} tag archived";
|
|
128
|
+
readonly other: "%{count} tags archived";
|
|
129
|
+
};
|
|
130
|
+
readonly bulkMoveTagsSuccess: {
|
|
131
|
+
readonly one: "%{count} tag moved to %{categoryName}";
|
|
132
|
+
readonly other: "%{count} tags moved to %{categoryName}";
|
|
133
|
+
};
|
|
113
134
|
readonly categoryArchiveSuccess: "Category archived";
|
|
114
135
|
readonly categoryCreated: "Category created";
|
|
115
136
|
readonly categoryRestoreSuccess: "Category restored";
|
|
@@ -128,6 +149,8 @@ export declare const i18nKeys: {
|
|
|
128
149
|
readonly archiveTagFailed: "Failed to archive tag.";
|
|
129
150
|
readonly assignTagsFailed: "Failed to assign tags.";
|
|
130
151
|
readonly assignTagsRequired: "Select at least one tag.";
|
|
152
|
+
readonly bulkArchiveTagsFailed: "Failed to archive one or more tags.";
|
|
153
|
+
readonly bulkMoveTagsFailed: "Failed to move one or more tags.";
|
|
131
154
|
readonly categoryNameAlreadyExists: "A category with this name already exists.";
|
|
132
155
|
readonly categoryNameRequired: "Category name is required.";
|
|
133
156
|
readonly categoryRequired: "Category is required.";
|
|
@@ -154,6 +177,7 @@ export declare const i18nKeys: {
|
|
|
154
177
|
readonly cancel: "Cancel";
|
|
155
178
|
readonly categoryListPagination: "Category list pagination";
|
|
156
179
|
readonly clearSearch: "Clear search";
|
|
180
|
+
readonly clearSelection: "Clear selection";
|
|
157
181
|
readonly close: "Close";
|
|
158
182
|
readonly closeTagDetails: "Close tag details";
|
|
159
183
|
readonly createdAtStub: "Created";
|
|
@@ -164,6 +188,9 @@ export declare const i18nKeys: {
|
|
|
164
188
|
readonly moreOptionsForUser: "More options for %{userName}";
|
|
165
189
|
readonly move: "Move";
|
|
166
190
|
readonly multiSelectFieldDescription: "Type or use arrow keys to navigate options. Multiple selections allowed.";
|
|
191
|
+
readonly multiSelectOff: "Multi-select off";
|
|
192
|
+
readonly multiSelectOn: "Multi-select on";
|
|
193
|
+
readonly multiTagActions: "Actions for selected tags";
|
|
167
194
|
readonly name: "Name";
|
|
168
195
|
readonly nextPage: "Next page";
|
|
169
196
|
readonly noData: "No data";
|
|
@@ -180,10 +207,15 @@ export declare const i18nKeys: {
|
|
|
180
207
|
readonly searchPeople: "Search or select people";
|
|
181
208
|
readonly searchUsers: "Search users";
|
|
182
209
|
readonly searchUsersDescription: "Results update as you type";
|
|
210
|
+
readonly selectedCount: {
|
|
211
|
+
readonly one: "%{count} selected";
|
|
212
|
+
readonly other: "%{count} selected";
|
|
213
|
+
};
|
|
183
214
|
readonly selectedPeople: {
|
|
184
215
|
readonly one: "%{count} person selected";
|
|
185
216
|
readonly other: "%{count} people selected";
|
|
186
217
|
};
|
|
218
|
+
readonly selectionCapReached: "You can select up to 50 tags at a time.";
|
|
187
219
|
readonly sisId: "SIS ID";
|
|
188
220
|
readonly typeToSearchForPeople: "Type to search for people";
|
|
189
221
|
readonly useArrowKeysToNavigate: "Use arrow keys to navigate options.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/constants/i18n.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/constants/i18n.ts"],"names":[],"mappings":"AA+NA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMX,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../src/constants/selection.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,KAAK,CAAA"}
|
|
@@ -5,6 +5,7 @@ interface CategoryProviderProps {
|
|
|
5
5
|
editHandler?: (id: string) => void;
|
|
6
6
|
archiveHandler?: (id: string, returnFocusElement?: HTMLElement | null) => void;
|
|
7
7
|
restoreHandler?: (id: string, returnFocusElement?: HTMLElement | null) => void;
|
|
8
|
+
isExpanded?: boolean;
|
|
8
9
|
}
|
|
9
10
|
export declare const CategoryProvider: React.FC<CategoryProviderProps>;
|
|
10
11
|
export declare const useCategoryContext: () => CategoryContextValue;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryContext.d.ts","sourceRoot":"","sources":["../../src/contexts/CategoryContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAErD,OAAO,KAAK,MAAM,OAAO,CAAA;AAUzB,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,kBAAkB,CAAC,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9E,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,kBAAkB,CAAC,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"CategoryContext.d.ts","sourceRoot":"","sources":["../../src/contexts/CategoryContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAErD,OAAO,KAAK,MAAM,OAAO,CAAA;AAUzB,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,kBAAkB,CAAC,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9E,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,kBAAkB,CAAC,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9E,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAkC5D,CAAA;AAED,eAAO,MAAM,kBAAkB,4BAA0C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureFlagsContext.d.ts","sourceRoot":"","sources":["../../src/contexts/FeatureFlagsContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,YAAY;IAC3B,oBAAoB,EAAE,OAAO,CAAA;IAC7B,cAAc,EAAE,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"FeatureFlagsContext.d.ts","sourceRoot":"","sources":["../../src/contexts/FeatureFlagsContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,YAAY;IAC3B,oBAAoB,EAAE,OAAO,CAAA;IAC7B,cAAc,EAAE,OAAO,CAAA;IACvB,iBAAiB,EAAE,OAAO,CAAA;CAC3B;AAUD,UAAU,yBAAyB;IACjC;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAA;IACpC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAOpE,CAAA;AAED,eAAO,MAAM,eAAe,QAAO,YAAqD,CAAA"}
|
|
@@ -7,4 +7,6 @@ export declare const UPDATE_INSTITUTIONAL_TAG: DocumentNode;
|
|
|
7
7
|
export declare const ARCHIVE_INSTITUTIONAL_TAG: DocumentNode;
|
|
8
8
|
export declare const APPLY_INSTITUTIONAL_TAG: DocumentNode;
|
|
9
9
|
export declare const REMOVE_INSTITUTIONAL_TAG: DocumentNode;
|
|
10
|
+
export declare const UPDATE_INSTITUTIONAL_TAGS_CATEGORY: DocumentNode;
|
|
11
|
+
export declare const UPDATE_INSTITUTIONAL_TAGS_ARCHIVED_STATE: DocumentNode;
|
|
10
12
|
//# sourceMappingURL=mutations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/graphql/mutations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAQ3C,eAAO,MAAM,iCAAiC,EAAE,YAiB/C,CAAA;AAED,eAAO,MAAM,iCAAiC,EAAE,YAiB/C,CAAA;AAED,eAAO,MAAM,kCAAkC,EAAE,YAahD,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,YAsBtC,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,YAsBtC,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,YAavC,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,YAsBrC,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,YAYtC,CAAA"}
|
|
1
|
+
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/graphql/mutations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAQ3C,eAAO,MAAM,iCAAiC,EAAE,YAiB/C,CAAA;AAED,eAAO,MAAM,iCAAiC,EAAE,YAiB/C,CAAA;AAED,eAAO,MAAM,kCAAkC,EAAE,YAahD,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,YAsBtC,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,YAsBtC,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,YAavC,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,YAsBrC,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,YAYtC,CAAA;AAED,eAAO,MAAM,kCAAkC,EAAE,YAgBhD,CAAA;AAED,eAAO,MAAM,wCAAwC,EAAE,YAatD,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TagType } from '../types/tag';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export declare const useBulkArchiveModal: (tags: TagType[], onSuccess: () => void, returnFocusRef: React.MutableRefObject<HTMLElement | null>) => {
|
|
4
|
+
handleBulkArchive: () => void;
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=useBulkArchiveModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBulkArchiveModal.d.ts","sourceRoot":"","sources":["../../src/hooks/useBulkArchiveModal.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACpC,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,mBAAmB,GAC9B,MAAM,OAAO,EAAE,EACf,WAAW,MAAM,IAAI,EACrB,gBAAgB,KAAK,CAAC,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC;;CAoB3D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBulkArchiveTags.d.ts","sourceRoot":"","sources":["../../src/hooks/useBulkArchiveTags.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAIpC,eAAO,MAAM,kBAAkB,GAAI,MAAM,OAAO,EAAE,EAAE,YAAY,MAAM,IAAI;;;CA+CzE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBulkMoveTags.d.ts","sourceRoot":"","sources":["../../src/hooks/useBulkMoveTags.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAIpC,eAAO,MAAM,eAAe,GAAI,MAAM,OAAO,EAAE,EAAE,YAAY,MAAM,IAAI;+BAyCtD,MAAM,gBAAgB,MAAM;;CAQ5C,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TagType } from '../types/tag';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export declare const useBulkMoveTagsModal: (tags: TagType[], onSuccess: () => void, returnFocusRef: React.MutableRefObject<HTMLElement | null>) => {
|
|
4
|
+
handleBulkMoveTags: () => void;
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=useBulkMoveTagsModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBulkMoveTagsModal.d.ts","sourceRoot":"","sources":["../../src/hooks/useBulkMoveTagsModal.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACpC,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,oBAAoB,GAC/B,MAAM,OAAO,EAAE,EACf,WAAW,MAAM,IAAI,EACrB,gBAAgB,KAAK,CAAC,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC;;CAmC3D,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const useFetchAccountUsers: (tagId: string, searchTerm: string) => {
|
|
1
|
+
export declare const useFetchAccountUsers: (tagId: string | undefined, searchTerm: string) => {
|
|
2
2
|
users: import('./useFetchTagUsers').TagUserType[];
|
|
3
3
|
isPending: boolean;
|
|
4
4
|
isFetching: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFetchAccountUsers.d.ts","sourceRoot":"","sources":["../../src/hooks/useFetchAccountUsers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useFetchAccountUsers.d.ts","sourceRoot":"","sources":["../../src/hooks/useFetchAccountUsers.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,oBAAoB,GAAI,OAAO,MAAM,GAAG,SAAS,EAAE,YAAY,MAAM;;;;;CAkBjF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSelectedUsers.d.ts","sourceRoot":"","sources":["../../src/hooks/useSelectedUsers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAGzC,eAAO,MAAM,gBAAgB;;uBAGD,WAAW;yBAQT,MAAM;CAKnC,CAAA"}
|