@fluentui/react-overflow 0.0.0-nightly-20220512-0418.1 → 0.0.0-nightly-20220517-0418.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. package/CHANGELOG.json +17 -17
  2. package/CHANGELOG.md +9 -9
  3. package/{lib → dist}/tsdoc-metadata.json +0 -0
  4. package/package.json +7 -7
  5. package/lib/components/Overflow.d.ts +0 -14
  6. package/lib/components/OverflowItem/OverflowItem.d.ts +0 -7
  7. package/lib/components/OverflowItem/OverflowItem.types.d.ts +0 -22
  8. package/lib/components/OverflowItem/index.d.ts +0 -2
  9. package/lib/constants.d.ts +0 -3
  10. package/lib/index.d.ts +0 -12
  11. package/lib/overflowContext.d.ts +0 -11
  12. package/lib/types.d.ts +0 -16
  13. package/lib/useIsOverflowGroupVisible.d.ts +0 -6
  14. package/lib/useIsOverflowItemVisible.d.ts +0 -5
  15. package/lib/useOverflowContainer.d.ts +0 -10
  16. package/lib/useOverflowCount.d.ts +0 -4
  17. package/lib/useOverflowItem.d.ts +0 -9
  18. package/lib/useOverflowMenu.d.ts +0 -6
  19. package/lib-commonjs/components/Overflow.d.ts +0 -14
  20. package/lib-commonjs/components/OverflowItem/OverflowItem.d.ts +0 -7
  21. package/lib-commonjs/components/OverflowItem/OverflowItem.types.d.ts +0 -22
  22. package/lib-commonjs/components/OverflowItem/index.d.ts +0 -2
  23. package/lib-commonjs/constants.d.ts +0 -3
  24. package/lib-commonjs/index.d.ts +0 -12
  25. package/lib-commonjs/overflowContext.d.ts +0 -11
  26. package/lib-commonjs/types.d.ts +0 -16
  27. package/lib-commonjs/useIsOverflowGroupVisible.d.ts +0 -6
  28. package/lib-commonjs/useIsOverflowItemVisible.d.ts +0 -5
  29. package/lib-commonjs/useOverflowContainer.d.ts +0 -10
  30. package/lib-commonjs/useOverflowCount.d.ts +0 -4
  31. package/lib-commonjs/useOverflowItem.d.ts +0 -9
  32. package/lib-commonjs/useOverflowMenu.d.ts +0 -6
package/CHANGELOG.json CHANGED
@@ -2,46 +2,46 @@
2
2
  "name": "@fluentui/react-overflow",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 12 May 2022 04:32:28 GMT",
6
- "tag": "@fluentui/react-overflow_v0.0.0-nightly-20220512-0418.1",
7
- "version": "0.0.0-nightly-20220512-0418.1",
5
+ "date": "Tue, 17 May 2022 04:31:18 GMT",
6
+ "tag": "@fluentui/react-overflow_v0.0.0-nightly-20220517-0418.1",
7
+ "version": "0.0.0-nightly-20220517-0418.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
- {
11
- "author": "email not defined",
12
- "package": "@fluentui/react-overflow",
13
- "commit": "not available",
14
- "comment": "Release nightly v9"
15
- },
16
10
  {
17
11
  "author": "lingfangao@hotmail.com",
18
12
  "package": "@fluentui/react-overflow",
19
13
  "commit": "4ae08d6ecf85ac29593ddc2abb23f8a073711b38",
20
14
  "comment": "feat: Initial beta release"
21
15
  },
16
+ {
17
+ "author": "olfedias@microsoft.com",
18
+ "package": "@fluentui/react-overflow",
19
+ "commit": "f120fe9160ad7311a87af0cfacd8d2fb26275e34",
20
+ "comment": "chore: Update Griffel to latest version"
21
+ },
22
22
  {
23
23
  "author": "beachball",
24
24
  "package": "@fluentui/react-overflow",
25
- "comment": "Bump @fluentui/priority-overflow to v0.0.0-nightly-20220512-0418.1",
26
- "commit": "ed0dd6a9e40d9cfe7e3e822d726d109c935c8d42"
25
+ "comment": "Bump @fluentui/priority-overflow to v0.0.0-nightly-20220517-0418.1",
26
+ "commit": "f95f6684cb226074554f5279075ff446d8397b6b"
27
27
  },
28
28
  {
29
29
  "author": "beachball",
30
30
  "package": "@fluentui/react-overflow",
31
- "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly-20220512-0418.1",
32
- "commit": "ed0dd6a9e40d9cfe7e3e822d726d109c935c8d42"
31
+ "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly-20220517-0418.1",
32
+ "commit": "f95f6684cb226074554f5279075ff446d8397b6b"
33
33
  },
34
34
  {
35
35
  "author": "beachball",
36
36
  "package": "@fluentui/react-overflow",
37
- "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20220512-0418.1",
38
- "commit": "ed0dd6a9e40d9cfe7e3e822d726d109c935c8d42"
37
+ "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20220517-0418.1",
38
+ "commit": "f95f6684cb226074554f5279075ff446d8397b6b"
39
39
  },
40
40
  {
41
41
  "author": "beachball",
42
42
  "package": "@fluentui/react-overflow",
43
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20220512-0418.1",
44
- "commit": "ed0dd6a9e40d9cfe7e3e822d726d109c935c8d42"
43
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20220517-0418.1",
44
+ "commit": "f95f6684cb226074554f5279075ff446d8397b6b"
45
45
  }
46
46
  ]
47
47
  }
package/CHANGELOG.md CHANGED
@@ -1,22 +1,22 @@
1
1
  # Change Log - @fluentui/react-overflow
2
2
 
3
- This log was last generated on Thu, 12 May 2022 04:32:28 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 17 May 2022 04:31:18 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20220512-0418.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-overflow_v0.0.0-nightly-20220512-0418.1)
7
+ ## [0.0.0-nightly-20220517-0418.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-overflow_v0.0.0-nightly-20220517-0418.1)
8
8
 
9
- Thu, 12 May 2022 04:32:28 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-overflow_v9.0.0-alpha.0..@fluentui/react-overflow_v0.0.0-nightly-20220512-0418.1)
9
+ Tue, 17 May 2022 04:31:18 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-overflow_v9.0.0-alpha.0..@fluentui/react-overflow_v0.0.0-nightly-20220517-0418.1)
11
11
 
12
12
  ### Changes
13
13
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by email not defined)
15
14
  - feat: Initial beta release ([PR #22913](https://github.com/microsoft/fluentui/pull/22913) by lingfangao@hotmail.com)
16
- - Bump @fluentui/priority-overflow to v0.0.0-nightly-20220512-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/ed0dd6a9e40d9cfe7e3e822d726d109c935c8d42) by beachball)
17
- - Bump @fluentui/react-context-selector to v0.0.0-nightly-20220512-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/ed0dd6a9e40d9cfe7e3e822d726d109c935c8d42) by beachball)
18
- - Bump @fluentui/react-theme to v0.0.0-nightly-20220512-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/ed0dd6a9e40d9cfe7e3e822d726d109c935c8d42) by beachball)
19
- - Bump @fluentui/react-utilities to v0.0.0-nightly-20220512-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/ed0dd6a9e40d9cfe7e3e822d726d109c935c8d42) by beachball)
15
+ - chore: Update Griffel to latest version ([PR #22894](https://github.com/microsoft/fluentui/pull/22894) by olfedias@microsoft.com)
16
+ - Bump @fluentui/priority-overflow to v0.0.0-nightly-20220517-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/f95f6684cb226074554f5279075ff446d8397b6b) by beachball)
17
+ - Bump @fluentui/react-context-selector to v0.0.0-nightly-20220517-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/f95f6684cb226074554f5279075ff446d8397b6b) by beachball)
18
+ - Bump @fluentui/react-theme to v0.0.0-nightly-20220517-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/f95f6684cb226074554f5279075ff446d8397b6b) by beachball)
19
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20220517-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/f95f6684cb226074554f5279075ff446d8397b6b) by beachball)
20
20
 
21
21
  ## [9.0.0-alpha.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-overflow_v9.0.0-alpha.0)
22
22
 
File without changes
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@fluentui/react-overflow",
3
- "version": "0.0.0-nightly-20220512-0418.1",
3
+ "version": "0.0.0-nightly-20220517-0418.1",
4
4
  "description": "React bindings for @fluentui/priority-overflow",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
7
- "typings": "lib/index.d.ts",
7
+ "typings": "dist/index.d.ts",
8
8
  "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
@@ -30,11 +30,11 @@
30
30
  "@fluentui/scripts": "^1.0.0"
31
31
  },
32
32
  "dependencies": {
33
- "@fluentui/priority-overflow": "^0.0.0-nightly-20220512-0418.1",
34
- "@fluentui/react-context-selector": "0.0.0-nightly-20220512-0418.1",
35
- "@fluentui/react-theme": "0.0.0-nightly-20220512-0418.1",
36
- "@fluentui/react-utilities": "0.0.0-nightly-20220512-0418.1",
37
- "@griffel/react": "1.0.3",
33
+ "@fluentui/priority-overflow": "^0.0.0-nightly-20220517-0418.1",
34
+ "@fluentui/react-context-selector": "0.0.0-nightly-20220517-0418.1",
35
+ "@fluentui/react-theme": "0.0.0-nightly-20220517-0418.1",
36
+ "@fluentui/react-utilities": "0.0.0-nightly-20220517-0418.1",
37
+ "@griffel/react": "1.0.4",
38
38
  "tslib": "^2.1.0"
39
39
  },
40
40
  "peerDependencies": {
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- import type { ObserveOptions } from '@fluentui/priority-overflow';
3
- /**
4
- * Overflow Props
5
- */
6
- export declare type OverflowProps = Partial<Pick<ObserveOptions, 'overflowAxis' | 'overflowDirection' | 'padding' | 'minimumVisible'>> & {
7
- children: React.ReactElement;
8
- };
9
- /**
10
- * Provides an OverflowContext for OverflowItem descendants.
11
- */
12
- export declare const Overflow: React.ForwardRefExoticComponent<Partial<Pick<ObserveOptions, "padding" | "overflowDirection" | "overflowAxis" | "minimumVisible">> & {
13
- children: React.ReactElement;
14
- } & React.RefAttributes<unknown>>;
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- import { OverflowItemProps } from './OverflowItem.types';
3
- /**
4
- * Attaches overflow item behavior to its child registered with the OverflowContext.
5
- * It does not render an element of its own.
6
- */
7
- export declare const OverflowItem: React.ForwardRefExoticComponent<OverflowItemProps & React.RefAttributes<unknown>>;
@@ -1,22 +0,0 @@
1
- import * as React from 'react';
2
- /**
3
- * OverflowItemProps
4
- */
5
- export declare type OverflowItemProps = {
6
- /**
7
- * The unique identifier for the item used by the overflow manager.
8
- */
9
- id: string;
10
- /**
11
- * Assigns the item to a group, group visibility can be watched.
12
- */
13
- groupId?: string;
14
- /**
15
- * A higher priority means the item overflows later.
16
- */
17
- priority?: number;
18
- /**
19
- * The single child that has overflow item behavior attached.
20
- */
21
- children: React.ReactElement;
22
- };
@@ -1,2 +0,0 @@
1
- export type { OverflowItemProps } from './OverflowItem.types';
2
- export { OverflowItem } from './OverflowItem';
@@ -1,3 +0,0 @@
1
- export declare const DATA_OVERFLOWING = "data-overflowing";
2
- export declare const DATA_OVERFLOW_ITEM = "data-overflow-item";
3
- export declare const DATA_OVERFLOW_MENU = "data-overflow-menu";
package/lib/index.d.ts DELETED
@@ -1,12 +0,0 @@
1
- export { Overflow } from './components/Overflow';
2
- export type { OverflowProps } from './components/Overflow';
3
- export { DATA_OVERFLOWING, DATA_OVERFLOW_ITEM, DATA_OVERFLOW_MENU } from './constants';
4
- export type { UseOverflowContainerReturn } from './types';
5
- export { useIsOverflowGroupVisible } from './useIsOverflowGroupVisible';
6
- export { useIsOverflowItemVisible } from './useIsOverflowItemVisible';
7
- export { updateVisibilityAttribute, useOverflowContainer } from './useOverflowContainer';
8
- export { useOverflowCount } from './useOverflowCount';
9
- export { useOverflowItem } from './useOverflowItem';
10
- export { useOverflowMenu } from './useOverflowMenu';
11
- export type { OverflowItemProps } from './components/OverflowItem/OverflowItem.types';
12
- export { OverflowItem } from './components/OverflowItem/OverflowItem';
@@ -1,11 +0,0 @@
1
- import type { OverflowGroupState, OverflowItemEntry } from '@fluentui/priority-overflow';
2
- import { ContextSelector } from '@fluentui/react-context-selector';
3
- export interface OverflowContextValue {
4
- itemVisibility: Record<string, boolean>;
5
- groupVisibility: Record<string, OverflowGroupState>;
6
- hasOverflow: boolean;
7
- registerItem: (item: OverflowItemEntry) => () => void;
8
- updateOverflow: (padding?: number) => void;
9
- }
10
- export declare const OverflowContext: import("@fluentui/react-context-selector").Context<OverflowContextValue>;
11
- export declare const useOverflowContext: <SelectedValue>(selector: ContextSelector<OverflowContextValue, SelectedValue>) => SelectedValue;
package/lib/types.d.ts DELETED
@@ -1,16 +0,0 @@
1
- import * as React from 'react';
2
- import { OverflowContextValue } from './overflowContext';
3
- export interface UseOverflowContainerReturn<TElement extends HTMLElement> {
4
- /**
5
- * Ref to apply to the container that will overflow
6
- */
7
- containerRef: React.RefObject<TElement>;
8
- /**
9
- * Registers and overflow item
10
- */
11
- registerItem: OverflowContextValue['registerItem'];
12
- /**
13
- * Imperative function to trigger overflow update
14
- */
15
- updateOverflow: OverflowContextValue['updateOverflow'];
16
- }
@@ -1,6 +0,0 @@
1
- import { OverflowGroupState } from '@fluentui/priority-overflow';
2
- /**
3
- * @param id - unique identifier for a group of overflow items
4
- * @returns visibility state of the group
5
- */
6
- export declare function useIsOverflowGroupVisible(id: string): OverflowGroupState;
@@ -1,5 +0,0 @@
1
- /**
2
- * @param id - unique identifier for the item used by the overflow manager
3
- * @returns visibility state of an overflow item
4
- */
5
- export declare function useIsOverflowItemVisible(id: string): boolean;
@@ -1,10 +0,0 @@
1
- import type { OnUpdateItemVisibility, OnUpdateOverflow, ObserveOptions } from '@fluentui/priority-overflow';
2
- import { UseOverflowContainerReturn } from './types';
3
- /**
4
- *
5
- * @param update - Callback when overflow state changes
6
- * @param options - Options to configure the overflow container
7
- * @returns - ref to attach to an intrinsic HTML element and imperative functions
8
- */
9
- export declare const useOverflowContainer: <TElement extends HTMLElement>(update: OnUpdateOverflow, options: Omit<ObserveOptions, 'onUpdateOverflow'>) => UseOverflowContainerReturn<TElement>;
10
- export declare const updateVisibilityAttribute: OnUpdateItemVisibility;
@@ -1,4 +0,0 @@
1
- /**
2
- * @returns Number of items that are overflowing
3
- */
4
- export declare const useOverflowCount: () => number;
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
- /**
3
- * Registers an overflow item
4
- * @param id - unique identifier for the item used by the overflow manager
5
- * @param priority - higher priority means the item overflows later
6
- * @param groupId - assigns the item to a group, group visibility can be watched
7
- * @returns ref to assign to an intrinsic HTML element
8
- */
9
- export declare function useOverflowItem<TElement extends HTMLElement>(id: string, priority?: number, groupId?: string): React.RefObject<TElement>;
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- export declare function useOverflowMenu<TElement extends HTMLElement>(id?: string): {
3
- ref: React.RefObject<TElement>;
4
- overflowCount: number;
5
- isOverflowing: boolean;
6
- };
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- import type { ObserveOptions } from '@fluentui/priority-overflow';
3
- /**
4
- * Overflow Props
5
- */
6
- export declare type OverflowProps = Partial<Pick<ObserveOptions, 'overflowAxis' | 'overflowDirection' | 'padding' | 'minimumVisible'>> & {
7
- children: React.ReactElement;
8
- };
9
- /**
10
- * Provides an OverflowContext for OverflowItem descendants.
11
- */
12
- export declare const Overflow: React.ForwardRefExoticComponent<Partial<Pick<ObserveOptions, "padding" | "overflowDirection" | "overflowAxis" | "minimumVisible">> & {
13
- children: React.ReactElement;
14
- } & React.RefAttributes<unknown>>;
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- import { OverflowItemProps } from './OverflowItem.types';
3
- /**
4
- * Attaches overflow item behavior to its child registered with the OverflowContext.
5
- * It does not render an element of its own.
6
- */
7
- export declare const OverflowItem: React.ForwardRefExoticComponent<OverflowItemProps & React.RefAttributes<unknown>>;
@@ -1,22 +0,0 @@
1
- import * as React from 'react';
2
- /**
3
- * OverflowItemProps
4
- */
5
- export declare type OverflowItemProps = {
6
- /**
7
- * The unique identifier for the item used by the overflow manager.
8
- */
9
- id: string;
10
- /**
11
- * Assigns the item to a group, group visibility can be watched.
12
- */
13
- groupId?: string;
14
- /**
15
- * A higher priority means the item overflows later.
16
- */
17
- priority?: number;
18
- /**
19
- * The single child that has overflow item behavior attached.
20
- */
21
- children: React.ReactElement;
22
- };
@@ -1,2 +0,0 @@
1
- export type { OverflowItemProps } from './OverflowItem.types';
2
- export { OverflowItem } from './OverflowItem';
@@ -1,3 +0,0 @@
1
- export declare const DATA_OVERFLOWING = "data-overflowing";
2
- export declare const DATA_OVERFLOW_ITEM = "data-overflow-item";
3
- export declare const DATA_OVERFLOW_MENU = "data-overflow-menu";
@@ -1,12 +0,0 @@
1
- export { Overflow } from './components/Overflow';
2
- export type { OverflowProps } from './components/Overflow';
3
- export { DATA_OVERFLOWING, DATA_OVERFLOW_ITEM, DATA_OVERFLOW_MENU } from './constants';
4
- export type { UseOverflowContainerReturn } from './types';
5
- export { useIsOverflowGroupVisible } from './useIsOverflowGroupVisible';
6
- export { useIsOverflowItemVisible } from './useIsOverflowItemVisible';
7
- export { updateVisibilityAttribute, useOverflowContainer } from './useOverflowContainer';
8
- export { useOverflowCount } from './useOverflowCount';
9
- export { useOverflowItem } from './useOverflowItem';
10
- export { useOverflowMenu } from './useOverflowMenu';
11
- export type { OverflowItemProps } from './components/OverflowItem/OverflowItem.types';
12
- export { OverflowItem } from './components/OverflowItem/OverflowItem';
@@ -1,11 +0,0 @@
1
- import type { OverflowGroupState, OverflowItemEntry } from '@fluentui/priority-overflow';
2
- import { ContextSelector } from '@fluentui/react-context-selector';
3
- export interface OverflowContextValue {
4
- itemVisibility: Record<string, boolean>;
5
- groupVisibility: Record<string, OverflowGroupState>;
6
- hasOverflow: boolean;
7
- registerItem: (item: OverflowItemEntry) => () => void;
8
- updateOverflow: (padding?: number) => void;
9
- }
10
- export declare const OverflowContext: import("@fluentui/react-context-selector").Context<OverflowContextValue>;
11
- export declare const useOverflowContext: <SelectedValue>(selector: ContextSelector<OverflowContextValue, SelectedValue>) => SelectedValue;
@@ -1,16 +0,0 @@
1
- import * as React from 'react';
2
- import { OverflowContextValue } from './overflowContext';
3
- export interface UseOverflowContainerReturn<TElement extends HTMLElement> {
4
- /**
5
- * Ref to apply to the container that will overflow
6
- */
7
- containerRef: React.RefObject<TElement>;
8
- /**
9
- * Registers and overflow item
10
- */
11
- registerItem: OverflowContextValue['registerItem'];
12
- /**
13
- * Imperative function to trigger overflow update
14
- */
15
- updateOverflow: OverflowContextValue['updateOverflow'];
16
- }
@@ -1,6 +0,0 @@
1
- import { OverflowGroupState } from '@fluentui/priority-overflow';
2
- /**
3
- * @param id - unique identifier for a group of overflow items
4
- * @returns visibility state of the group
5
- */
6
- export declare function useIsOverflowGroupVisible(id: string): OverflowGroupState;
@@ -1,5 +0,0 @@
1
- /**
2
- * @param id - unique identifier for the item used by the overflow manager
3
- * @returns visibility state of an overflow item
4
- */
5
- export declare function useIsOverflowItemVisible(id: string): boolean;
@@ -1,10 +0,0 @@
1
- import type { OnUpdateItemVisibility, OnUpdateOverflow, ObserveOptions } from '@fluentui/priority-overflow';
2
- import { UseOverflowContainerReturn } from './types';
3
- /**
4
- *
5
- * @param update - Callback when overflow state changes
6
- * @param options - Options to configure the overflow container
7
- * @returns - ref to attach to an intrinsic HTML element and imperative functions
8
- */
9
- export declare const useOverflowContainer: <TElement extends HTMLElement>(update: OnUpdateOverflow, options: Omit<ObserveOptions, 'onUpdateOverflow'>) => UseOverflowContainerReturn<TElement>;
10
- export declare const updateVisibilityAttribute: OnUpdateItemVisibility;
@@ -1,4 +0,0 @@
1
- /**
2
- * @returns Number of items that are overflowing
3
- */
4
- export declare const useOverflowCount: () => number;
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
- /**
3
- * Registers an overflow item
4
- * @param id - unique identifier for the item used by the overflow manager
5
- * @param priority - higher priority means the item overflows later
6
- * @param groupId - assigns the item to a group, group visibility can be watched
7
- * @returns ref to assign to an intrinsic HTML element
8
- */
9
- export declare function useOverflowItem<TElement extends HTMLElement>(id: string, priority?: number, groupId?: string): React.RefObject<TElement>;
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- export declare function useOverflowMenu<TElement extends HTMLElement>(id?: string): {
3
- ref: React.RefObject<TElement>;
4
- overflowCount: number;
5
- isOverflowing: boolean;
6
- };