@bcgov/design-system-react-components 0.2.4-rc2 → 0.2.4-rc3

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,3 +1,3 @@
1
1
  import { ModalOverlayProps } from "react-aria-components";
2
2
  import "./Modal.css";
3
- export default function Modal({ children, isDismissable, isKeyboardDismissDisabled, isOpen, defaultOpen, shouldCloseOnInteractOutside, ...props }: ModalOverlayProps): import("react/jsx-runtime").JSX.Element;
3
+ export default function Modal({ children, ...props }: ModalOverlayProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { ModalOverlayProps } from "react-aria-components";
2
+ import "./ModalOverlay.css";
3
+ export default function ModalOverlay({ ...props }: ModalOverlayProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { default } from "./ModalOverlay";
2
+ export type { ModalOverlayProps } from "react-aria-components";
package/dist/index.d.ts CHANGED
@@ -161,7 +161,7 @@ interface InlineAlertProps extends React.PropsWithChildren {
161
161
  }
162
162
  declare function InlineAlert({ variant, title, description, isIconHidden, isCloseable, role, buttons, children, onClose, ...props }: InlineAlertProps): react_jsx_runtime.JSX.Element;
163
163
 
164
- declare function Modal({ children, isDismissable, isKeyboardDismissDisabled, isOpen, defaultOpen, shouldCloseOnInteractOutside, ...props }: ModalOverlayProps): react_jsx_runtime.JSX.Element;
164
+ declare function Modal({ children, ...props }: ModalOverlayProps): react_jsx_runtime.JSX.Element;
165
165
 
166
166
  declare function Radio({ value, children, ...props }: RadioProps): react_jsx_runtime.JSX.Element;
167
167
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bcgov/design-system-react-components",
3
- "version": "0.2.4-rc2",
3
+ "version": "0.2.4-rc3",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "rollup": "rm -rf dist && rollup -c --bundleConfigAsCjs",