@livetiles/reach-plugin-types 0.5.0-preview.1050 → 0.5.0-preview.1052

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 +13 -3
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -6103,6 +6103,7 @@ declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
6103
6103
  export { ReactComponent as AttachActiveIcon } from './assets/attach-active.svg';
6104
6104
  export { ReactComponent as AttachIcon } from './assets/attach.svg';
6105
6105
  export { ReactComponent as BoldActiveIcon } from './assets/bold-active.svg';
6106
+ export { ReactComponent as BoldIcon } from './assets/bold.svg';
6106
6107
  export { ReactComponent as BulletedListActiveIcon } from './assets/bulletedList-active.svg';
6107
6108
  export { ReactComponent as BulletedListIcon } from './assets/bulletedList.svg';
6108
6109
  export { ReactComponent as CameraActiveIcon } from './assets/camera-active.svg';
@@ -6194,16 +6195,18 @@ declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
6194
6195
  export { ReactComponent as SortDescendingIcon } from './assets/sortDescending.svg';
6195
6196
  export { ReactComponent as StarActiveIcon } from './assets/star-active.svg';
6196
6197
  export { ReactComponent as StarIcon } from './assets/star.svg';
6198
+ export { ReactComponent as StrikeActiveIcon } from './assets/strike-active.svg';
6199
+ export { ReactComponent as StrikeIcon } from './assets/strike.svg';
6197
6200
  export { ReactComponent as SubtitleActiveIcon } from './assets/subtitle-active.svg';
6198
6201
  export { ReactComponent as SubtitleIcon } from './assets/subtitle.svg';
6199
6202
  export { ReactComponent as SystemError } from './assets/system-error.svg';
6200
6203
  export { ReactComponent as SystemSuccess } from './assets/system-success.svg';
6201
6204
  export { ReactComponent as TagIcon } from './assets/tag.svg';
6202
- export { ReactComponent as TemplatesActiveIcon } from './assets/templates-active.svg';
6203
- export { ReactComponent as TemplatesIcon } from './assets/templates.svg';
6204
6205
  export { ReactComponent as TitleActiveIcon } from './assets/title-active.svg';
6205
6206
  export { ReactComponent as TitleIcon } from './assets/title.svg';
6206
6207
  export { ReactComponent as TrashCanIcon } from './assets/trash-can.svg';
6208
+ export { ReactComponent as UnderlineActiveIcon } from './assets/underline-active.svg';
6209
+ export { ReactComponent as UnderlineIcon } from './assets/underline.svg';
6207
6210
  export { ReactComponent as Unchecked } from './assets/unchecked.svg';
6208
6211
  export { ReactComponent as UploadActiveIcon } from './assets/upload-active.svg';
6209
6212
  export { ReactComponent as UploadIcon } from './assets/upload.svg';
@@ -6608,9 +6611,12 @@ declare module "libs/reach/ui/common/src/reach-2/utils" {
6608
6611
  }) => any[];
6609
6612
  }
6610
6613
  declare module "libs/reach/ui/common/src/reach-2/select/Select" {
6614
+ import { SVGProps } from 'react';
6611
6615
  import { IconProps } from "libs/reach/ui/common/src/reach-2/icons/index";
6616
+ import { BasePopoverAlignType } from "libs/reach/ui/common/src/reach-2/surfaces/BasePopover";
6612
6617
  type SelectSize = 'Large' | 'Small';
6613
6618
  export interface SelectItemProps {
6619
+ icon?: SVGProps<SVGElement>;
6614
6620
  id: string;
6615
6621
  label: string;
6616
6622
  }
@@ -6625,6 +6631,7 @@ declare module "libs/reach/ui/common/src/reach-2/select/Select" {
6625
6631
  emptyLabel?: string;
6626
6632
  errorItems?: string[];
6627
6633
  errorLabel?: string;
6634
+ fitToContent?: boolean;
6628
6635
  forcePlaceholder?: boolean;
6629
6636
  fullyControlled?: boolean;
6630
6637
  hideChevron?: boolean;
@@ -6637,7 +6644,10 @@ declare module "libs/reach/ui/common/src/reach-2/select/Select" {
6637
6644
  onRemoveItem?: (id: string) => void;
6638
6645
  options: T[] | SelectItemGroupProps<T>[];
6639
6646
  placeholder?: string;
6647
+ popoverAlign?: BasePopoverAlignType;
6648
+ popoverAlignOffset?: number;
6640
6649
  popoverHeight?: number;
6650
+ popoverWidth?: number;
6641
6651
  renderItem?: (item: T, isSelected: boolean, onSelect: () => void) => JSX.Element;
6642
6652
  searchable?: boolean;
6643
6653
  selectedValuesOptions?: {
@@ -6647,7 +6657,7 @@ declare module "libs/reach/ui/common/src/reach-2/select/Select" {
6647
6657
  size?: SelectSize;
6648
6658
  values?: T[];
6649
6659
  }
6650
- const Select: <T extends SelectItemProps = SelectItemProps>({ allowCreation, className, disabled, emptyLabel, errorItems, errorLabel, forcePlaceholder, fullyControlled, hideChevron, leftIcon, multiple, onAddItem, onInputChange, onItemsChange, onItemSelected, onRemoveItem, options: preprocessedOptions, placeholder, popoverHeight, renderItem, searchable, selectedValuesOptions, size, values, }: SelectProps<T>) => JSX.Element;
6660
+ const Select: <T extends SelectItemProps = SelectItemProps>({ allowCreation, className, disabled, emptyLabel, errorItems, errorLabel, fitToContent, forcePlaceholder, fullyControlled, hideChevron, leftIcon, multiple, onAddItem, onInputChange, onItemsChange, onItemSelected, onRemoveItem, options: preprocessedOptions, placeholder, popoverAlign, popoverAlignOffset, popoverHeight, popoverWidth, renderItem, searchable, selectedValuesOptions, size, values, }: SelectProps<T>) => JSX.Element;
6651
6661
  export default Select;
6652
6662
  }
6653
6663
  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.1050",
7
+ "version": "0.5.0-preview.1052",
8
8
  "dependencies": {}
9
9
  }