datocms-react-ui
Advanced tools
Comparing version 1.0.0-alpha.0 to 1.0.0-alpha.1
@@ -540,3 +540,4 @@ "use strict"; | ||
(0, react_1.useEffect)(function () { | ||
if (mode !== 'renderPage' && !noAutoResizer) { | ||
if (!['renderPage', 'renderItemFormSidebar'].includes(mode) && | ||
!noAutoResizer) { | ||
var ctxWithAutoResizer_1 = ctx; | ||
@@ -543,0 +544,0 @@ ctxWithAutoResizer_1.startAutoResizer(); |
@@ -94,2 +94,11 @@ "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 | ||
@@ -96,0 +105,0 @@ * name="option" |
@@ -38,2 +38,4 @@ "use strict"; | ||
__exportStar(require("./TextInput"), exports); | ||
__exportStar(require("./TextareaField"), exports); | ||
__exportStar(require("./TextareaInput"), exports); | ||
__exportStar(require("./Toolbar"), exports); | ||
@@ -40,0 +42,0 @@ __exportStar(require("./useClickOutside"), exports); |
@@ -510,3 +510,4 @@ import React, { createContext, useContext, useEffect } from 'react'; | ||
useEffect(function () { | ||
if (mode !== 'renderPage' && !noAutoResizer) { | ||
if (!['renderPage', 'renderItemFormSidebar'].includes(mode) && | ||
!noAutoResizer) { | ||
var ctxWithAutoResizer_1 = ctx; | ||
@@ -513,0 +514,0 @@ ctxWithAutoResizer_1.startAutoResizer(); |
@@ -48,2 +48,11 @@ 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 | ||
@@ -50,0 +59,0 @@ * name="option" |
@@ -65,2 +65,11 @@ 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 | ||
@@ -67,0 +76,0 @@ * name="option" |
@@ -22,4 +22,6 @@ export * from './Button'; | ||
export * from './TextInput'; | ||
export * from './TextareaField'; | ||
export * from './TextareaInput'; | ||
export * from './Toolbar'; | ||
export * from './useClickOutside'; | ||
export * from './useMediaQuery'; |
@@ -22,2 +22,4 @@ export * from './Button'; | ||
export * from './TextInput'; | ||
export * from './TextareaField'; | ||
export * from './TextareaInput'; | ||
export * from './Toolbar'; | ||
@@ -24,0 +26,0 @@ export * from './useClickOutside'; |
@@ -48,2 +48,11 @@ 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 | ||
@@ -50,0 +59,0 @@ * name="option" |
@@ -22,4 +22,6 @@ 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": "1.0.0-alpha.0", | ||
"version": "1.0.0-alpha.1", | ||
"description": "React components to use inside DatoCMS plugins", | ||
@@ -44,3 +44,3 @@ "keywords": [ | ||
"classnames": "^2.3.1", | ||
"datocms-plugin-sdk": "^1.0.0-alpha.0", | ||
"datocms-plugin-sdk": "^1.0.0-alpha.1", | ||
"react-intersection-observer": "^8.31.0", | ||
@@ -61,3 +61,3 @@ "react-select": "^5.2.1", | ||
}, | ||
"gitHead": "74ff8038ad9bf79faf6118b7c3450b9fcb032564" | ||
"gitHead": "a523642c7188862c8431027e51ab479945dde5dd" | ||
} |
@@ -22,4 +22,6 @@ 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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1036648
414
31025
4