@mantine/core
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -39,4 +39,6 @@ import React from 'react'; | ||
closeButtonLabel?: string; | ||
/** id base, used to generate ids to connect modal title and body with aria- attributes, defaults to random id */ | ||
id?: string; | ||
} | ||
export declare function Modal({ className, opened, themeOverride, title, onClose, children, hideCloseButton, overlayOpacity, size, transitionDuration, closeButtonLabel, overlayColor, zIndex, overflow, transition, ...others }: ModalProps): JSX.Element; | ||
export declare function Modal({ className, opened, themeOverride, title, onClose, children, hideCloseButton, overlayOpacity, size, transitionDuration, closeButtonLabel, overlayColor, zIndex, overflow, transition, id, ...others }: ModalProps): JSX.Element; | ||
export declare namespace Modal { | ||
@@ -43,0 +45,0 @@ var displayName: string; |
{ | ||
"name": "@mantine/core", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"main": "dist/lib.js", | ||
@@ -10,3 +10,3 @@ "license": "MIT", | ||
"peerDependencies": { | ||
"@mantine/hooks": "1.0.3", | ||
"@mantine/hooks": "1.0.4", | ||
"react": ">=16.8.0", | ||
@@ -13,0 +13,0 @@ "react-dom": ">=16.8.0", |
@@ -15,3 +15,2 @@ import { createUseStyles } from 'react-jss'; | ||
position: 'relative', | ||
overflow: 'hidden', | ||
borderRadius: getSizeValue({ size: radius, sizes: theme.radius }), | ||
@@ -18,0 +17,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1454621
15458