Socket
Socket
Sign inDemoInstall

datocms-react-ui

Package Overview
Dependencies
107
Maintainers
6
Versions
108
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.8.2 to 1.0.0-alpha.0

3

dist/cjs/Canvas/index.js

@@ -540,4 +540,3 @@ "use strict";

(0, react_1.useEffect)(function () {
if (!['renderPage', 'renderItemFormSidebar'].includes(mode) &&
!noAutoResizer) {
if (mode !== 'renderPage' && !noAutoResizer) {
var ctxWithAutoResizer_1 = ctx;

@@ -544,0 +543,0 @@ ctxWithAutoResizer_1.startAutoResizer();

@@ -94,11 +94,2 @@ "use strict";

* />
* <TextareaField
* required
* name="longText"
* id="longText"
* label="Long text"
* value="Lorem ipsum dolor sit amet, consectetur adipiscing elit.."
* hint="Enter some text"
* onChange={(newValue) => console.log(newValue)}
* />
* <SelectField

@@ -105,0 +96,0 @@ * name="option"

@@ -38,4 +38,2 @@ "use strict";

__exportStar(require("./TextInput"), exports);
__exportStar(require("./TextareaField"), exports);
__exportStar(require("./TextareaInput"), exports);
__exportStar(require("./Toolbar"), exports);

@@ -42,0 +40,0 @@ __exportStar(require("./useClickOutside"), exports);

@@ -510,4 +510,3 @@ import React, { createContext, useContext, useEffect } from 'react';

useEffect(function () {
if (!['renderPage', 'renderItemFormSidebar'].includes(mode) &&
!noAutoResizer) {
if (mode !== 'renderPage' && !noAutoResizer) {
var ctxWithAutoResizer_1 = ctx;

@@ -514,0 +513,0 @@ ctxWithAutoResizer_1.startAutoResizer();

@@ -48,11 +48,2 @@ import { CSSProperties, FormEventHandler, ReactNode } from 'react';

* />
* <TextareaField
* required
* name="longText"
* id="longText"
* label="Long text"
* value="Lorem ipsum dolor sit amet, consectetur adipiscing elit.."
* hint="Enter some text"
* onChange={(newValue) => console.log(newValue)}
* />
* <SelectField

@@ -59,0 +50,0 @@ * name="option"

@@ -65,11 +65,2 @@ var __assign = (this && this.__assign) || function () {

* />
* <TextareaField
* required
* name="longText"
* id="longText"
* label="Long text"
* value="Lorem ipsum dolor sit amet, consectetur adipiscing elit.."
* hint="Enter some text"
* onChange={(newValue) => console.log(newValue)}
* />
* <SelectField

@@ -76,0 +67,0 @@ * name="option"

@@ -22,6 +22,4 @@ export * from './Button';

export * from './TextInput';
export * from './TextareaField';
export * from './TextareaInput';
export * from './Toolbar';
export * from './useClickOutside';
export * from './useMediaQuery';

@@ -22,4 +22,2 @@ export * from './Button';

export * from './TextInput';
export * from './TextareaField';
export * from './TextareaInput';
export * from './Toolbar';

@@ -26,0 +24,0 @@ export * from './useClickOutside';

@@ -48,11 +48,2 @@ import { CSSProperties, FormEventHandler, ReactNode } from 'react';

* />
* <TextareaField
* required
* name="longText"
* id="longText"
* label="Long text"
* value="Lorem ipsum dolor sit amet, consectetur adipiscing elit.."
* hint="Enter some text"
* onChange={(newValue) => console.log(newValue)}
* />
* <SelectField

@@ -59,0 +50,0 @@ * name="option"

@@ -22,6 +22,4 @@ export * from './Button';

export * from './TextInput';
export * from './TextareaField';
export * from './TextareaInput';
export * from './Toolbar';
export * from './useClickOutside';
export * from './useMediaQuery';
{
"name": "datocms-react-ui",
"version": "0.8.2",
"version": "1.0.0-alpha.0",
"description": "React components to use inside DatoCMS plugins",

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

"classnames": "^2.3.1",
"datocms-plugin-sdk": "^0.8.2",
"datocms-plugin-sdk": "^1.0.0-alpha.0",
"react-intersection-observer": "^8.31.0",

@@ -61,3 +61,3 @@ "react-select": "^5.2.1",

},
"gitHead": "cd9036995eefda50300a5226e7511ee7f3377cd0"
"gitHead": "74ff8038ad9bf79faf6118b7c3450b9fcb032564"
}

@@ -22,6 +22,4 @@ export * from './Button';

export * from './TextInput';
export * from './TextareaField';
export * from './TextareaInput';
export * from './Toolbar';
export * from './useClickOutside';
export * from './useMediaQuery';

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

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 too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc