@instructure/platform-institutional-tagging 7.1.4 → 7.1.5

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.
@@ -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;AA6EvC,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAwB5C,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"}
@@ -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.";
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/constants/i18n.ts"],"names":[],"mappings":"AAiNA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMX,CAAA"}
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
- registerCategoryExpandTrigger: (categoryId: string, expand: () => void) => () => void;
12
- requestCategoryExpand: (categoryId: string) => void;
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,EAAE,cAAc,CAAA;CACv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;IACtE,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,cAAc,KAAK,IAAI,CAAA;IACjE,iFAAiF;IACjF,6BAA6B,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,OAAO,KAAK,MAAM,IAAI,CAAA;IACxF,qBAAqB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAA;CACvD;AAUD,eAAO,MAAM,kBAAkB,4BAA0C,CAAA;AAEzE,UAAU,qBAAqB;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;2BAQhB,YAAY;;;;CA8E3C,CAAA"}
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"}