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

@chakra-ui/color-mode

Package Overview
Dependencies
Maintainers
2
Versions
363
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/color-mode - npm Package Compare versions

Comparing version 0.0.0-dev-20230112154520 to 0.0.0-dev-20230718122336

dist/chunk-44OWBZ77.mjs

2

dist/color-mode-context.js

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

'use client'
"use strict";

@@ -48,1 +49,2 @@ var __defProp = Object.defineProperty;

});
//# sourceMappingURL=color-mode-context.js.map

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

'use client'
"use strict";

@@ -256,1 +257,2 @@ var __defProp = Object.defineProperty;

});
//# sourceMappingURL=color-mode-provider.js.map

2

dist/color-mode-script.d.ts

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

declare type ColorModeScriptProps = {
type ColorModeScriptProps = {
type?: "localStorage" | "cookie";

@@ -3,0 +3,0 @@ initialColorMode?: "light" | "dark" | "system";

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

'use client'
"use strict";

@@ -66,1 +67,2 @@ var __defProp = Object.defineProperty;

});
//# sourceMappingURL=color-mode-script.js.map

@@ -1,7 +0,7 @@

declare type ColorMode = "light" | "dark";
declare type ColorModeWithSystem = ColorMode | "system" | undefined;
type ColorMode = "light" | "dark";
type ColorModeWithSystem = ColorMode | "system" | undefined;
/**
* @deprecated use `ColorModeWithSystem` instead
*/
declare type ConfigColorMode = ColorModeWithSystem;
type ConfigColorMode = ColorModeWithSystem;
interface ColorModeOptions {

@@ -8,0 +8,0 @@ initialColorMode?: ColorModeWithSystem;

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

'use client'
"use strict";

@@ -19,1 +20,2 @@ var __defProp = Object.defineProperty;

module.exports = __toCommonJS(color_mode_types_exports);
//# sourceMappingURL=color-mode-types.js.map
import { ColorMode } from './color-mode-types.js';
declare type UtilOptions = {
type UtilOptions = {
preventTransition?: boolean;

@@ -5,0 +5,0 @@ };

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

'use client'
"use strict";

@@ -92,1 +93,2 @@ var __defProp = Object.defineProperty;

});
//# sourceMappingURL=color-mode.utils.js.map

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

'use client'
"use strict";

@@ -326,1 +327,2 @@ var __defProp = Object.defineProperty;

});
//# sourceMappingURL=index.js.map
import { ColorMode } from './color-mode-types.js';
declare const STORAGE_KEY = "chakra-ui-color-mode";
declare type MaybeColorMode = ColorMode | undefined;
type MaybeColorMode = ColorMode | undefined;
interface StorageManager {

@@ -6,0 +6,0 @@ type: "cookie" | "localStorage";

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

'use client'
"use strict";

@@ -86,1 +87,2 @@ var __defProp = Object.defineProperty;

});
//# sourceMappingURL=storage-manager.js.map
{
"name": "@chakra-ui/color-mode",
"version": "0.0.0-dev-20230112154520",
"version": "0.0.0-dev-20230718122336",
"description": "React component and hooks for handling light and dark mode.",

@@ -38,3 +38,3 @@ "keywords": [

"dependencies": {
"@chakra-ui/react-use-safe-layout-effect": "0.0.0-dev-20230112154520"
"@chakra-ui/react-use-safe-layout-effect": "0.0.0-dev-20230718122336"
},

@@ -46,14 +46,6 @@ "peerDependencies": {

"react": "^18.0.0",
"clean-package": "2.1.1",
"@chakra-ui/utils": "0.0.0-dev-20230112154520"
"clean-package": "2.2.0",
"@chakra-ui/utils": "2.0.15"
},
"clean-package": "../../../clean-package.config.json",
"tsup": {
"clean": true,
"target": "es2019",
"format": [
"cjs",
"esm"
]
},
"module": "dist/index.mjs",

@@ -60,0 +52,0 @@ "types": "dist/index.d.ts",

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

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