@instructure/platform-widget-dashboard 16.5.1 → 16.6.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.
@@ -2,7 +2,7 @@ import { WidgetRegistry } from './types';
2
2
  export declare const widgetRegistry: WidgetRegistry;
3
3
  /**
4
4
  * Filters a widget registry down to the widgets available for a given role.
5
- * Pass no role to get learner widgets (those without a `roles` field).
5
+ * Pass no role to get learner widgets (those with no `roles` field or tagged `student`).
6
6
  */
7
7
  export declare const getWidgetsForRole: (registry: WidgetRegistry, role?: string) => WidgetRegistry;
8
8
  //# sourceMappingURL=widgetRegistry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"widgetRegistry.d.ts","sourceRoot":"","sources":["../src/widgetRegistry.tsx"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE7C,eAAO,MAAM,cAAc,EAAE,cA0F5B,CAAA;AAOD;;;GAGG;AACH,eAAO,MAAM,iBAAiB,GAAI,UAAU,cAAc,EAAE,OAAO,MAAM,KAAG,cACwB,CAAA"}
1
+ {"version":3,"file":"widgetRegistry.d.ts","sourceRoot":"","sources":["../src/widgetRegistry.tsx"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE7C,eAAO,MAAM,cAAc,EAAE,cA2F5B,CAAA;AAQD;;;GAGG;AACH,eAAO,MAAM,iBAAiB,GAAI,UAAU,cAAc,EAAE,OAAO,MAAM,KAAG,cACwB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/platform-widget-dashboard",
3
- "version": "16.5.1",
3
+ "version": "16.6.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -83,7 +83,6 @@
83
83
  "@instructure/platform-query": "0.2.2",
84
84
  "@instructure/platform-sanitize": "^0.7.2",
85
85
  "@tanstack/query-persist-client-core": "^5.0.0",
86
- "sanitize-html": "^2.17.7",
87
86
  "zod": "^3.23.8"
88
87
  },
89
88
  "devDependencies": {