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 2.1.3 to 2.1.4

2

dist/PikasUIProvider/PikasUIProvider.js

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

"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }"use strict";var _react = require('react'); var _react2 = _interopRequireDefault(_react);var _cssjs = require('../css.js');var _lodashmerge = require('lodash.merge'); var _lodashmerge2 = _interopRequireDefault(_lodashmerge);var _lodashclonedeep = require('lodash.clonedeep'); var _lodashclonedeep2 = _interopRequireDefault(_lodashclonedeep);var _usehooksts = require('usehooks-ts');const p=_react.createContext.call(void 0, null),R= exports.PikasUIProvider =({lightTheme:e,darkTheme:t,children:c})=>{const{isDarkMode:d}=_usehooksts.useTernaryDarkMode.call(void 0, ),{isBrowser:m}=_usehooksts.useSsr.call(void 0, ),[l]=_react.useState.call(void 0, _lodashmerge2.default.call(void 0, _lodashclonedeep2.default.call(void 0, _cssjs.theme),e)),[h]=_react.useState.call(void 0, _lodashmerge2.default.call(void 0, _lodashclonedeep2.default.call(void 0, _cssjs.theme),t));return _react2.default.createElement(p.Provider,{value:d?h:l},m?_react2.default.createElement(x,null,c):null)},k=_cssjs.styled.call(void 0, "div",{width:"100%",height:"100%"}),x=({children:e})=>{const t=_react.useContext.call(void 0, p);return _react2.default.createElement(k,{className:t||void 0},e)};exports.PikasUIContext = p; exports.PikasUIProvider = R; exports.useTernaryDarkMode = _usehooksts.useTernaryDarkMode;
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }"use strict";var _react = require('react'); var _react2 = _interopRequireDefault(_react);var _cssjs = require('../css.js');var _lodashmerge = require('lodash.merge'); var _lodashmerge2 = _interopRequireDefault(_lodashmerge);var _lodashclonedeep = require('lodash.clonedeep'); var _lodashclonedeep2 = _interopRequireDefault(_lodashclonedeep);var _usehooksts = require('usehooks-ts');const p=_react.createContext.call(void 0, null),v= exports.PikasUIProvider =({lightTheme:e,darkTheme:t,children:c})=>{const{isDarkMode:d}=_usehooksts.useTernaryDarkMode.call(void 0, ),[m]=_react.useState.call(void 0, _lodashmerge2.default.call(void 0, _lodashclonedeep2.default.call(void 0, _cssjs.theme),e)),[h]=_react.useState.call(void 0, _lodashmerge2.default.call(void 0, _lodashclonedeep2.default.call(void 0, _cssjs.theme),t));return _react2.default.createElement(p.Provider,{value:d?h:m},_react2.default.createElement(u,null,c))},f=_cssjs.styled.call(void 0, "div",{width:"100%",height:"100%"}),u=({children:e})=>{const t=_react.useContext.call(void 0, p);return _react2.default.createElement(f,{className:t||void 0},e)};exports.PikasUIContext = p; exports.PikasUIProvider = v; exports.useTernaryDarkMode = _usehooksts.useTernaryDarkMode;
//# sourceMappingURL=PikasUIProvider.js.map
{
"name": "@pikas-ui/styles",
"version": "2.1.3",
"version": "2.1.4",
"private": false,

@@ -5,0 +5,0 @@ "description": "",

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