@livetiles/reach-plugin-types 0.5.0-preview.982 → 0.5.0-preview.983

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.d.ts +30 -8
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -6316,6 +6316,14 @@ declare module "libs/reach/ui/common/src/reach-2/typography/Typography" {
6316
6316
  const Typography: <T extends ElementType<any> = "span">(props: TTypographyOverridenProps<T>) => JSX.Element;
6317
6317
  export default Typography;
6318
6318
  }
6319
+ declare module "libs/reach/ui/common/src/reach-2/inputs/components/Legend" {
6320
+ import { FC } from 'react';
6321
+ const Legend: FC<{
6322
+ error?: boolean;
6323
+ value?: string;
6324
+ }>;
6325
+ export default Legend;
6326
+ }
6319
6327
  declare module "libs/reach/ui/common/src/reach-2/inputs/Input" {
6320
6328
  type InputSize = 'Large' | 'Small';
6321
6329
  export interface IInputProps extends Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, 'onChange' | 'ref' | 'size' | 'value'> {
@@ -6323,7 +6331,7 @@ declare module "libs/reach/ui/common/src/reach-2/inputs/Input" {
6323
6331
  label?: string;
6324
6332
  leftIcon?: JSX.Element;
6325
6333
  legend?: string;
6326
- onChange: (value: string) => void;
6334
+ onChange?: (value: string) => void;
6327
6335
  readonly?: boolean;
6328
6336
  rightIcon?: JSX.Element;
6329
6337
  size?: InputSize;
@@ -6332,12 +6340,6 @@ declare module "libs/reach/ui/common/src/reach-2/inputs/Input" {
6332
6340
  const _default: import("react").ForwardRefExoticComponent<IInputProps & import("react").RefAttributes<HTMLInputElement>>;
6333
6341
  export default _default;
6334
6342
  }
6335
- declare module "libs/reach/ui/common/src/reach-2/inputs/SearchInput" {
6336
- import { FC } from 'react';
6337
- import { IInputProps } from "libs/reach/ui/common/src/reach-2/inputs/Input";
6338
- const SearchInput: FC<Omit<IInputProps, 'leftIcon' | 'rightIcon'>>;
6339
- export default SearchInput;
6340
- }
6341
6343
  declare module "libs/reach/ui/common/src/reach-2/inputs/OTPInput" {
6342
6344
  import { FC } from 'react';
6343
6345
  interface IOTPInputProps {
@@ -6349,10 +6351,30 @@ declare module "libs/reach/ui/common/src/reach-2/inputs/OTPInput" {
6349
6351
  const OTPInput: FC<IOTPInputProps>;
6350
6352
  export default OTPInput;
6351
6353
  }
6354
+ declare module "libs/reach/ui/common/src/reach-2/inputs/SearchInput" {
6355
+ import { FC } from 'react';
6356
+ import { IInputProps } from "libs/reach/ui/common/src/reach-2/inputs/Input";
6357
+ const SearchInput: FC<Omit<IInputProps, 'leftIcon' | 'rightIcon'>>;
6358
+ export default SearchInput;
6359
+ }
6360
+ declare module "libs/reach/ui/common/src/reach-2/inputs/Textarea" {
6361
+ import { FC } from 'react';
6362
+ export interface IInputProps extends Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, 'onChange' | 'ref' | 'value'> {
6363
+ error?: boolean;
6364
+ label?: string;
6365
+ legend?: string;
6366
+ onChange?: (value: string) => void;
6367
+ readonly?: boolean;
6368
+ value: string;
6369
+ }
6370
+ const Textarea: FC<IInputProps>;
6371
+ export default Textarea;
6372
+ }
6352
6373
  declare module "libs/reach/ui/common/src/reach-2/inputs/index" {
6353
6374
  export { default as Input } from "libs/reach/ui/common/src/reach-2/inputs/Input";
6354
- export { default as SearchInput } from "libs/reach/ui/common/src/reach-2/inputs/SearchInput";
6355
6375
  export { default as OTPInput } from "libs/reach/ui/common/src/reach-2/inputs/OTPInput";
6376
+ export { default as SearchInput } from "libs/reach/ui/common/src/reach-2/inputs/SearchInput";
6377
+ export { default as Textarea } from "libs/reach/ui/common/src/reach-2/inputs/Textarea";
6356
6378
  }
6357
6379
  declare module "libs/reach/ui/common/src/reach-2/lists/MenuItem" {
6358
6380
  import { FC, MouseEvent, SVGProps } from 'react';
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.5.0-preview.982",
7
+ "version": "0.5.0-preview.983",
8
8
  "dependencies": {}
9
9
  }