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

@zydon/common-v2

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zydon/common-v2 - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

dist/components/ThemeProvider/index.d.ts

@@ -1,4 +0,4 @@

import React, { PropsWithChildren } from 'react';
import { ThemeProviderProps } from './props';
import React, { PropsWithChildren } from "react";
import { ThemeProviderProps } from "./props";
declare const ThemeProvider: React.FC<PropsWithChildren<ThemeProviderProps>>;
export default ThemeProvider;

@@ -16,3 +16,3 @@ "use strict";

const typography_1 = __importDefault(require("./typography"));
const ThemeProvider = ({ children, color, direction = 'ltr', themeMode = 'light', }) => {
const ThemeProvider = ({ children, color, direction = "ltr", themeMode = "light", }) => {
const themeOptions = (0, react_1.useMemo)(() => ({

@@ -28,4 +28,4 @@ palette: (0, palette_1.buildPalette)(color),

theme.components = (0, overrides_1.default)(theme);
return ((0, jsx_runtime_1.jsx)(styles_1.StyledEngineProvider, { injectFirst: true, children: (0, jsx_runtime_1.jsxs)(styles_1.ThemeProvider, { theme: theme, children: [(0, jsx_runtime_1.jsx)(material_1.CssBaseline, {}), (0, jsx_runtime_1.jsx)(globalStyles_1.default, {}), children] }) }));
return ((0, jsx_runtime_1.jsxs)(styles_1.ThemeProvider, { theme: theme, children: [(0, jsx_runtime_1.jsx)(material_1.CssBaseline, {}), (0, jsx_runtime_1.jsx)(globalStyles_1.default, {}), children] }));
};
exports.default = ThemeProvider;
{
"name": "@zydon/common-v2",
"version": "1.0.2",
"version": "1.0.3",
"description": "Common resources",

@@ -5,0 +5,0 @@ "main": "index.js",

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