@livetiles/reach-plugin-types 0.5.0-preview.1042 → 0.5.0-preview.1044
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 +6 -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",
|
|
@@ -4203,7 +4203,7 @@ declare module "libs/reach/util/common/src/reach-2/nested-groups/useNestedGroups
|
|
|
4203
4203
|
}
|
|
4204
4204
|
export const useNestedGroupsQuery: () => {
|
|
4205
4205
|
createNestedGroup: (inputGroup: NestedGroupInput) => Promise<NestedGroup>;
|
|
4206
|
-
|
|
4206
|
+
deleteNestedGroup: (groupId: string) => Promise<string>;
|
|
4207
4207
|
loadChildGroups: (parentId: string) => Promise<NestedGroup[]>;
|
|
4208
4208
|
loadRootGroups: () => Promise<NestedGroup[]>;
|
|
4209
4209
|
updateNestedGroup: (inputGroup: NestedGroupInput) => Promise<NestedGroup>;
|
|
@@ -6408,7 +6408,7 @@ declare module "libs/reach/ui/common/src/reach-2/typography/Typography" {
|
|
|
6408
6408
|
readonly subtitle1: "span";
|
|
6409
6409
|
readonly subtitle2: "span";
|
|
6410
6410
|
};
|
|
6411
|
-
export interface ITypographyProps<T extends ElementType = typeof variantMapping['body1']> {
|
|
6411
|
+
export interface ITypographyProps<T extends ElementType = (typeof variantMapping)['body1']> {
|
|
6412
6412
|
/**
|
|
6413
6413
|
* Set the text alignment.
|
|
6414
6414
|
* @default 'inherit'
|
|
@@ -6617,6 +6617,7 @@ declare module "libs/reach/ui/common/src/reach-2/select/Select" {
|
|
|
6617
6617
|
errorItems?: string[];
|
|
6618
6618
|
errorLabel?: string;
|
|
6619
6619
|
forcePlaceholder?: boolean;
|
|
6620
|
+
fullyControlled?: boolean;
|
|
6620
6621
|
hideChevron?: boolean;
|
|
6621
6622
|
leftIcon?: IconProps;
|
|
6622
6623
|
multiple?: boolean;
|
|
@@ -6637,7 +6638,7 @@ declare module "libs/reach/ui/common/src/reach-2/select/Select" {
|
|
|
6637
6638
|
size?: SelectSize;
|
|
6638
6639
|
values?: T[];
|
|
6639
6640
|
}
|
|
6640
|
-
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;
|
|
6641
6642
|
export default Select;
|
|
6642
6643
|
}
|
|
6643
6644
|
declare module "libs/reach/ui/common/src/reach-2/select/UserSelect" {
|