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

@julo-ui/provider

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@julo-ui/provider - npm Package Compare versions

Comparing version 0.0.1-alpha.7 to 0.0.1-alpha.8

LICENSE

3

dist/index.d.ts

@@ -5,3 +5,4 @@ export { ThemeProvider, useTheme } from './theme-provider/ThemeProvider.js';

export { default as JuloProvider } from './julo-provider/JuloProvider.js';
import '@julo-ui/react';
import 'react/jsx-runtime';
import '@julo-ui/system';
import '@emotion/react';

@@ -8,0 +9,0 @@ import './theme-provider/foundations/index.js';

export { default as JuloProvider, default } from './JuloProvider.js';
import 'react/jsx-runtime';
import './types.js';
import '../theme-provider/types.js';
import '@emotion/react';
import '@julo-ui/react';
import '@julo-ui/system';
import '../theme-provider/foundations/index.js';

@@ -7,0 +8,0 @@ import '../theme-provider/foundations/colors.js';

@@ -0,5 +1,6 @@

import * as react_jsx_runtime from 'react/jsx-runtime';
import { JuloProviderProps } from './types.js';
import '../theme-provider/types.js';
import '@emotion/react';
import '@julo-ui/react';
import '@julo-ui/system';
import '../theme-provider/foundations/index.js';

@@ -10,4 +11,4 @@ import '../theme-provider/foundations/colors.js';

declare const JuloProvider: (props: JuloProviderProps) => JSX.Element;
declare const JuloProvider: (props: JuloProviderProps) => react_jsx_runtime.JSX.Element;
export { JuloProvider as default };
import { ThemeProviderProps } from '../theme-provider/types.js';
import '@emotion/react';
import '@julo-ui/react';
import '@julo-ui/system';
import '../theme-provider/foundations/index.js';

@@ -12,4 +12,4 @@ import '../theme-provider/foundations/colors.js';

*/
declare type JuloProviderProps = ThemeProviderProps;
type JuloProviderProps = ThemeProviderProps;
export { JuloProviderProps };
export { ThemeProvider, useTheme } from './ThemeProvider.js';
export { extendsTheme } from './utils.js';
export { Colors, FontSizes, LineHeights, Theme, ThemeProviderProps, UseThemeReturn } from './types.js';
import '@julo-ui/react';
import 'react/jsx-runtime';
import '@julo-ui/system';
import '@emotion/react';

@@ -6,0 +7,0 @@ import './foundations/index.js';

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

import * as react_jsx_runtime from 'react/jsx-runtime';
import { Theme } from '../types.js';
import '@emotion/react';
import '@julo-ui/react';
import '@julo-ui/system';
import '../foundations/index.js';

@@ -9,4 +10,4 @@ import '../foundations/colors.js';

declare const GlobalStyle: (theme: Theme) => JSX.Element;
declare const GlobalStyle: (theme: Theme) => react_jsx_runtime.JSX.Element;
export { GlobalStyle as default };
import * as _emotion_react from '@emotion/react';
import { Theme } from '../types.js';
import '@julo-ui/react';
import '@julo-ui/system';
import '../foundations/index.js';

@@ -5,0 +5,0 @@ import '../foundations/colors.js';

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

import { Dict } from '@julo-ui/react';
import * as react_jsx_runtime from 'react/jsx-runtime';
import { Dict } from '@julo-ui/system';
import { ThemeProviderProps, UseThemeReturn } from './types.js';

@@ -9,5 +10,5 @@ import '@emotion/react';

declare const ThemeProvider: (props: ThemeProviderProps) => JSX.Element;
declare const useTheme: <T extends object = Dict<any>>() => UseThemeReturn;
declare const ThemeProvider: (props: ThemeProviderProps) => react_jsx_runtime.JSX.Element;
declare const useTheme: <T extends object = Dict>() => UseThemeReturn;
export { ThemeProvider, useTheme };
import { ThemeProviderProps as ThemeProviderProps$1 } from '@emotion/react';
import { Dict } from '@julo-ui/react';
import { Dict } from '@julo-ui/system';
import { DEFAULT_THEME } from './foundations/index.js';

@@ -8,11 +8,11 @@ import './foundations/colors.js';

declare type Key = number | string;
declare type Colors = Record<Key, Record<Key, string>>;
declare type FontSizes = Record<Key, string>;
declare type LineHeights = Record<Key, string>;
declare type Shadows = Record<Key, string>;
type Key = number | string;
type Colors = Record<Key, Record<Key, string>>;
type FontSizes = Record<Key, string>;
type LineHeights = Record<Key, string>;
type Shadows = Record<Key, string>;
interface ThemeProviderProps extends Omit<ThemeProviderProps$1, 'theme'> {
theme?: Dict;
}
declare type Theme = typeof DEFAULT_THEME | Dict;
type Theme = typeof DEFAULT_THEME | Dict;
interface UseThemeReturn {

@@ -19,0 +19,0 @@ colors: Colors | Theme['colors'];

import { Colors, Theme } from './types.js';
import '@emotion/react';
import '@julo-ui/react';
import '@julo-ui/system';
import './foundations/index.js';

@@ -16,5 +16,5 @@ import './foundations/colors.js';

}
declare type CallbackTheme = (defaultTheme: Theme) => CallBackThemeReturn;
type CallbackTheme = (defaultTheme: Theme) => CallBackThemeReturn;
declare const extendsTheme: (theme: Theme | CallbackTheme) => Theme;
export { extendsTheme, generateColorsCssVar, generateCommonCssVar };
{
"name": "@julo-ui/provider",
"version": "0.0.1-alpha.7",
"version": "0.0.1-alpha.8",
"description": "Providers for Julo UI and component agnostic JuloProvider",

@@ -25,7 +25,8 @@ "main": "dist/index.js",

"dependencies": {
"@julo-ui/context": "0.0.4",
"@julo-ui/context": "0.0.5",
"@julo-ui/function-utils": "0.0.2"
},
"devDependencies": {
"@emotion/react": "^11.10.6"
"@emotion/react": "^11.10.6",
"@julo-ui/system": "0.0.1-alpha.8"
},

@@ -32,0 +33,0 @@ "peerDependencies": {

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