@livetiles/reach-plugin-types 0.5.0-preview.1011 → 0.5.0-preview.1013
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 +17 -10
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1581,6 +1581,11 @@ declare module "libs/reach/util/common/src/user/Group" {
|
|
|
1581
1581
|
export interface Group extends GroupSummary {
|
|
1582
1582
|
rules: GroupRules;
|
|
1583
1583
|
statistics: GroupStatistics;
|
|
1584
|
+
users: UserRoleAssignment[];
|
|
1585
|
+
}
|
|
1586
|
+
export interface NestedGroup extends Group {
|
|
1587
|
+
parentId: string;
|
|
1588
|
+
isParent: boolean;
|
|
1584
1589
|
}
|
|
1585
1590
|
export type GroupRules = {
|
|
1586
1591
|
[K in GroupRoleNames]?: GroupRule;
|
|
@@ -4198,6 +4203,13 @@ declare module "libs/reach/util/common/src/reach-2/usePageScrollDirectionForTogg
|
|
|
4198
4203
|
export function usePageScrollDirectionForTogglingControls(disableOnLargeScreen?: boolean, maximumAllowedScreenWidth?: number, upThreshold?: number, downThreshold?: number): boolean;
|
|
4199
4204
|
export function useDirectionAwarePageScrollListener(onScrollDown: () => void, onScrollUp: () => void, shouldDisable?: (containerWidth: number) => boolean, upThreshold?: number, downThreshold?: number): void;
|
|
4200
4205
|
}
|
|
4206
|
+
declare module "libs/reach/util/common/src/reach-2/nested-groups/useNestedGroupsQuery" {
|
|
4207
|
+
import { NestedGroup } from "libs/reach/util/common/src/user/index";
|
|
4208
|
+
export function useNestedGroupsQuery(): {
|
|
4209
|
+
loadRootGroups: () => Promise<NestedGroup[]>;
|
|
4210
|
+
loadChildGroups: (parentId: string) => Promise<NestedGroup[]>;
|
|
4211
|
+
};
|
|
4212
|
+
}
|
|
4201
4213
|
declare module "libs/reach/util/common/src/reach-2/index" {
|
|
4202
4214
|
export * from "libs/reach/util/common/src/reach-2/FocusStyles";
|
|
4203
4215
|
export * from "libs/reach/util/common/src/reach-2/GlobalStyles";
|
|
@@ -4206,6 +4218,7 @@ declare module "libs/reach/util/common/src/reach-2/index" {
|
|
|
4206
4218
|
export * from "libs/reach/util/common/src/reach-2/ThemeContext";
|
|
4207
4219
|
export * from "libs/reach/util/common/src/reach-2/useNewExperienceStorage";
|
|
4208
4220
|
export * from "libs/reach/util/common/src/reach-2/usePageScrollDirectionForTogglingControls";
|
|
4221
|
+
export * from "libs/reach/util/common/src/reach-2/nested-groups/useNestedGroupsQuery";
|
|
4209
4222
|
}
|
|
4210
4223
|
declare module "libs/reach/util/common/src/useReachClassNames" {
|
|
4211
4224
|
export function useReachClassNames(): string;
|
|
@@ -6626,19 +6639,13 @@ declare module "libs/reach/ui/common/src/reach-2/tabs/TabGroup" {
|
|
|
6626
6639
|
}
|
|
6627
6640
|
declare module "libs/reach/ui/common/src/reach-2/table/Table" {
|
|
6628
6641
|
import { TableProps } from 'antd';
|
|
6629
|
-
import { ReactElement } from 'react';
|
|
6630
6642
|
export const columnSortIcon: ({ sortOrder, }: {
|
|
6631
6643
|
sortOrder: 'ascend' | 'descend' | null;
|
|
6632
6644
|
}) => JSX.Element;
|
|
6633
|
-
export const
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
}, e: React.MouseEvent<HTMLElement>) => void;
|
|
6638
|
-
record: {
|
|
6639
|
-
children?: ReactElement[];
|
|
6640
|
-
};
|
|
6641
|
-
}) => JSX.Element;
|
|
6645
|
+
export const TableExpandButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
6646
|
+
$isExpanded?: boolean;
|
|
6647
|
+
}, never>;
|
|
6648
|
+
export const TableExpandIconPlaceholder: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6642
6649
|
const _default_2: import("react").ForwardRefExoticComponent<TableProps<any> & import("react").RefAttributes<any>>;
|
|
6643
6650
|
export default _default_2;
|
|
6644
6651
|
}
|