Socket
Socket
Sign inDemoInstall

@mantine/styles

Package Overview
Dependencies
Maintainers
1
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mantine/styles - npm Package Compare versions

Comparing version 5.10.2 to 5.10.3

6

lib/theme/MantineProvider.d.ts

@@ -10,6 +10,4 @@ import React from 'react';

export declare function useMantineEmotionCache(): EmotionCache;
export declare function useComponentDefaultProps<T extends Record<string, any>, U extends Partial<T> = {}>(component: string, defaultProps: U, props: T): [keyof U] extends [keyof T] ? T : {
[Key in Exclude<keyof T, keyof U>]: T[Key];
} & {
[Key in Extract<keyof T, keyof U>]-?: U[Key] & T[Key];
export declare function useComponentDefaultProps<T extends Record<string, any>, U extends Partial<T> = {}>(component: string, defaultProps: U, props: T): T & {
[Key in Extract<keyof T, keyof U>]-?: U[Key] | NonNullable<T[Key]>;
};

@@ -16,0 +14,0 @@ export interface MantineProviderProps {

{
"name": "@mantine/styles",
"description": "Mantine css-in-js styles engine, based on emotion",
"version": "5.10.2",
"version": "5.10.3",
"main": "cjs/index.js",

@@ -6,0 +6,0 @@ "module": "esm/index.js",

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