@instructure/platform-institutional-tagging 7.1.6 → 8.0.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 +1 @@
1
- {"version":3,"file":"AlertProvider.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/AlertProvider.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAA;AAwBzB,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAuCjE,CAAA"}
1
+ {"version":3,"file":"AlertProvider.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/AlertProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAmBzB,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAqBjE,CAAA"}
@@ -1,4 +1,2 @@
1
- export declare const AlertStackWrapper: 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;
2
1
  export declare const SrOnly: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>> & string;
3
- export declare const AlertItemWrapper: 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;
4
2
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB,uVAM7B,CAAA;AAED,eAAO,MAAM,MAAM,2VAUlB,CAAA;AAED,eAAO,MAAM,gBAAgB,uVAS5B,CAAA"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,2VAUlB,CAAA"}
@@ -1 +1 @@
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
+ {"version":3,"file":"UserTagList.d.ts","sourceRoot":"","sources":["../../../src/components/UserTagList/UserTagList.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAM/C,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAiClD,CAAA"}
@@ -1,5 +1,4 @@
1
- import { TagType } from '../../types/tag';
2
- export type UserTagListItem = Pick<TagType, '_id' | 'name'> | {
1
+ export type UserTagListItem = {
3
2
  id: string | number;
4
3
  name: string;
5
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/UserTagList/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAKpC,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,OAAO,EAAE,KAAK,GAAG,MAAM,CAAC,GAAG;IAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAA;AAEnG,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,eAAe,EAAE,CAAA;CACxB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/UserTagList/types.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,eAAe,GAAG;IAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAA;AAEnE,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,eAAe,EAAE,CAAA;CACxB"}
@@ -3,7 +3,6 @@ export type AlertVariant = 'info' | 'success' | 'warning' | 'error';
3
3
  export interface AlertConfig {
4
4
  message: string;
5
5
  variant: AlertVariant;
6
- timeout?: number;
7
6
  assertive?: boolean;
8
7
  }
9
8
  interface AlertContextValue {
@@ -1 +1 @@
1
- {"version":3,"file":"AlertContext.d.ts","sourceRoot":"","sources":["../../src/contexts/AlertContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAA;AAEnE,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,YAAY,CAAA;IACrB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,UAAU,iBAAiB;IACzB,SAAS,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAA;CACzC;AAED,eAAO,MAAM,YAAY,kCAEvB,CAAA;AAEF,eAAO,MAAM,QAAQ,yBAAuC,CAAA"}
1
+ {"version":3,"file":"AlertContext.d.ts","sourceRoot":"","sources":["../../src/contexts/AlertContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAA;AAEnE,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,YAAY,CAAA;IACrB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,UAAU,iBAAiB;IACzB,SAAS,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAA;CACzC;AAED,eAAO,MAAM,YAAY,kCAEvB,CAAA;AAEF,eAAO,MAAM,QAAQ,yBAAuC,CAAA"}
@@ -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;AAG3C,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,YAoBrC,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"}
@@ -7,5 +7,4 @@ export declare const GET_INSTITUTIONAL_TAG_CATEGORY: DocumentNode;
7
7
  export declare const GET_ACCOUNT_USERS: DocumentNode;
8
8
  export declare const GET_ALL_ACTIVE_TAGS: DocumentNode;
9
9
  export declare const GET_USER_INSTITUTIONAL_TAGS: DocumentNode;
10
- export declare const GET_INSTITUTIONAL_TAG_CATEGORY_WITH_TAGS: DocumentNode;
11
10
  //# sourceMappingURL=queries.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../src/graphql/queries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C,eAAO,MAAM,gCAAgC,EAAE,YA6D9C,CAAA;AAED,eAAO,MAAM,oCAAoC,EAAE,YA2BlD,CAAA;AAED,eAAO,MAAM,mCAAmC,EAAE,YAuCjD,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,YA+BnC,CAAA;AAED,eAAO,MAAM,8BAA8B,EAAE,YAU5C,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,YA0B/B,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,YAyBjC,CAAA;AAKD,eAAO,MAAM,2BAA2B,EAAE,YAiBzC,CAAA;AAED,eAAO,MAAM,wCAAwC,EAAE,YAkCtD,CAAA"}
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../src/graphql/queries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAQ3C,eAAO,MAAM,gCAAgC,EAAE,YA6D9C,CAAA;AAED,eAAO,MAAM,oCAAoC,EAAE,YA2BlD,CAAA;AAED,eAAO,MAAM,mCAAmC,EAAE,YAuCjD,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,YA+BnC,CAAA;AAED,eAAO,MAAM,8BAA8B,EAAE,YAU5C,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,YA0B/B,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,YAyBjC,CAAA;AAKD,eAAO,MAAM,2BAA2B,EAAE,YAiBzC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { TagType } from '../types/tag';
2
2
  export declare const useFetchUserTags: (userId: string) => {
3
- tags: Pick<TagType, "name" | "_id" | "category">[];
3
+ tags: Pick<TagType, "category" | "id" | "name">[];
4
4
  isPending: boolean;
5
5
  isError: boolean;
6
6
  };
@@ -1,5 +1,6 @@
1
1
  export declare function usePlatformUiContext(): {
2
2
  accountId: string;
3
3
  executeQuery: <TResult, TVariables = Record<string, unknown>>(query: unknown, variables: TVariables) => Promise<TResult>;
4
+ notify: (notification: import('@instructure/platform-provider').PlatformNotification) => void;
4
5
  };
5
6
  //# sourceMappingURL=usePlatformUiContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"usePlatformUiContext.d.ts","sourceRoot":"","sources":["../../src/hooks/usePlatformUiContext.ts"],"names":[],"mappings":"AAEA,wBAAgB,oBAAoB;;;EAGnC"}
1
+ {"version":3,"file":"usePlatformUiContext.d.ts","sourceRoot":"","sources":["../../src/hooks/usePlatformUiContext.ts"],"names":[],"mappings":"AAEA,wBAAgB,oBAAoB;;;;EAGnC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useRestoreTag.d.ts","sourceRoot":"","sources":["../../src/hooks/useRestoreTag.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,+BAA+B,EAIhC,MAAM,qCAAqC,CAAA;AAM5C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,aAAa,GAAI,YAAY,MAAM;;+CAKN,OAAO;;;CA4DhD,CAAA"}
1
+ {"version":3,"file":"useRestoreTag.d.ts","sourceRoot":"","sources":["../../src/hooks/useRestoreTag.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,+BAA+B,EAIhC,MAAM,qCAAqC,CAAA;AAM5C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,aAAa,GAAI,YAAY,MAAM;;+CAKN,OAAO;;;CA0DhD,CAAA"}