@fluentui/react-overflow 0.0.0-nightly-20221115-0423.1 → 0.0.0-nightly-20221118-0422.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 +52 -11
- package/CHANGELOG.md +20 -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": "Fri, 18 Nov 2022 04:30:19 GMT",
|
6
|
+
"tag": "@fluentui/react-overflow_v0.0.0-nightly-20221118-0422.1",
|
7
|
+
"version": "0.0.0-nightly-20221118-0422.1",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
10
|
{
|
@@ -16,26 +16,67 @@
|
|
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-20221118-0422.1",
|
20
|
+
"commit": "57964dd4828d0f5dad5d062b87ec327ab4a22d8a"
|
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-20221118-0422.1",
|
26
|
+
"commit": "57964dd4828d0f5dad5d062b87ec327ab4a22d8a"
|
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-20221118-0422.1",
|
32
|
+
"commit": "57964dd4828d0f5dad5d062b87ec327ab4a22d8a"
|
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-20221118-0422.1",
|
38
|
+
"commit": "57964dd4828d0f5dad5d062b87ec327ab4a22d8a"
|
39
|
+
}
|
40
|
+
]
|
41
|
+
}
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"date": "Thu, 17 Nov 2022 23:05:42 GMT",
|
45
|
+
"tag": "@fluentui/react-overflow_v9.0.0-rc.1",
|
46
|
+
"version": "9.0.0-rc.1",
|
47
|
+
"comments": {
|
48
|
+
"none": [
|
49
|
+
{
|
50
|
+
"author": "martinhochel@microsoft.com",
|
51
|
+
"package": "@fluentui/react-overflow",
|
52
|
+
"commit": "ea768501802d65d63ddc63fff3816fb6b5008ae4",
|
53
|
+
"comment": "chore: update package scaffold"
|
54
|
+
}
|
55
|
+
],
|
56
|
+
"prerelease": [
|
57
|
+
{
|
58
|
+
"author": "lingfangao@hotmail.com",
|
59
|
+
"package": "@fluentui/react-overflow",
|
60
|
+
"commit": "80075557d5f685b21d145de3b538af5e80534feb",
|
61
|
+
"comment": "feat: Bump to RC"
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"author": "beachball",
|
65
|
+
"package": "@fluentui/react-overflow",
|
66
|
+
"comment": "Bump @fluentui/priority-overflow to v9.0.0-rc.1",
|
67
|
+
"commit": "94e156be5d3b5790d82dccf08c32672733fb9335"
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"author": "beachball",
|
71
|
+
"package": "@fluentui/react-overflow",
|
72
|
+
"comment": "Bump @fluentui/react-context-selector to v9.1.2",
|
73
|
+
"commit": "94e156be5d3b5790d82dccf08c32672733fb9335"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"author": "beachball",
|
77
|
+
"package": "@fluentui/react-overflow",
|
78
|
+
"comment": "Bump @fluentui/react-utilities to v9.2.2",
|
79
|
+
"commit": "94e156be5d3b5790d82dccf08c32672733fb9335"
|
39
80
|
}
|
40
81
|
]
|
41
82
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,21 +1,33 @@
|
|
1
1
|
# Change Log - @fluentui/react-overflow
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Fri, 18 Nov 2022 04:30:19 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-20221118-0422.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-overflow_v0.0.0-nightly-20221118-0422.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-overflow_v9.0.0-
|
9
|
+
Fri, 18 Nov 2022 04:30:19 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-overflow_v9.0.0-rc.1..@fluentui/react-overflow_v0.0.0-nightly-20221118-0422.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-20221118-0422.1 ([commit](https://github.com/microsoft/fluentui/commit/57964dd4828d0f5dad5d062b87ec327ab4a22d8a) by beachball)
|
16
|
+
- Bump @fluentui/react-context-selector to v0.0.0-nightly-20221118-0422.1 ([commit](https://github.com/microsoft/fluentui/commit/57964dd4828d0f5dad5d062b87ec327ab4a22d8a) by beachball)
|
17
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly-20221118-0422.1 ([commit](https://github.com/microsoft/fluentui/commit/57964dd4828d0f5dad5d062b87ec327ab4a22d8a) by beachball)
|
18
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly-20221118-0422.1 ([commit](https://github.com/microsoft/fluentui/commit/57964dd4828d0f5dad5d062b87ec327ab4a22d8a) by beachball)
|
19
|
+
|
20
|
+
## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-overflow_v9.0.0-rc.1)
|
21
|
+
|
22
|
+
Thu, 17 Nov 2022 23:05:42 GMT
|
23
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-overflow_v9.0.0-beta.14..@fluentui/react-overflow_v9.0.0-rc.1)
|
24
|
+
|
25
|
+
### Changes
|
26
|
+
|
27
|
+
- feat: Bump to RC ([PR #25659](https://github.com/microsoft/fluentui/pull/25659) by lingfangao@hotmail.com)
|
28
|
+
- Bump @fluentui/priority-overflow to v9.0.0-rc.1 ([PR #25683](https://github.com/microsoft/fluentui/pull/25683) by beachball)
|
29
|
+
- Bump @fluentui/react-context-selector to v9.1.2 ([PR #25683](https://github.com/microsoft/fluentui/pull/25683) by beachball)
|
30
|
+
- Bump @fluentui/react-utilities to v9.2.2 ([PR #25683](https://github.com/microsoft/fluentui/pull/25683) by beachball)
|
19
31
|
|
20
32
|
## [9.0.0-beta.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-overflow_v9.0.0-beta.14)
|
21
33
|
|
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-20221118-0422.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-20221118-0422.1",
|
35
|
+
"@fluentui/react-context-selector": "0.0.0-nightly-20221118-0422.1",
|
36
|
+
"@fluentui/react-theme": "0.0.0-nightly-20221118-0422.1",
|
37
|
+
"@fluentui/react-utilities": "0.0.0-nightly-20221118-0422.1",
|
38
38
|
"@griffel/react": "^1.4.2",
|
39
39
|
"tslib": "^2.1.0"
|
40
40
|
},
|