@instructure/platform-institutional-tagging 7.1.4 → 7.1.6
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/Category/Category.d.ts.map +1 -1
- package/dist/components/UserTagList/UserTagList.d.ts.map +1 -1
- package/dist/components/UserTagList/index.d.ts +1 -0
- package/dist/components/UserTagList/index.d.ts.map +1 -1
- package/dist/components/UserTagList/styles.d.ts +10 -2
- package/dist/components/UserTagList/styles.d.ts.map +1 -1
- package/dist/constants/i18n.d.ts +3 -2
- package/dist/constants/i18n.d.ts.map +1 -1
- package/dist/contexts/TagFocusContext.d.ts +3 -2
- package/dist/contexts/TagFocusContext.d.ts.map +1 -1
- package/dist/hooks/useDragAndDrop.d.ts.map +1 -1
- package/dist/index.js +2286 -2269
- package/dist/screens/TagDetail/styles.d.ts +2 -2
- package/locales/en.json +3 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Category.d.ts","sourceRoot":"","sources":["../../../src/components/Category/Category.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,MAAM,OAAO,CAAA;AAazB,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;AAazB,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAwFvC,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAwB5C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserTagList.d.ts","sourceRoot":"","sources":["../../../src/components/UserTagList/UserTagList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UserTagList.d.ts","sourceRoot":"","sources":["../../../src/components/UserTagList/UserTagList.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EAAmB,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAQhE,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAiClD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/UserTagList/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/UserTagList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAC9C,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
-
export declare const TagListWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<
|
|
2
|
-
|
|
1
|
+
export declare const TagListWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref" | "key" | keyof import('react').HTMLAttributes<HTMLUListElement>> & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & {
|
|
2
|
+
ref?: ((instance: HTMLUListElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLUListElement> | null | undefined;
|
|
3
|
+
}, "role"> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref" | "key" | keyof import('react').HTMLAttributes<HTMLUListElement>> & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & {
|
|
4
|
+
ref?: ((instance: HTMLUListElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLUListElement> | null | undefined;
|
|
5
|
+
}, "role">>> & string;
|
|
6
|
+
export declare const TagListItem: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref" | "key" | keyof import('react').LiHTMLAttributes<HTMLLIElement>> & Omit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
7
|
+
ref?: ((instance: HTMLLIElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLLIElement> | null | undefined;
|
|
8
|
+
}, "role"> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref" | "key" | keyof import('react').LiHTMLAttributes<HTMLLIElement>> & Omit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
9
|
+
ref?: ((instance: HTMLLIElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLLIElement> | null | undefined;
|
|
10
|
+
}, "role">>> & string;
|
|
3
11
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/UserTagList/styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/UserTagList/styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc;;;;qBAO1B,CAAA;AAED,eAAO,MAAM,WAAW;;;;qBAEvB,CAAA"}
|
package/dist/constants/i18n.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ export declare const i18nKeys: {
|
|
|
56
56
|
readonly confirmRemoveUserTitle: "Remove user from tag?";
|
|
57
57
|
readonly dragCancelled: "Dragging %{tagName} was cancelled. Tag remains in %{categoryName}.";
|
|
58
58
|
readonly dragDropped: "%{tagName} moved to %{categoryName}.";
|
|
59
|
+
readonly dragDroppedCategoryExpanded: "%{tagName} moved to %{categoryName}. %{categoryName} expanded.";
|
|
59
60
|
readonly dragDroppedSameCategory: "%{tagName} dropped back in its original category. No change.";
|
|
60
61
|
readonly dragHandleLabel: "Drag handle for %{tagName} tag";
|
|
61
62
|
readonly 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.";
|
|
@@ -67,8 +68,8 @@ export declare const i18nKeys: {
|
|
|
67
68
|
readonly moveTo: "Move to";
|
|
68
69
|
readonly newTag: "New tag";
|
|
69
70
|
readonly nMoreTags: {
|
|
70
|
-
readonly one: "
|
|
71
|
-
readonly other: "
|
|
71
|
+
readonly one: "Show %{count} more tag";
|
|
72
|
+
readonly other: "Show %{count} more tags";
|
|
72
73
|
};
|
|
73
74
|
readonly noResultsFound: "No results found";
|
|
74
75
|
readonly noTagsAssigned: "No tags assigned";
|
|
@@ -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":"AAkNA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMX,CAAA"}
|
|
@@ -8,8 +8,9 @@ interface TagFocusContextValue {
|
|
|
8
8
|
registerTagTrigger: (tagId: string, el: HTMLElement | null) => void;
|
|
9
9
|
registerTagDragHandle: (tagId: string, el: HTMLElement | null) => void;
|
|
10
10
|
setPendingFocus: (tagId: string, target?: TagFocusTarget) => void;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
/** `expand` reports whether it actually expanded (false if already expanded). */
|
|
12
|
+
registerCategoryExpandTrigger: (categoryId: string, expand: () => boolean) => () => void;
|
|
13
|
+
requestCategoryExpand: (categoryId: string) => boolean;
|
|
13
14
|
}
|
|
14
15
|
export declare const useTagFocusContext: () => TagFocusContextValue;
|
|
15
16
|
interface TagFocusProviderProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagFocusContext.d.ts","sourceRoot":"","sources":["../../src/contexts/TagFocusContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,MAAM,cAAc,GAAG,aAAa,GAAG,YAAY,CAAA;AAEzD,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM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IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,eAAe,EAAE,KAAK,CAAC,gBAAgB,CAAC,eAAe,GAAG,IAAI,CAAC,CAAA;CAChE;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAgE5D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDragAndDrop.d.ts","sourceRoot":"","sources":["../../src/hooks/useDragAndDrop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,aAAa,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAGxF,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAOpC,eAAO,MAAM,cAAc;;;;eAIhB,MAAM;0BACK,MAAM;0BACN,MAAM;;6BAMM,cAAc;
|
|
1
|
+
{"version":3,"file":"useDragAndDrop.d.ts","sourceRoot":"","sources":["../../src/hooks/useDragAndDrop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,aAAa,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAGxF,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAOpC,eAAO,MAAM,cAAc;;;;eAIhB,MAAM;0BACK,MAAM;0BACN,MAAM;;6BAMM,cAAc;2BAWhB,YAAY;;;;CAmF3C,CAAA"}
|