Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ef2/react

Package Overview
Dependencies
Maintainers
3
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ef2/react - npm Package Compare versions

Comparing version 1.0.32 to 1.0.33

6

lib/components/ThemeProvider/index.d.ts
import { PropsWithChildren } from 'react';
import { DeepPartial, Theme } from '../../theme/types';
import { i18n } from 'i18next';
interface ThemeContextValue {
theme: Theme;
lng?: string;
}

@@ -12,6 +10,4 @@ export declare const useThemeContext: () => ThemeContextValue;

theme?: PartialTheme;
i18n?: i18n;
lng?: string;
}
declare const ThemeProvider: ({ theme, lng, i18n, children }: PropsWithChildren<ThemeProviderProps>) => JSX.Element;
declare const ThemeProvider: ({ theme, children }: PropsWithChildren<ThemeProviderProps>) => JSX.Element;
export default ThemeProvider;

@@ -1,2 +0,1 @@

import { ResourceKey } from 'i18next';
import { ElementType } from 'react';

@@ -36,18 +35,2 @@ export declare type Attribute<T = string> = {

}
export interface Resource {
nl: ResourceLanguage;
en: ResourceLanguage;
[language: string]: ResourceLanguage;
}
export interface ResourceLanguage {
input: {
rating: {
rating: string;
star_one: string;
star_other: string;
};
};
common: ResourceKey;
[namespace: string]: ResourceKey;
}
export interface Theme {

@@ -58,3 +41,2 @@ button: Button;

icon: Icon;
localization: Resource;
copyright: Copyright;

@@ -61,0 +43,0 @@ modal: Modal;

{
"name": "@ef2/react",
"version": "1.0.32",
"version": "1.0.33",
"main": "lib/index.js",

@@ -52,5 +52,2 @@ "module": "lib/index.esm.js",

"graphql": "^16.6.0",
"i18next": "^21.10.0",
"i18next-browser-languagedetector": "^6.1.8",
"i18next-http-backend": "^1.4.4",
"lodash-es": "^4.17.21",

@@ -61,3 +58,2 @@ "next": "^12.3.0",

"react-dom": "^18.2.0",
"react-i18next": "^11.18.6",
"react-intersection-observer": "^9.4.0",

@@ -64,0 +60,0 @@ "rollup": "^2.79.0",

import button from './button';
import toggle from './toggle';
import icon from './icon';
import localization from './localization';
import rating from './rating';

@@ -16,3 +15,2 @@ import copyright from './copyright';

rating,
localization,
copyright,

@@ -19,0 +17,0 @@ modal,

@@ -1,2 +0,1 @@

import { ResourceKey } from 'i18next';
import { ElementType } from 'react';

@@ -36,20 +35,2 @@

export interface Resource {
nl: ResourceLanguage;
en: ResourceLanguage;
[language: string]: ResourceLanguage;
}
export interface ResourceLanguage {
input: {
rating: {
rating: string;
star_one: string;
star_other: string;
};
};
common: ResourceKey;
[namespace: string]: ResourceKey;
}
export interface Theme {

@@ -60,3 +41,2 @@ button: Button;

icon: Icon;
localization: Resource;
copyright: Copyright;

@@ -63,0 +43,0 @@ modal: Modal;

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

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