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

@pikas-ui/styles

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pikas-ui/styles - npm Package Compare versions

Comparing version 3.5.14 to 3.5.15

4

dist/index.d.ts

@@ -19,9 +19,9 @@ export { BorderStylesRecord, BorderStylesRecordKey, BorderStylesRecordValue, PikasBorderStyle, PikasBorderStyles, loadBorderStyles, pikasBorderStyles } from './theme/borderStyles.js';

export { useTheme } from './hooks/useTheme.js';
export { PikasUIContext, PikasUIContextProps, PikasUIProvider, PikasUIProviderProps } from './PikasUIProvider/PikasUIProvider.js';
export { PikasUIContext, PikasUIContextProps, PikasUIProvider, PikasUIProviderProps, useTernaryDarkMode } from './PikasUIProvider/PikasUIProvider.js';
export { MediasRecord, MediasRecordKey, MediasRecordValue, PikasMedia, PikasMedias, loadMedias, pikasMedias } from './medias.js';
export { PikasCSS, PikasConfig, config, createTheme, css, getCssText, globalCss, keyframes, pikasConfig, prefix, reset, styled, theme } from './css.js';
export { darkTheme } from './dark_theme.js';
export { useTernaryDarkMode } from 'usehooks-ts';
import '@stitches/react/types/config';
import 'react';
import 'usehooks-ts';
import '@stitches/react/types/theme.js';

@@ -28,0 +28,0 @@ import '@stitches/react/types/css.js';

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

export { PikasUIContext, PikasUIContextProps, PikasUIProvider, PikasUIProviderProps } from './PikasUIProvider.js';
export { useTernaryDarkMode } from 'usehooks-ts';
export { PikasUIContext, PikasUIContextProps, PikasUIProvider, PikasUIProviderProps, useTernaryDarkMode } from './PikasUIProvider.js';
import 'react';

@@ -13,1 +12,2 @@ import '../css.js';

import '@stitches/react';
import 'usehooks-ts';
import * as react from 'react';
import { ReactNode, FC } from 'react';
import { createTheme, theme } from '../css.js';
export { useTernaryDarkMode } from 'usehooks-ts';
import * as usehooks from 'usehooks-ts';
import '@stitches/react/types/theme.js';

@@ -14,2 +14,4 @@ import '@stitches/react/types/css.js';

declare const useTernaryDarkMode: typeof usehooks.useTernaryDarkMode;
type PikasUIProviderProps = {

@@ -24,2 +26,2 @@ children?: ReactNode;

export { PikasUIContext, PikasUIContextProps, PikasUIProvider, PikasUIProviderProps };
export { PikasUIContext, PikasUIContextProps, PikasUIProvider, PikasUIProviderProps, useTernaryDarkMode };

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

import{jsx as i}from"react/jsx-runtime";import{createContext as P,useEffect as c,useState as f}from"react";import{styled as y,theme as s}from"../css.js";import a from"lodash.merge";import n from"lodash.clonedeep";import{useTernaryDarkMode as k}from"usehooks-ts";import{useTernaryDarkMode as N}from"usehooks-ts";const u=y("div",{width:"auto",height:"fit-content"}),x=P(void 0),T=({lightTheme:e,darkTheme:t,children:p})=>{const[o,m]=f(a(n(s),e)),{isDarkMode:r}=k();return c(()=>{const d=t??e;m(a(n(s),r?d:e))},[r,e,t]),i(x.Provider,{value:o,children:i(u,{className:o,children:p})})};export{x as PikasUIContext,T as PikasUIProvider,N as useTernaryDarkMode};
import{jsx as p}from"react/jsx-runtime";import{createContext as P,useEffect as f,useState as k}from"react";import{styled as u,theme as s}from"../css.js";import n from"lodash.merge";import a from"lodash.clonedeep";import*as y from"usehooks-ts";const{useTernaryDarkMode:i}=y,h=u("div",{width:"auto",height:"fit-content"}),x=P(void 0),T=({lightTheme:e,darkTheme:t,children:m})=>{const[o,d]=k(n(a(s),e)),{isDarkMode:r}=i();return f(()=>{const c=t??e;d(n(a(s),r?c:e))},[r,e,t]),p(x.Provider,{value:o,children:p(h,{className:o,children:m})})};export{x as PikasUIContext,T as PikasUIProvider,i as useTernaryDarkMode};
//# sourceMappingURL=PikasUIProvider.js.map
{
"name": "@pikas-ui/styles",
"version": "3.5.14",
"version": "3.5.15",
"private": false,

@@ -5,0 +5,0 @@ "keywords": [

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