@instructure/platform-institutional-tagging 8.3.1 → 9.1.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.
@@ -1,12 +1,11 @@
1
1
  import { default as React } from 'react';
2
2
  interface AccountTagsProps {
3
3
  /**
4
- * Tag to open on mount, from the host's `tag_id` URL param. Seeds the initial selection
5
- * only; a later change to this prop is ignored. On mount it accepts either a relay or a
6
- * legacy id — links bookmarked before this package switched to relay ids carry the latter
7
- * — and normalizes it to relay, so only one id format ever reaches the query cache.
4
+ * Tag whose detail is open; `null` / `undefined` shows the category list. Re-read whenever it
5
+ * changes, so a host that mirrors `onTagSelect` back into it can close the detail by passing
6
+ * `null`. Accepts a relay or a legacy id and normalizes to relay at this boundary.
8
7
  */
9
- initialTagId?: string;
8
+ initialTagId?: string | null;
10
9
  onTagSelect?: (tagId: string | null) => void;
11
10
  }
12
11
  export declare const AccountTags: React.FC<AccountTagsProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"AccountTags.d.ts","sourceRoot":"","sources":["../../../src/screens/AccountTags/AccountTags.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,UAAU,gBAAgB;IACxB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;CAC7C;AAmFD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA0ElD,CAAA"}
1
+ {"version":3,"file":"AccountTags.d.ts","sourceRoot":"","sources":["../../../src/screens/AccountTags/AccountTags.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,UAAU,gBAAgB;IACxB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;CAC7C;AAqFD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA6ElD,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/platform-institutional-tagging",
3
- "version": "8.3.1",
3
+ "version": "9.1.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -51,7 +51,7 @@
51
51
  "@tanstack/react-query": "^5.0.0",
52
52
  "react": "^18.0.0",
53
53
  "react-dom": "^18.0.0",
54
- "@instructure/platform-instui-bindings": "0.6.5",
54
+ "@instructure/platform-instui-bindings": "0.7.0",
55
55
  "@instructure/platform-provider": "0.5.2"
56
56
  },
57
57
  "devDependencies": {
@@ -107,7 +107,7 @@
107
107
  "vite-plugin-dts": "^4.0.0",
108
108
  "vitest-axe": "^0.1.0",
109
109
  "@instructure/platform-graphql-types": "0.2.0",
110
- "@instructure/platform-instui-bindings": "0.6.5"
110
+ "@instructure/platform-instui-bindings": "0.7.0"
111
111
  },
112
112
  "dependencies": {
113
113
  "@dnd-kit/core": "^6.3.1",