@livetiles/reach-plugin-types 0.5.0-preview.1004 → 0.5.0-preview.1006

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 +16 -13
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -6329,16 +6329,32 @@ declare module "libs/reach/ui/common/src/reach-2/inputs/components/Legend" {
6329
6329
  }>;
6330
6330
  export default Legend;
6331
6331
  }
6332
+ declare module "libs/reach/ui/common/src/reach-2/tags/Tag" {
6333
+ import React, { SVGProps } from 'react';
6334
+ interface TagProps {
6335
+ className?: string;
6336
+ error?: boolean;
6337
+ icon?: SVGProps<SVGElement>;
6338
+ label: string;
6339
+ onClick?: () => void;
6340
+ onClose?: () => void;
6341
+ }
6342
+ const Tag: React.FC<TagProps>;
6343
+ export default Tag;
6344
+ }
6332
6345
  declare module "libs/reach/ui/common/src/reach-2/inputs/Input" {
6333
6346
  type InputSize = 'Large' | 'Small';
6334
6347
  export interface IInputProps extends Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, 'onChange' | 'ref' | 'size' | 'value'> {
6335
6348
  error?: boolean;
6349
+ errorSelectedValues?: string[];
6336
6350
  label?: string;
6337
6351
  leftIcon?: JSX.Element;
6338
6352
  legend?: string;
6339
6353
  onChange?: (value: string) => void;
6354
+ onSelectedValuesChange?: (selectedValues: string[]) => void;
6340
6355
  readonly?: boolean;
6341
6356
  rightIcon?: JSX.Element;
6357
+ selectedValues?: string[];
6342
6358
  size?: InputSize;
6343
6359
  value: string;
6344
6360
  }
@@ -6430,19 +6446,6 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/BasePopover" {
6430
6446
  }
6431
6447
  export const BasePopover: FC<BasePopoverProps>;
6432
6448
  }
6433
- declare module "libs/reach/ui/common/src/reach-2/tags/Tag" {
6434
- import React, { SVGProps } from 'react';
6435
- interface TagProps {
6436
- className?: string;
6437
- error?: boolean;
6438
- icon?: SVGProps<SVGElement>;
6439
- label: string;
6440
- onClick?: () => void;
6441
- onClose?: () => void;
6442
- }
6443
- const Tag: React.FC<TagProps>;
6444
- export default Tag;
6445
- }
6446
6449
  declare module "libs/reach/ui/common/src/reach-2/select/Select" {
6447
6450
  export interface SelectItemProps {
6448
6451
  id: string;
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.1004",
7
+ "version": "0.5.0-preview.1006",
8
8
  "dependencies": {}
9
9
  }