@instructure/platform-widget-dashboard 17.0.0 → 17.0.1

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":"DashboardNotifications.d.ts","sourceRoot":"","sources":["../../src/components/DashboardNotifications.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAmB,MAAM,OAAO,CAAA;AA0DvC,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EA0FnC,CAAA;AAED,eAAe,sBAAsB,CAAA"}
1
+ {"version":3,"file":"DashboardNotifications.d.ts","sourceRoot":"","sources":["../../src/components/DashboardNotifications.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAuDvC,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EA0FnC,CAAA;AAED,eAAe,sBAAsB,CAAA"}
@@ -6,9 +6,6 @@ export interface AccountNotificationData {
6
6
  startAt: string;
7
7
  endAt: string;
8
8
  accountName?: string;
9
- cohort?: {
10
- name: string;
11
- } | null;
12
9
  siteAdmin: boolean;
13
10
  notificationType?: string;
14
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationAlert.d.ts","sourceRoot":"","sources":["../../src/components/NotificationAlert.tsx"],"names":[],"mappings":"AA4BA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;IAChC,SAAS,EAAE,OAAO,CAAA;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B;AAED,UAAU,sBAAsB;IAC9B,YAAY,EAAE,uBAAuB,CAAA;IACrC,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CAChC;AA2BD,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAmDvD,CAAA;AAED,eAAe,iBAAiB,CAAA"}
1
+ {"version":3,"file":"NotificationAlert.d.ts","sourceRoot":"","sources":["../../src/components/NotificationAlert.tsx"],"names":[],"mappings":"AA4BA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,OAAO,CAAA;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B;AAED,UAAU,sBAAsB;IAC9B,YAAY,EAAE,uBAAuB,CAAA;IACrC,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CAChC;AA2BD,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAmDvD,CAAA;AAED,eAAe,iBAAiB,CAAA"}
package/dist/index.js CHANGED
@@ -6020,7 +6020,6 @@ const Wd = (e) => {
6020
6020
  return "info";
6021
6021
  }
6022
6022
  }, md = ({ notification: e, onDismiss: o }) => {
6023
- var c;
6024
6023
  const { translations: M } = Z(), b = () => {
6025
6024
  o(e.id);
6026
6025
  }, t = e.siteAdmin ? /* @__PURE__ */ v(F, { size: "small", children: [
@@ -6028,7 +6027,7 @@ const Wd = (e) => {
6028
6027
  /* @__PURE__ */ n(F, { weight: "bold", size: "small", children: M.canvasAdministration })
6029
6028
  ] }) : /* @__PURE__ */ v(F, { size: "small", children: [
6030
6029
  M.messageFrom,
6031
- /* @__PURE__ */ n(F, { weight: "bold", size: "small", children: ((c = e.cohort) == null ? void 0 : c.name) ?? e.accountName })
6030
+ /* @__PURE__ */ n(F, { weight: "bold", size: "small", children: e.accountName })
6032
6031
  ] });
6033
6032
  return /* @__PURE__ */ n(
6034
6033
  qe,
@@ -6068,9 +6067,6 @@ const Wd = (e) => {
6068
6067
  startAt
6069
6068
  endAt
6070
6069
  accountName
6071
- cohort {
6072
- name
6073
- }
6074
6070
  siteAdmin
6075
6071
  notificationType
6076
6072
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/platform-widget-dashboard",
3
- "version": "17.0.0",
3
+ "version": "17.0.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",