@festo-ui/react
Advanced tools
Comparing version 1.2.0 to 2.0.0-pre-20211004.3
@@ -9,4 +9,5 @@ /// <reference types="react" /> | ||
showPopOver?: boolean; | ||
disabled?: boolean; | ||
} | ||
declare function ColorIndicator({ text, label, color, className, showPopOver, children }: ColorIndicatorProps): JSX.Element; | ||
declare function ColorIndicator({ text, label, color, className, showPopOver, children, disabled }: ColorIndicatorProps): JSX.Element; | ||
export default ColorIndicator; |
@@ -19,3 +19,3 @@ /// <reference types="react" /> | ||
} | ||
export declare function DateRangePicker({ children, className, disabled, error, formatDate, hint, onChange, options, required, defaultValue, }: DateRangePickerProps): JSX.Element; | ||
export declare function DateRangePicker({ children, className, disabled, error, formatDate, hint, onChange, options, required, defaultValue }: DateRangePickerProps): JSX.Element; | ||
export default DateRangePicker; |
@@ -8,2 +8,3 @@ import React from 'react'; | ||
readonly?: boolean; | ||
onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void; | ||
onFocus?: (event: React.FocusEvent<HTMLTextAreaElement>) => void; | ||
@@ -15,7 +16,8 @@ onInput?: (event: React.FormEvent<HTMLTextAreaElement>) => void; | ||
error?: string; | ||
value: string; | ||
value?: string; | ||
defaultValue?: string; | ||
rows?: number; | ||
maxLength: number; | ||
} | ||
declare function TextArea({ disabled, onBlur, onFocus, onInput, readonly, required, label, error, hint, value, rows, maxLength, className, }: TextAreaProps): JSX.Element; | ||
declare function TextArea({ disabled, onBlur, onChange, onFocus, onInput, readonly, required, label, error, hint, value, rows, maxLength, className, defaultValue }: TextAreaProps): JSX.Element; | ||
export default TextArea; |
{ | ||
"name": "@festo-ui/react", | ||
"version": "1.2.0", | ||
"version": "2.0.0-pre-20211004.3", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "react": "^16.14.0", |
@@ -1,7 +0,16 @@ | ||
# react | ||
# FESTO UI | ||
This library was generated with [Nx](https://nx.dev). | ||
## React Component Library | ||
## Running unit tests | ||
### Installation | ||
Run `nx test react` to execute the unit tests via [Jest](https://jestjs.io). | ||
To install Festo React, run: | ||
`npm install @festo-ui/react @festo-ui/web-essentials` | ||
### Stylesheets | ||
```js | ||
/* The following lines should be included in your src/index.js or App.js file*/ | ||
import '@festo-ui/web-essentials/dist/css/festo-web-essentials.min.css'; | ||
import '@festo-ui/react/react.esm.css'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
379748
11784
17
2