@oaknational/oak-components 0.41.0 → 0.41.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.
package/dist/types.d.ts CHANGED
@@ -2183,7 +2183,7 @@ type OakModalProps = {
2183
2183
  /**
2184
2184
  * Modal dialog with trapped focus and a close button.
2185
2185
  */
2186
- declare const OakModal: ({ children, footerSlot, domContainer, isOpen, onClose, ...rest }: OakModalProps) => React__default.ReactPortal;
2186
+ declare const OakModal: ({ children, footerSlot, domContainer, isOpen, onClose, ...rest }: OakModalProps) => React__default.ReactPortal | null;
2187
2187
 
2188
2188
  type OakModalBodyProps = {
2189
2189
  children: ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oaknational/oak-components",
3
- "version": "0.41.0",
3
+ "version": "0.41.1",
4
4
  "licence": "MIT",
5
5
  "description": "Shared components for Oak applications",
6
6
  "main": "dist/cjs/index.js",