@fluentui/react-overflow 0.0.0-nightly-20221114-0427.1 → 0.0.0-nightly-20221117-0420.1
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/CHANGELOG.json +11 -11
- package/CHANGELOG.md +8 -8
- package/dist/index.d.ts +25 -3
- package/package.json +5 -5
package/CHANGELOG.json
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
"name": "@fluentui/react-overflow",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
6
|
-
"tag": "@fluentui/react-overflow_v0.0.0-nightly-
|
7
|
-
"version": "0.0.0-nightly-
|
5
|
+
"date": "Thu, 17 Nov 2022 04:26:48 GMT",
|
6
|
+
"tag": "@fluentui/react-overflow_v0.0.0-nightly-20221117-0420.1",
|
7
|
+
"version": "0.0.0-nightly-20221117-0420.1",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
10
|
{
|
@@ -16,26 +16,26 @@
|
|
16
16
|
{
|
17
17
|
"author": "beachball",
|
18
18
|
"package": "@fluentui/react-overflow",
|
19
|
-
"comment": "Bump @fluentui/priority-overflow to v0.0.0-nightly-
|
20
|
-
"commit": "
|
19
|
+
"comment": "Bump @fluentui/priority-overflow to v0.0.0-nightly-20221117-0420.1",
|
20
|
+
"commit": "da504b67960d13c1434ef37a9868f5e2801f9522"
|
21
21
|
},
|
22
22
|
{
|
23
23
|
"author": "beachball",
|
24
24
|
"package": "@fluentui/react-overflow",
|
25
|
-
"comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly-
|
26
|
-
"commit": "
|
25
|
+
"comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly-20221117-0420.1",
|
26
|
+
"commit": "da504b67960d13c1434ef37a9868f5e2801f9522"
|
27
27
|
},
|
28
28
|
{
|
29
29
|
"author": "beachball",
|
30
30
|
"package": "@fluentui/react-overflow",
|
31
|
-
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-
|
32
|
-
"commit": "
|
31
|
+
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20221117-0420.1",
|
32
|
+
"commit": "da504b67960d13c1434ef37a9868f5e2801f9522"
|
33
33
|
},
|
34
34
|
{
|
35
35
|
"author": "beachball",
|
36
36
|
"package": "@fluentui/react-overflow",
|
37
|
-
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-
|
38
|
-
"commit": "
|
37
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20221117-0420.1",
|
38
|
+
"commit": "da504b67960d13c1434ef37a9868f5e2801f9522"
|
39
39
|
}
|
40
40
|
]
|
41
41
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
# Change Log - @fluentui/react-overflow
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Thu, 17 Nov 2022 04:26:48 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-nightly-
|
7
|
+
## [0.0.0-nightly-20221117-0420.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-overflow_v0.0.0-nightly-20221117-0420.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-overflow_v9.0.0-beta.14..@fluentui/react-overflow_v0.0.0-nightly-
|
9
|
+
Thu, 17 Nov 2022 04:26:48 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-overflow_v9.0.0-beta.14..@fluentui/react-overflow_v0.0.0-nightly-20221117-0420.1)
|
11
11
|
|
12
12
|
### Changes
|
13
13
|
|
14
14
|
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
|
15
|
-
- Bump @fluentui/priority-overflow to v0.0.0-nightly-
|
16
|
-
- Bump @fluentui/react-context-selector to v0.0.0-nightly-
|
17
|
-
- Bump @fluentui/react-theme to v0.0.0-nightly-
|
18
|
-
- Bump @fluentui/react-utilities to v0.0.0-nightly-
|
15
|
+
- Bump @fluentui/priority-overflow to v0.0.0-nightly-20221117-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/da504b67960d13c1434ef37a9868f5e2801f9522) by beachball)
|
16
|
+
- Bump @fluentui/react-context-selector to v0.0.0-nightly-20221117-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/da504b67960d13c1434ef37a9868f5e2801f9522) by beachball)
|
17
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly-20221117-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/da504b67960d13c1434ef37a9868f5e2801f9522) by beachball)
|
18
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly-20221117-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/da504b67960d13c1434ef37a9868f5e2801f9522) by beachball)
|
19
19
|
|
20
20
|
## [9.0.0-beta.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-overflow_v9.0.0-beta.14)
|
21
21
|
|
package/dist/index.d.ts
CHANGED
@@ -73,16 +73,38 @@ export declare function useIsOverflowGroupVisible(id: string): OverflowGroupStat
|
|
73
73
|
*/
|
74
74
|
export declare function useIsOverflowItemVisible(id: string): boolean;
|
75
75
|
|
76
|
-
|
76
|
+
/**
|
77
|
+
* @internal
|
78
|
+
* @param update - Callback when overflow state changes
|
79
|
+
* @param options - Options to configure the overflow container
|
80
|
+
* @returns - ref to attach to an intrinsic HTML element and imperative functions
|
81
|
+
*/
|
82
|
+
export declare const useOverflowContainer: <TElement extends HTMLElement>(update: OnUpdateOverflow, options: Omit<ObserveOptions, 'onUpdateOverflow'>) => UseOverflowContainerReturn<TElement>;
|
77
83
|
|
78
|
-
|
84
|
+
/**
|
85
|
+
* @internal
|
86
|
+
*/
|
87
|
+
export declare interface UseOverflowContainerReturn<TElement extends HTMLElement> extends Pick<OverflowContextValue, 'registerItem' | 'updateOverflow' | 'registerOverflowMenu'> {
|
88
|
+
/**
|
89
|
+
* Ref to apply to the container that will overflow
|
90
|
+
*/
|
91
|
+
containerRef: React_2.RefObject<TElement>;
|
92
|
+
}
|
79
93
|
|
80
94
|
/**
|
81
95
|
* @returns Number of items that are overflowing
|
82
96
|
*/
|
83
97
|
export declare const useOverflowCount: () => number;
|
84
98
|
|
85
|
-
|
99
|
+
/**
|
100
|
+
* @internal
|
101
|
+
* Registers an overflow item
|
102
|
+
* @param id - unique identifier for the item used by the overflow manager
|
103
|
+
* @param priority - higher priority means the item overflows later
|
104
|
+
* @param groupId - assigns the item to a group, group visibility can be watched
|
105
|
+
* @returns ref to assign to an intrinsic HTML element
|
106
|
+
*/
|
107
|
+
export declare function useOverflowItem<TElement extends HTMLElement>(id: string, priority?: number, groupId?: string): React_2.RefObject<TElement>;
|
86
108
|
|
87
109
|
export declare function useOverflowMenu<TElement extends HTMLElement>(id?: string): {
|
88
110
|
ref: React_2.RefObject<TElement>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-overflow",
|
3
|
-
"version": "0.0.0-nightly-
|
3
|
+
"version": "0.0.0-nightly-20221117-0420.1",
|
4
4
|
"description": "React bindings for @fluentui/priority-overflow",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -31,10 +31,10 @@
|
|
31
31
|
"@fluentui/scripts": "^1.0.0"
|
32
32
|
},
|
33
33
|
"dependencies": {
|
34
|
-
"@fluentui/priority-overflow": "0.0.0-nightly-
|
35
|
-
"@fluentui/react-context-selector": "0.0.0-nightly-
|
36
|
-
"@fluentui/react-theme": "0.0.0-nightly-
|
37
|
-
"@fluentui/react-utilities": "0.0.0-nightly-
|
34
|
+
"@fluentui/priority-overflow": "0.0.0-nightly-20221117-0420.1",
|
35
|
+
"@fluentui/react-context-selector": "0.0.0-nightly-20221117-0420.1",
|
36
|
+
"@fluentui/react-theme": "0.0.0-nightly-20221117-0420.1",
|
37
|
+
"@fluentui/react-utilities": "0.0.0-nightly-20221117-0420.1",
|
38
38
|
"@griffel/react": "^1.4.2",
|
39
39
|
"tslib": "^2.1.0"
|
40
40
|
},
|