@instructure/platform-widget-dashboard 7.4.0 → 7.4.2

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":"UpcomingWorkItem.d.ts","sourceRoot":"","sources":["../../../../src/components/widgets/UpcomingWorkWidget/UpcomingWorkItem.tsx"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAGxF,UAAU,qBAAqB;IAC7B,IAAI,EAAE,kBAAkB,CAAA;CACzB;AAuCD,wBAAgB,gBAAgB,CAAC,EAAE,IAAI,EAAE,EAAE,qBAAqB,2CA2G/D"}
1
+ {"version":3,"file":"UpcomingWorkItem.d.ts","sourceRoot":"","sources":["../../../../src/components/widgets/UpcomingWorkWidget/UpcomingWorkItem.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAGxF,UAAU,qBAAqB;IAC7B,IAAI,EAAE,kBAAkB,CAAA;CACzB;AAuCD,wBAAgB,gBAAgB,CAAC,EAAE,IAAI,EAAE,EAAE,qBAAqB,2CAiH/D"}
package/dist/index.js CHANGED
@@ -14046,7 +14046,7 @@ function hA({
14046
14046
  children: z.map((R) => /* @__PURE__ */ a(x0.Option, { id: R.id, value: R.id, children: R.name }, R.id))
14047
14047
  }
14048
14048
  ) }),
14049
- /* @__PURE__ */ a(L.Item, { shouldGrow: !0, children: /* @__PURE__ */ a(I, { as: "div", children: h.length === 0 ? /* @__PURE__ */ a(F, { color: "secondary", "data-testid": "no-instructors-message", children: p.noInstructorsFound }) : /* @__PURE__ */ a(b1, { isUnstyled: !0, margin: "0", children: h.map((R) => /* @__PURE__ */ a(b1.Item, { margin: "0", children: /* @__PURE__ */ S(
14049
+ /* @__PURE__ */ a(L.Item, { shouldGrow: !0, overflowX: "visible", overflowY: "visible", children: /* @__PURE__ */ a(I, { as: "div", children: h.length === 0 ? /* @__PURE__ */ a(F, { color: "secondary", "data-testid": "no-instructors-message", children: p.noInstructorsFound }) : /* @__PURE__ */ a(b1, { isUnstyled: !0, margin: "0", children: h.map((R) => /* @__PURE__ */ a(b1.Item, { margin: "0", children: /* @__PURE__ */ S(
14050
14050
  L,
14051
14051
  {
14052
14052
  gap: "small",
@@ -21717,6 +21717,8 @@ function yW({ item: e }) {
21717
21717
  G0,
21718
21718
  {
21719
21719
  href: z,
21720
+ target: "_blank",
21721
+ rel: "noopener",
21720
21722
  isWithinText: !1,
21721
21723
  "data-testid": `upcoming-work-item-title-link-${e.id}`,
21722
21724
  children: /* @__PURE__ */ a(F, { weight: "bold", size: "medium", children: e.title })
@@ -21728,6 +21730,8 @@ function yW({ item: e }) {
21728
21730
  G0,
21729
21731
  {
21730
21732
  href: z,
21733
+ target: "_blank",
21734
+ rel: "noopener",
21731
21735
  isWithinText: !1,
21732
21736
  "data-testid": `upcoming-work-item-link-${e.id}`,
21733
21737
  children: /* @__PURE__ */ a(F, { size: "small", children: c })
@@ -21738,6 +21742,8 @@ function yW({ item: e }) {
21738
21742
  G0,
21739
21743
  {
21740
21744
  href: n,
21745
+ target: "_blank",
21746
+ rel: "noopener",
21741
21747
  isWithinText: !1,
21742
21748
  "aria-label": o("Go to %{courseName}", { courseName: e.course.name }),
21743
21749
  "data-testid": `upcoming-work-item-course-link-${e.id}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/platform-widget-dashboard",
3
- "version": "7.4.0",
3
+ "version": "7.4.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -61,24 +61,24 @@
61
61
  "moment-timezone": "^0.5.0",
62
62
  "react": "^18.0.0",
63
63
  "react-dom": "^18.0.0",
64
+ "@instructure/platform-canvas-fetch": "0.1.3",
64
65
  "@instructure/platform-color-picker": "0.2.2",
65
66
  "@instructure/platform-get-cookie": "0.2.1",
66
67
  "@instructure/platform-grades": "0.2.2",
67
68
  "@instructure/platform-image-utils": "0.2.0",
68
69
  "@instructure/platform-instui-bindings": "0.6.2",
69
- "@instructure/platform-canvas-fetch": "0.1.3",
70
70
  "@instructure/platform-provider": "0.5.2"
71
71
  },
72
72
  "dependencies": {
73
73
  "@tanstack/query-persist-client-core": "^5.0.0",
74
74
  "sanitize-html": "^2.0.0",
75
75
  "zod": "^3.23.8",
76
+ "@instructure/platform-alerts": "1.0.1",
76
77
  "@instructure/platform-canvas-fetch": "0.1.3",
77
78
  "@instructure/platform-datetime": "0.2.0",
78
- "@instructure/platform-alerts": "1.0.1",
79
+ "@instructure/platform-grades": "0.2.2",
79
80
  "@instructure/platform-graphql-types": "0.1.3",
80
81
  "@instructure/platform-query": "0.2.2",
81
- "@instructure/platform-grades": "0.2.2",
82
82
  "@instructure/platform-sanitize": "0.5.3"
83
83
  },
84
84
  "devDependencies": {