@livetiles/reach-plugin-types 0.5.0-preview.1016 → 0.5.0-preview.1019

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 +31 -3
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -3130,6 +3130,12 @@ declare module "libs/reach/util/common/src/theme/theme2/colors" {
3130
3130
  };
3131
3131
  primary: "#EBE9E8";
3132
3132
  secondary: "#FFFFFF";
3133
+ tag: {
3134
+ closeButtonHover: "#D7D2D1";
3135
+ closeButtonPressed: "#C2BCB9";
3136
+ closeButtonErrorHover: "#FBCECA";
3137
+ closeButtonErrorPressed: "#F2A7A1";
3138
+ };
3133
3139
  tertiary: "#F5F4F3";
3134
3140
  };
3135
3141
  export const feedbackColors: {
@@ -3334,6 +3340,12 @@ declare module "libs/reach/util/common/src/theme/theme2/index" {
3334
3340
  };
3335
3341
  primary: "#EBE9E8";
3336
3342
  secondary: "#FFFFFF";
3343
+ tag: {
3344
+ closeButtonHover: "#D7D2D1";
3345
+ closeButtonPressed: "#C2BCB9";
3346
+ closeButtonErrorHover: "#FBCECA";
3347
+ closeButtonErrorPressed: "#F2A7A1";
3348
+ };
3337
3349
  tertiary: "#F5F4F3";
3338
3350
  };
3339
3351
  feedback: {
@@ -3543,6 +3555,12 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
3543
3555
  };
3544
3556
  primary: "#EBE9E8";
3545
3557
  secondary: "#FFFFFF";
3558
+ tag: {
3559
+ closeButtonHover: "#D7D2D1";
3560
+ closeButtonPressed: "#C2BCB9";
3561
+ closeButtonErrorHover: "#FBCECA";
3562
+ closeButtonErrorPressed: "#F2A7A1";
3563
+ };
3546
3564
  tertiary: "#F5F4F3";
3547
3565
  };
3548
3566
  feedback: {
@@ -5968,7 +5986,7 @@ declare module "libs/reach/ui/common/src/reach-2/avatar/index" {
5968
5986
  }
5969
5987
  declare module "libs/reach/ui/common/src/reach-2/icons/Icon" {
5970
5988
  import { FC, SVGProps } from 'react';
5971
- interface IconProps {
5989
+ export interface IconProps {
5972
5990
  className?: string;
5973
5991
  defaultSVG: SVGProps<SVGElement>;
5974
5992
  hoveredSVG?: SVGProps<SVGElement>;
@@ -6076,6 +6094,7 @@ declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
6076
6094
  export { ReactComponent as StarIcon } from './assets/star.svg';
6077
6095
  export { ReactComponent as SubtitleActiveIcon } from './assets/subtitle-active.svg';
6078
6096
  export { ReactComponent as SubtitleIcon } from './assets/subtitle.svg';
6097
+ export { ReactComponent as TagIcon } from './assets/tag.svg';
6079
6098
  export { ReactComponent as TemplatesActiveIcon } from './assets/templates-active.svg';
6080
6099
  export { ReactComponent as TemplatesIcon } from './assets/templates.svg';
6081
6100
  export { ReactComponent as TitleActiveIcon } from './assets/title-active.svg';
@@ -6088,6 +6107,7 @@ declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
6088
6107
  }
6089
6108
  declare module "libs/reach/ui/common/src/reach-2/icons/index" {
6090
6109
  export { default as Icon } from "libs/reach/ui/common/src/reach-2/icons/Icon";
6110
+ export type { IconProps } from "libs/reach/ui/common/src/reach-2/icons/Icon";
6091
6111
  export * from "libs/reach/ui/common/src/reach-2/icons/Icons";
6092
6112
  }
6093
6113
  declare module "libs/reach/ui/common/src/reach-2/progress/Skeleton" {
@@ -6460,6 +6480,7 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/BasePopover" {
6460
6480
  export const BasePopover: FC<BasePopoverProps>;
6461
6481
  }
6462
6482
  declare module "libs/reach/ui/common/src/reach-2/select/Select" {
6483
+ import { IconProps } from "libs/reach/ui/common/src/reach-2/icons/index";
6463
6484
  export interface SelectItemProps {
6464
6485
  id: string;
6465
6486
  label: string;
@@ -6475,6 +6496,9 @@ declare module "libs/reach/ui/common/src/reach-2/select/Select" {
6475
6496
  emptyLabel?: string;
6476
6497
  errorItems?: string[];
6477
6498
  errorLabel?: string;
6499
+ forcePlaceholder?: boolean;
6500
+ hideChevron?: boolean;
6501
+ leftIcon?: IconProps;
6478
6502
  multiple?: boolean;
6479
6503
  onAddItem?: (id: string) => void;
6480
6504
  onInputChange?: (value: string) => void;
@@ -6482,12 +6506,16 @@ declare module "libs/reach/ui/common/src/reach-2/select/Select" {
6482
6506
  onRemoveItem?: (id: string) => void;
6483
6507
  options: T[] | SelectItemGroupProps<T>[];
6484
6508
  placeholder?: string;
6509
+ popoverHeight?: number;
6485
6510
  renderItem?: (item: T, isSelected: boolean, onSelect: () => void) => JSX.Element;
6486
6511
  searchable?: boolean;
6487
- showSelectedItems?: boolean;
6512
+ selectedValuesOptions?: {
6513
+ hide?: boolean;
6514
+ noWrap?: boolean;
6515
+ };
6488
6516
  values?: T[];
6489
6517
  }
6490
- const Select: <T extends SelectItemProps = SelectItemProps>({ allowCreation, className, disabled, emptyLabel, errorItems, errorLabel, multiple, onAddItem, onInputChange, onItemsChange, onRemoveItem, options: preprocessedOptions, placeholder, renderItem, searchable, showSelectedItems, values, }: SelectProps<T>) => JSX.Element;
6518
+ const Select: <T extends SelectItemProps = SelectItemProps>({ allowCreation, className, disabled, emptyLabel, errorItems, errorLabel, forcePlaceholder, hideChevron, leftIcon, multiple, onAddItem, onInputChange, onItemsChange, onRemoveItem, options: preprocessedOptions, placeholder, popoverHeight, renderItem, searchable, selectedValuesOptions, values, }: SelectProps<T>) => JSX.Element;
6491
6519
  export default Select;
6492
6520
  }
6493
6521
  declare module "libs/reach/ui/common/src/reach-2/select/UserSelect" {
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.1016",
7
+ "version": "0.5.0-preview.1019",
8
8
  "dependencies": {}
9
9
  }