@mantine/core
Advanced tools
Comparing version 0.4.11 to 0.4.12
@@ -6,2 +6,3 @@ export * from "../../mantine-theme/src"; | ||
export { Badge } from './Badge/Badge'; | ||
export { Breadcrumbs } from './Breadcrumbs/Breadcrumbs'; | ||
export { Burger } from './Burger/Burger'; | ||
@@ -30,3 +31,4 @@ export { Button, LinkButton, MantineButton } from './Button/Button'; | ||
export { Table } from './Table/Table'; | ||
export { Text } from './Text/Text'; | ||
export { Tabs, Tab } from './Tabs/Tabs'; | ||
export { Anchor, Text } from './Text/Text'; | ||
export { Textarea } from './Textarea/Textarea'; | ||
@@ -33,0 +35,0 @@ export { TextInput } from './TextInput/TextInput'; |
@@ -19,2 +19,6 @@ import React from 'react'; | ||
} | ||
export declare function Anchor(props: TextProps & React.ComponentPropsWithoutRef<'a'>): JSX.Element; | ||
export declare namespace Anchor { | ||
var displayName: string; | ||
} | ||
//# sourceMappingURL=Text.d.ts.map |
import React from 'react'; | ||
export declare function itSupportsRef(Component: React.ElementType, requiredProps: Record<string, any>, refType: any): void; | ||
export declare function itSupportsRef(Component: React.ElementType, requiredProps: Record<string, any>, refType: any, refProp?: string): void; | ||
//# sourceMappingURL=it-supports-ref.d.ts.map |
import { MantineTheme } from '../../types'; | ||
export declare function getFocusStyles(theme: MantineTheme): { | ||
outline: number; | ||
'&:focus': { | ||
@@ -4,0 +5,0 @@ boxShadow: string; |
{ | ||
"name": "@mantine/core", | ||
"version": "0.4.11", | ||
"version": "0.4.12", | ||
"main": "dist/lib.js", | ||
"licence": "MIT", | ||
"license": "MIT", | ||
"types": "dist/mantine-core/src/index.d.ts", | ||
@@ -10,4 +10,3 @@ "author": "Vitaly Rtishchev <rtivital@gmail.com>", | ||
"peerDependencies": { | ||
"@mantine/hooks": "0.4.11", | ||
"@modulz/radix-icons": ">=4.0.0", | ||
"@mantine/hooks": "0.4.12", | ||
"react": ">=16.8.0", | ||
@@ -17,4 +16,12 @@ "react-dom": ">=16.8.0", | ||
}, | ||
"dependencies": {}, | ||
"dependencies": { | ||
"@charlietango/use-focus-trap": "^1.3.0", | ||
"@modulz/radix-icons": "^4.0.0", | ||
"clsx": "^1.1.1", | ||
"open-color": "^1.8.0", | ||
"react-textarea-autosize": "^8.3.0", | ||
"react-transition-group": "^4.4.1", | ||
"nanoid": "^3.1.20" | ||
}, | ||
"devDependencies": {} | ||
} |
@@ -20,6 +20,6 @@ # Mantine | ||
# With yarn | ||
yarn add @mantine/core @mantine/hooks react-jss @modulz/radix-icons | ||
yarn add @mantine/core @mantine/hooks react-jss | ||
# With npm | ||
yarn add @mantine/core @mantine/hooks react-jss @modulz/radix-icons | ||
yarn add @mantine/core @mantine/hooks react-jss | ||
@@ -26,0 +26,0 @@ # With install-peerdeps |
@@ -46,3 +46,2 @@ import { createUseStyles } from 'react-jss'; | ||
transition: 'color 100ms ease, background-color 100ms ease', | ||
outline: 0, | ||
color: getThemeColor({ theme, color, shade: 6 }), | ||
@@ -49,0 +48,0 @@ |
@@ -29,3 +29,2 @@ import { createUseStyles } from 'react-jss'; | ||
border: 0, | ||
outline: 0, | ||
cursor: 'pointer', | ||
@@ -32,0 +31,0 @@ }), |
@@ -94,3 +94,2 @@ import { createUseStyles } from 'react-jss'; | ||
userSelect: 'none', | ||
outline: 0, | ||
boxSizing: 'border-box', | ||
@@ -97,0 +96,0 @@ textDecoration: 'none', |
@@ -49,3 +49,2 @@ import { createUseStyles } from 'react-jss'; | ||
appearance: 'none', | ||
margin: 0, | ||
backgroundColor: theme.colors.gray[0], | ||
@@ -59,5 +58,4 @@ border: `1px solid ${theme.colors.gray[4]}`, | ||
cursor: 'pointer', | ||
display: 'inline-flex', | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
display: 'block', | ||
margin: 0, | ||
@@ -64,0 +62,0 @@ '&:disabled': { |
@@ -7,2 +7,3 @@ export * from '@mantine/theme'; | ||
export { Badge } from './Badge/Badge'; | ||
export { Breadcrumbs } from './Breadcrumbs/Breadcrumbs'; | ||
export { Burger } from './Burger/Burger'; | ||
@@ -31,3 +32,4 @@ export { Button, LinkButton, MantineButton } from './Button/Button'; | ||
export { Table } from './Table/Table'; | ||
export { Text } from './Text/Text'; | ||
export { Tabs, Tab } from './Tabs/Tabs'; | ||
export { Anchor, Text } from './Text/Text'; | ||
export { Textarea } from './Textarea/Textarea'; | ||
@@ -34,0 +36,0 @@ export { TextInput } from './TextInput/TextInput'; |
@@ -23,3 +23,2 @@ import { createUseStyles } from 'react-jss'; | ||
userSelect: 'none', | ||
outline: 0, | ||
@@ -26,0 +25,0 @@ '&:hover': { |
@@ -72,3 +72,2 @@ import { createUseStyles } from 'react-jss'; | ||
transitionDuration: reduceMotion ? '1ms' : '150ms', | ||
outline: 0, | ||
boxSizing: 'border-box', | ||
@@ -75,0 +74,0 @@ appearance: 'none', |
@@ -20,3 +20,2 @@ import { createUseStyles } from 'react-jss'; | ||
...getFocusStyles(theme), | ||
outline: 0, | ||
color: | ||
@@ -30,4 +29,8 @@ color in theme.colors | ||
lineHeight: theme.lineHeight, | ||
textDecoration: variant === 'link' ? 'underline' : 'none', | ||
textDecoration: 'none', | ||
'&:hover': { | ||
textDecoration: variant === 'link' ? 'underline' : 'none', | ||
}, | ||
}), | ||
}); |
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
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
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
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
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
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
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
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
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
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
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
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
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
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
534
0
0
7963
1
811715
11
+ Added@modulz/radix-icons@^4.0.0
+ Addedclsx@^1.1.1
+ Addednanoid@^3.1.20
+ Addedopen-color@^1.8.0
+ Added@charlietango/use-focus-trap@1.4.0(transitive)
+ Added@mantine/hooks@0.4.12(transitive)
+ Addedclsx@1.2.1(transitive)
+ Addeddom-helpers@5.2.1(transitive)
+ Addednanoid@3.3.7(transitive)
+ Addedopen-color@1.9.1(transitive)
+ Addedreact-textarea-autosize@8.5.3(transitive)
+ Addedreact-transition-group@4.4.5(transitive)
+ Addeduse-composed-ref@1.3.0(transitive)
+ Addeduse-isomorphic-layout-effect@1.1.2(transitive)
+ Addeduse-latest@1.2.1(transitive)
- Removed@mantine/hooks@0.4.11(transitive)