Socket
Socket
Sign inDemoInstall

@mantine/core

Package Overview
Dependencies
Maintainers
1
Versions
379
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mantine/core - npm Package Compare versions

Comparing version 0.4.11 to 0.4.12

dist/src/mantine-core/src/Breadcrumbs/Breadcrumbs.d.ts

4

dist/src/mantine-core/src/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc