@livetiles/reach-plugin-types 0.5.0-preview.1041 → 0.5.0-preview.1043
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.
- package/lib/index.d.ts +7 -5
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -4151,8 +4151,8 @@ declare module "libs/reach/util/common/src/reach-2/GlobalStyles" {
|
|
|
4151
4151
|
}
|
|
4152
4152
|
declare module "libs/reach/util/common/src/reach-2/members/IMember" {
|
|
4153
4153
|
export enum Role {
|
|
4154
|
-
Member = "
|
|
4155
|
-
Owner = "
|
|
4154
|
+
Member = "MEMBER",
|
|
4155
|
+
Owner = "OWNER"
|
|
4156
4156
|
}
|
|
4157
4157
|
export enum SortOrder {
|
|
4158
4158
|
ASC = "ASC",
|
|
@@ -4191,12 +4191,13 @@ declare module "libs/reach/util/common/src/reach-2/members/useMembersQuery" {
|
|
|
4191
4191
|
};
|
|
4192
4192
|
}
|
|
4193
4193
|
declare module "libs/reach/util/common/src/reach-2/nested-groups/useNestedGroupsQuery" {
|
|
4194
|
-
import { NestedGroup } from "libs/reach/util/common/src/user/index";
|
|
4194
|
+
import { GroupRoles, NestedGroup } from "libs/reach/util/common/src/user/index";
|
|
4195
4195
|
export interface NestedGroupInput {
|
|
4196
4196
|
description: string;
|
|
4197
4197
|
id?: string;
|
|
4198
4198
|
name: string;
|
|
4199
4199
|
users: {
|
|
4200
|
+
role: GroupRoles;
|
|
4200
4201
|
userId: string;
|
|
4201
4202
|
}[];
|
|
4202
4203
|
}
|
|
@@ -6407,7 +6408,7 @@ declare module "libs/reach/ui/common/src/reach-2/typography/Typography" {
|
|
|
6407
6408
|
readonly subtitle1: "span";
|
|
6408
6409
|
readonly subtitle2: "span";
|
|
6409
6410
|
};
|
|
6410
|
-
export interface ITypographyProps<T extends ElementType = typeof variantMapping['body1']> {
|
|
6411
|
+
export interface ITypographyProps<T extends ElementType = (typeof variantMapping)['body1']> {
|
|
6411
6412
|
/**
|
|
6412
6413
|
* Set the text alignment.
|
|
6413
6414
|
* @default 'inherit'
|
|
@@ -6616,6 +6617,7 @@ declare module "libs/reach/ui/common/src/reach-2/select/Select" {
|
|
|
6616
6617
|
errorItems?: string[];
|
|
6617
6618
|
errorLabel?: string;
|
|
6618
6619
|
forcePlaceholder?: boolean;
|
|
6620
|
+
fullyControlled?: boolean;
|
|
6619
6621
|
hideChevron?: boolean;
|
|
6620
6622
|
leftIcon?: IconProps;
|
|
6621
6623
|
multiple?: boolean;
|
|
@@ -6636,7 +6638,7 @@ declare module "libs/reach/ui/common/src/reach-2/select/Select" {
|
|
|
6636
6638
|
size?: SelectSize;
|
|
6637
6639
|
values?: T[];
|
|
6638
6640
|
}
|
|
6639
|
-
const Select: <T extends SelectItemProps = SelectItemProps>({ allowCreation, className, disabled, emptyLabel, errorItems, errorLabel, forcePlaceholder, hideChevron, leftIcon, multiple, onAddItem, onInputChange, onItemsChange, onItemSelected, onRemoveItem, options: preprocessedOptions, placeholder, popoverHeight, renderItem, searchable, selectedValuesOptions, size, values, }: SelectProps<T>) => JSX.Element;
|
|
6641
|
+
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;
|
|
6640
6642
|
export default Select;
|
|
6641
6643
|
}
|
|
6642
6644
|
declare module "libs/reach/ui/common/src/reach-2/select/UserSelect" {
|