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

codice

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codice - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

dist/index.d.mts

6

dist/index.d.ts

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

import React from 'react';
import * as react from 'react';
declare function Editor({ title, value, onChange, highlight, ...props }: {
declare const Editor: react.ForwardRefExoticComponent<{
title?: string;

@@ -8,4 +8,4 @@ value?: string;

highlight?: (code: string) => string;
} & React.HTMLAttributes<HTMLDivElement>): JSX.Element;
} & react.HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
export { Editor };
{
"name": "codice",
"version": "0.1.0",
"version": "0.2.0",
"type": "module",

@@ -24,10 +24,11 @@ "exports": "./dist/index.mjs",

"@types/react": "^18.0.33",
"bunchee": "^3.0.1",
"bunchee": "^3.7.2",
"codice": "link:./",
"next": "^13.2.3",
"next": "13.4.20-canary.27",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sugar-high": "^0.4.6",
"sugar-high": "^0.5.2",
"typescript": "^5.0.4"
}
},
"packageManager": "pnpm@7.24.3"
}

@@ -49,3 +49,2 @@ # Codice

- `--editor-background-color`: The background color of the editor.
- `--editor-control-color`: The color of the editor controls.

@@ -58,3 +57,2 @@ For example, you can set the following CSS in your application:

--editor-background-color: #f5f5f5;
--editor-control-color: #ccc;
}

@@ -65,4 +63,12 @@ ```

### CSS Class Names
- `editor-controls__control`: The class name for the controls in the editor.
- `editor-controls__control--close`: The class name for the close button.
- `editor-controls__control--minimize`: The class name for the minimize button.
- `editor-controls__control--maximize`: The class name for the maximize button.
### License
Codice is released under the MIT License. For more details, see the LICENSE file included in this repository.

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